Re: removing all sublayers from a layer with fast enumeration
Re: removing all sublayers from a layer with fast enumeration
- Subject: Re: removing all sublayers from a layer with fast enumeration
- From: Kyle Sluder <email@hidden>
- Date: Tue, 1 Dec 2009 12:25:32 -0800
On Mon, Nov 30, 2009 at 11:40 AM, Matt Neuburg <email@hidden> wrote:
> NSArray* arr = [NSArray arrayWithArray: myview.layer.sublayers];
I wouldn't be surprised if -[CALayer sublayers] returns some funky KVO
proxy array object that -arrayWithArray: returns unmodified.
--Kyle Sluder
_______________________________________________
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