Re: Sorting NSArray -- advice on how to accomplish a "simple" alpha ordering?
Re: Sorting NSArray -- advice on how to accomplish a "simple" alpha ordering?
- Subject: Re: Sorting NSArray -- advice on how to accomplish a "simple" alpha ordering?
- From: Andy Lee <email@hidden>
- Date: Wed, 01 Aug 2012 17:30:57 -0400
Never used it myself, but the method I see in the docs is called objectsForKeys:notFoundMarker:.
--Andy
On Aug 1, 2012, at 5:24 PM, Alex Zavatone <email@hidden> wrote:
> Hmm. The row accessor is doing something quite unexpected.
>
> Automatic Reference Counting Issue: Receiver type 'NSDictionary' for instance message does not declare a method with selector 'objectsForKeys:'
>
> Since when does an NSDictionary on iOS 5.0 not declare a selector for objectForKeys:?
>
> On Aug 1, 2012, at 12:45 PM, Jens Alfke wrote:
>
>>
>> rowArray = [customerFilters objectsForKeys: sectionArray] notFoundMarker: @""];
>>
>> (There is an -allValues method, but the orderings is explicitly undefined, so it might not match the ordering of -allKeys.)
>>
>> —Jens
>
> _______________________________________________
>
> 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
_______________________________________________
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