Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.What to do with a NSImageCacheException?
Answer: You need to add exception handlers for NSExceptionMBS in order to catch this exception.
You may also add code to write the stack of the exception into a log file for later locating the error source.

A NSImage has several image representations in memory. So basicly you pass in the base image and for whatever size an image is needed, the NSImage class will create a cache image representation of the requested size so on the next query it can use that cache for the same requested size.

Feedback, Comments & Corrections

The biggest plugin in space...

MBS Xojo blog