www.delorie.com/gnu/docs/libobjects/libobjects_22.html   search  
 
Buy GNU books!


User's Guide to the GNU Objective-C Class Library

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.1 Safe vs Unsafe Enumerating

The simple enumerators operate on the collection in-place. If the contents of the collection change during the enumeration, you must use the "safe" version of the enumerator instead.

It works by making a shallow copy of the receiver, performing the enumeration using the shallow copy, then freeing the shallow copy.

All enumerators have both "safe" and plain versions.

<<This section unfinished.>>


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 2003   by The Free Software Foundation     Updated Jun 2003  

Please take a moment to fill out this visitor survey
You can help support this site by visiting the advertisers that sponsor it! (only once each, though)