blob: d431d863b424a63050c14e6960d8b7101c2ebfc8 [file] [log] [blame]
Name: Apple sample code
Version: unknown
Security Critical: Yes
License: Custom license
Local changes:
* ImageAndTextCell.h: Changed 'image' property to 'retain' mode to fix a crash.
* ImageAndTextCell.m: Moved '@synthesize' to to the top of '@implementation' as
suggested by a clang warning.
* ImageAndTextCell.m: Switched from -[NSImage compositeToPoint:operation:] to
-[NSImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:]
as the former is deprecated and doesn't work properly in
* ImageAndTextCell.m: When compiling against OSX 10.9 SDK or older, add a
typedef for NSCellHitResult. Use NSCellHitResult instead
of NSUInteger in the definition for -[NSImage
hitTestForEvent:inRect:ofView:]. This fixes a warning
when compiling against the OSX 10.10 SDK.