feed an NSCharacterSet to numberOfRowsInSection delegate method?
feed an NSCharacterSet to numberOfRowsInSection delegate method?
- Subject: feed an NSCharacterSet to numberOfRowsInSection delegate method?
- From: "Martijn van Exel" <email@hidden>
- Date: Wed, 7 Jan 2009 14:26:29 +0100
Hi all,
If you want to have an a-z sectioned table, wouldn't it make sense to use an
NSCharacterSet (in this case, an uppercaseLetterCharacterSet) to feed to the
delegate methods numberOfRowsInSection and sectionIndexTitlesForTableView?
But [NSCharacterSet uppercaseLetterCharacterSet] returns a NSCharacterSet
and not an NSArray, is there a way (without doing an iteration) to turn a
NSCharacterSet into an NSArray of charachters?
Martijn
--
martijn van exel -+- email@hidden -+- http://www.schaaltreinen.nl/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden