Top "Nssortdescriptor" questions

An OS X (available in OS X v10.

Sorting with sortedArrayUsingDescriptors and Key Paths

I have an unordered array with instances of the following class: @interface Place : NSObject { } @property (nonatomic, copy) NSString *country; @property (…

objective-c cocoa sorting key-value-observing nssortdescriptor
Sorting Array Using NSSortDescriptor

I have an array of class A objects, let it be detailsArray. Class A has date, name as properties. Can …

objective-c nsarray nssortdescriptor
Sorting NSString values as if NSInteger using NSSortDescriptor

I have created a sort descriptor to sort a plist response coming from my server. This works well with sort …

iphone objective-c ios cocoa-touch nssortdescriptor
How to use NSSortDescriptor to sort an NSMutableArray

I'm using the following NSSortDescriptor code to sort an array. I'm currently sorting by price but would like to also …

objective-c cocoa nssortdescriptor
Help sorting an NSArray across two properties (with NSSortDescriptor?)

I'm a bit of a NSSortDescriptor n00b. I think, though, it is the right tool for what I need …

cocoa sorting nsarray nssortdescriptor
Sort NSArray with custom objects

In my Xcode project I have the following classes: Address @interface LDAddress : NSObject{ NSString *street; NSString *zip; NSString *city; float …

objective-c ios sorting nssortdescriptor
How to sort NSMutableArray of date objects

I'm doing some small work on sorting the date strings in the NSMutableArray, i'm getting the array from the sqlite …

ios iphone objective-c nsdate nssortdescriptor
NSSortDescriptor should sort NSDates

It appears NSSortDescriptor should be a fairly easy class to work with. I have stored in CoreData an entity with …

objective-c sorting core-data nsfetchrequest nssortdescriptor
NSSortDescriptor: Custom comparison on multiple keys simultaneously

I have an custom object which contains time period based information, for instance the attributes endCalYear, endMonth and periodLength which …

objective-c ios sorting comparison nssortdescriptor
NSSortDescriptor sorting using NSDate in Swift

How would I sort a NSFetchRequest with that the date property of the managed object. So that it creates a …

swift nsfetchrequest nssortdescriptor