Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Motivation

Enumerators provide a uniform means of traversing a collection’s underlying data structures. The interface presented by Enumerators is independent of the traversal order and algorithms used for traversal. Enumerators decouple a collection class from code that traverses it. It is also possible to have multiple traversals active simultaneously, but Cocoa generally disallows the modification of mutable collections while they are being traversed.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial