YapCollectionKey
@interface YapCollectionKey : NSObject <NSCopying, NSCoding>
An efficient collection/key tuple class.
Combines collection & key into a single object, and provides the proper methods to use the object in various classes (such as NSDictionary, NSSet, etc).
-
Undocumented
Declaration
Objective-C
- (id)initWithCollection:(nullable NSString *)collection key:(NSString *)key;
Swift
init(collection: String?, key: String)
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *collection
Swift
var collection: String { get }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *key
Swift
var key: String { get }
-
Undocumented
Declaration
Objective-C
- (BOOL)isEqualToCollectionKey:(YapCollectionKey *)collectionKey;
Swift
func isEqual(to collectionKey: YapCollectionKey) -> Bool
-
Undocumented
Declaration
Objective-C
- (BOOL)isEqual:(nullable id)anObject;
Swift
func isEqual(_ anObject: Any?) -> Bool
-
Undocumented
Declaration
Objective-C
- (NSUInteger)hash;
Swift
func hash() -> UInt
-
Undocumented
Declaration
Objective-C
+ (CFDictionaryKeyCallBacks)keyCallbacks;
Swift
class func keyCallbacks() -> CFDictionaryKeyCallBacks