Yet another CALayer puzzle
Yet another CALayer puzzle
- Subject: Yet another CALayer puzzle
- From: DKJ <email@hidden>
- Date: Wed, 22 Oct 2008 09:48:11 -0700
I've got myView and myController objects in my nib file. myView is an
IBOutlet of myController. I put this in the initWithFrame: method of
myView:
CALayer *rootLayer = [CALayer layer];
[self setLayer:rootLayer];
[self setWantsLayer:YES];
But when I read myView's wantsLayer in the awakeFromNib method of
myController, I find its value is 0. How did the value get changed?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden