NSImage is also mentioned in the header comment for CALayer's contents property 
as of 10.6. 

-Ken

On Jun 23, 2010, at 7:13 PM, Kyle Sluder <[email protected]> wrote:

> On Wed, Jun 23, 2010 at 7:09 PM, Alexander Heinz
> <[email protected]> wrote:
>> I've been attempting to make sense of Apple's "LightTable" sample code for 
>> Core Animation, and I'm completely lost. Specifically, a couple of calls 
>> appear to be assigning an NSImage to the contents of a CALayer, which, as I 
>> previously understood, (and according to the documentation) should be 
>> impossible.
> 
> See the section "NSImage: CALayer accepts NSImage as contents" in the
> 10.6 AppKit release notes:
> http://developer.apple.com/mac/library/releasenotes/cocoa/appkit.html
> 
> --Kyle Sluder
> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/kenferry%40gmail.com
> 
> This email sent to [email protected]
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to