• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: removing all sublayers from a layer with fast enumeration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: totally baffled by "odoc" apple event failing on launch
  • Next by Date: Re: problem encoding large float* matrix
  • Previous by thread: Re: Keyword @defs
  • Next by thread: Re: What to subclass in NSArrayController to enable immediate editing of added rows?
  • Index(es):
    • Date
    • Thread