SFGOrderedDictionary
Objective-C
@interface SFGOrderedDictionary : NSMutableDictionary
{
NSMutableDictionary *dictionary;
NSMutableArray *array;
}
- (void)insertObject:(id)anObject forKey:(id<NSCopying>)aKey atIndex:(NSUInteger)anIndex;
- (id)keyAtIndex:(NSUInteger)anIndex;
- (NSEnumerator *)reverseKeyEnumerator;
- (id)objectAtIndexedSubscript:(NSUInteger)idx;
- (id)objectForKeyedSubscript:(id)key;
- (void)setObject:(id)obj forKeyedSubscript:(id<NSCopying>)key;
- (NSUInteger)indexOfKey:(id)anObject;
- (NSUInteger)indexOfKey:(id)anObject inRange:(NSRange)range;
- (NSUInteger)indexOfKeyIdenticalTo:(id)anObject;
- (NSUInteger)indexOfKeyIdenticalTo:(id)anObject inRange:(NSRange)range;
- (id)lastKey;
- (void)sortUsingFunction:(NSInteger (*)(id, id, void *))compare context:(void *)context;
- (void)sortUsingSelector:(SEL)comparator;
#if NS_BLOCKS_AVAILABLE
- (void)sortUsingComparator:(NSComparator)cmptr;
- (void)sortWithOptions:(NSSortOptions)opts usingComparator:(NSComparator)cmptr;
#endif
@end
Swift
class SFGOrderedDictionary : NSMutableDictionary
Undocumented
-
Undocumented
Declaration
Objective-C
NSMutableDictionary *dictionary
-
Undocumented
Declaration
Objective-C
NSMutableArray *array
-
Undocumented
Declaration
Objective-C
- (void)insertObject:(id)anObject forKey:(id<NSCopying>)aKey atIndex:(NSUInteger)anIndex;
Swift
func insert(_ anObject: Any!, forKey aKey: (any NSCopying)!, at anIndex: UInt)
-
Undocumented
Declaration
Objective-C
- (id)keyAtIndex:(NSUInteger)anIndex;
Swift
func key(at anIndex: UInt) -> Any!
-
Undocumented
Declaration
Objective-C
- (NSEnumerator *)reverseKeyEnumerator;
Swift
func reverseKeyEnumerator() -> NSEnumerator!
-
Undocumented
Declaration
Objective-C
- (id)objectAtIndexedSubscript:(NSUInteger)idx;
Swift
subscript(idx: UInt) -> Any! { get }
-
Undocumented
Declaration
Objective-C
- (id)objectForKeyedSubscript:(id)key;
Swift
subscript(key: Any!) -> Any! { get }
-
Undocumented
Declaration
Objective-C
- (void)setObject:(id)obj forKeyedSubscript:(id<NSCopying>)key;
Swift
func setObject(_ obj: Any!, forKeyedSubscript key: (any NSCopying)!)
-
Undocumented
Declaration
Objective-C
- (NSUInteger)indexOfKey:(id)anObject;
Swift
func index(ofKey anObject: Any!) -> UInt
-
Undocumented
Declaration
Objective-C
- (NSUInteger)indexOfKey:(id)anObject inRange:(NSRange)range;
Swift
func index(ofKey anObject: Any!, in range: NSRange) -> UInt
-
Undocumented
Declaration
Objective-C
- (NSUInteger)indexOfKeyIdenticalTo:(id)anObject;
Swift
func indexOfKeyIdentical(to anObject: Any!) -> UInt
-
Undocumented
Declaration
Objective-C
- (NSUInteger)indexOfKeyIdenticalTo:(id)anObject inRange:(NSRange)range;
Swift
func indexOfKeyIdentical(to anObject: Any!, in range: NSRange) -> UInt
-
Undocumented
Declaration
Objective-C
- (id)lastKey;
Swift
func lastKey() -> Any!
-
Undocumented
Declaration
Objective-C
- (void)sortUsingFunction:(NSInteger (*)(id, id, void *))compare context:(void *)context;
Swift
func sort(_ compare: ((Any?, Any?, UnsafeMutableRawPointer?) -> Int)!, context: UnsafeMutableRawPointer!)
-
Undocumented
Declaration
Objective-C
- (void)sortUsingSelector:(SEL)comparator;
Swift
func sort(using comparator: Selector!)
-
Undocumented
Declaration
Objective-C
- (void)sortUsingComparator:(NSComparator)cmptr;
Swift
func sort(comparator cmptr: Comparator!)
-
Undocumented
Declaration
Objective-C
- (void)sortWithOptions:(NSSortOptions)opts usingComparator:(NSComparator)cmptr;
Swift
func sort(options opts: NSSortOptions = [], usingComparator cmptr: Comparator!)