| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
This seems straightforward enough:I'll just mention that in Panther, you can use -selectedRowIndexes to get an NSIndexSet of the selection..Which is a pain to iterate, so I'll just mention that with CocoaSTL <http://www.top-house.dk/~aae0030/cocoastl/> you can iterate an NSIndexSet like this:
NSIndexSet* indexSet = ...;
foreach(it, beginof(indexSet), endof(indexSet))
printf("%d\n", *it);
I am really puzzled that Apple does not provide a way to easily iterate objects instantiated from this class...
| 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>) |
| 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.