• 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: File Extensions Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File Extensions Problem


  • Subject: Re: File Extensions Problem
  • From: Phil <email@hidden>
  • Date: Fri, 22 Aug 2008 21:10:53 +1200

On Fri, Aug 22, 2008 at 7:28 PM, Graham Cox <email@hidden> wrote:
> Or just use reverseObjectEnumerator. Removing the current iteration item
> from the array while iterating backwards is OK.
>

Even going backwards, it's still not ok...

>From the -reverseObjectEnumerator 'special considerations' section of
the documentation:
"When you use this method with mutable subclasses of NSArray, you must
not modify the array during enumeration."

And from NSEnumerator:
"Some enumerators may currently allow enumeration of a collection that
is modified, but this behavior is not guaranteed to be supported in
the future."

Phil
_______________________________________________

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

  • Follow-Ups:
    • Re: File Extensions Problem
      • From: Graham Cox <email@hidden>
References: 
 >File Extensions Problem (From: Adil Saleem <email@hidden>)
 >Re: File Extensions Problem (From: Michael Dautermann <email@hidden>)
 >Re: File Extensions Problem (From: Andrew Merenbach <email@hidden>)
 >Re: File Extensions Problem (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: NSString and special characters
  • Next by Date: Re: NSString and special characters
  • Previous by thread: Re: File Extensions Problem
  • Next by thread: Re: File Extensions Problem
  • Index(es):
    • Date
    • Thread