1 Name: Apple sample code
2 URL: http://developer.apple.com/
5 License: Custom license
8 * ImageAndTextCell.h: Changed 'image' property to 'retain' mode to fix a crash.
9 * ImageAndTextCell.m: Moved '@synthesize' to to the top of '@implementation' as
10 suggested by a clang warning.
11 * ImageAndTextCell.m: Switched from -[NSImage compositeToPoint:operation:] to
12 -[NSImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:]
13 as the former is deprecated and doesn't work properly in
15 * ImageAndTextCell.m: When compiling against OSX 10.9 SDK or older, add a
16 typedef for NSCellHitResult. Use NSCellHitResult instead
17 of NSUInteger in the definition for -[NSImage
18 hitTestForEvent:inRect:ofView:]. This fixes a warning
19 when compiling against the OSX 10.10 SDK.