Re: CALayer doesn't resize immediately
Re: CALayer doesn't resize immediately
- Subject: Re: CALayer doesn't resize immediately
- From: Scott Anguish <email@hidden>
- Date: Thu, 8 Nov 2007 17:11:55 -0500
oh, and for this particular technique.
[theLayer.actions setObject:[NSNull null] forKey:@"sublayers"];
discussed here
http://developer.apple.com/documentation/Cocoa/Conceptual/CoreAnimation_guide/Articles/Actions.html#/
/apple_ref/doc/uid/TP40006095
in the doc.
On Nov 8, 2007, at 6:42 AM, Bertrand Landry-Hetu wrote:
The other way I found is to disable the default animation for that
property:
NSDictionary * disabledAnimation = [NSDictionary
dictionaryWithObjectsAndKeys: [NSNull null], @"bounds", [NSNull
null],
@"position", nil];
_______________________________________________
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