| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
NSIndexSet internally caches last-accesses, allowing such enumeration (forwards or backwards) to happen very efficiently. The code snippet above should be good enough for most uses. A reason to switch to the get... variant is to avoid the message-sending overhead of the loop, in case that becomes an issue.
| References: | |
| >My new framwork (From: April Gendill <email@hidden>) | |
| >Re: My new framwork (From: John Randolph <email@hidden>) | |
| >Re: My new framwork (From: Allan Odgaard <email@hidden>) | |
| >Re: My new framwork (From: mmalcolm crawford <email@hidden>) | |
| >Re: My new framwork (From: Allan Odgaard <email@hidden>) | |
| >Iterating NSSet (was Re: My new framwork) (From: mmalcolm crawford <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.