contentsScale won't matter until you the layer into a window, so why not just assign it when you add the layer as a sublayer?
-- David Duncan @ My iPhone On Jun 16, 2012, at 10:57 PM, Markus Spoettl <ms_li...@shiftoption.com> wrote: > On 6/16/12 11:59 PM, Kyle Sluder wrote: >> That's the same document I was referring to. But it also contains this very >> useful section, titled "Manage Core Animation Layer Contents And Scale": >> https://developer.apple.com/library/mac/#documentation/GraphicsAnimation/Conceptual/HighResolutionOSX/CapturingScreenContents/CapturingScreenContents.html#//apple_ref/doc/uid/TP40012302-CH10-SW27 >> >> Specifically, it looks like you want to implement >> -layer:shouldInheritContentsScale:fromWindow: on your layer delegates. > > I know, see my first message. It's the initialization I'm talking about, this > delegate helps when contentsScale changes. > > Regards > Markus > -- > __________________________________________ > Markus Spoettl > > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/david.duncan%40apple.com > > This email sent to david.dun...@apple.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com