Enumeration Sample
Last Revision: | Version 1.1, 2014-02-04 Expanded the sample to cover various methods of enumeration. (Full Revision History) |
Build Requirements: | OS X 10.9 SDK or later |
Runtime Requirements: | OS X 10.7 or later |
EnumerationSample is a command line project that demonstrates how to implement a class that supports block-based enumeration, fast enumeration, enumeration using NSEnumerator, and subscripting. While provided as a OS X application, the techniques demonstrated by this sample are fully applicable to iOS development.
Copyright © 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-02-04