19. iPhone SDK
// Mark object for insertion into object store
- (void)insertObject:(FKStoredObject *)obj;
// Mark object for deletion from object store
- (void)deleteObject:(FKStoredObject *)obj;
// Mark object to be updated in object store
- (void)willUpdateObject:(FKStoredObject *)obj;
- (BOOL)saveChanges:(NSError **)errorPtr;
44. NSBinarySearchingOptions
iPhone SDK
Options for searches and insertions using
indexOfObject:inSortedRange:options:usingComparator:.
enum {
NSBinarySearchingFirstEqual = (1 << 8),
NSBinarySearchingLastEqual = (1 << 9),
NSBinarySearchingInsertionIndex = (1 << 10),
};
typedef NSUInteger NSBinarySearchingOptions;
Constants
NSBinarySearchingFirstEqual
Specifies that the search should return the first object in the range that is equal to the given object.
Available in iOS 4.0 and later.
Declared in NSArray.h.
NSBinarySearchingLastEqual
Specifies that the search should return the last object in the range that is equal to the given object.
Available in iOS 4.0 and later.
Declared in NSArray.h.
NSBinarySearchingInsertionIndex
Returns the index at which you should insert the object in order to maintain a sorted array.
Available in iOS 4.0 and later.
Declared in NSArray.h.