pub trait NSDictionary: Sized {
Show 55 methods
// Required methods
unsafe fn init(self) -> *mut Object;
unsafe fn initWithContentsOfFile_(self, path: *mut Object) -> *mut Object;
unsafe fn initWithContentsOfURL_(self, aURL: *mut Object) -> *mut Object;
unsafe fn initWithDictionary_(
self,
otherDicitonary: *mut Object
) -> *mut Object;
unsafe fn initWithDictionary_copyItems_(
self,
otherDicitonary: *mut Object,
flag: i8
) -> *mut Object;
unsafe fn initWithObjects_forKeys_(
self,
objects: *mut Object,
keys: *mut Object
) -> *mut Object;
unsafe fn initWithObjects_forKeys_count_(
self,
objects: *mut Object,
keys: *mut Object,
count: u64
) -> *mut Object;
unsafe fn initWithObjectsAndKeys_(
self,
firstObject: *mut Object
) -> *mut Object;
unsafe fn count(self) -> u64;
unsafe fn isEqualToDictionary_(self, otherDictionary: *mut Object) -> i8;
unsafe fn allKeys(self) -> *mut Object;
unsafe fn allKeysForObject_(self, anObject: *mut Object) -> *mut Object;
unsafe fn allValues(self) -> *mut Object;
unsafe fn objectForKey_(self, aKey: *mut Object) -> *mut Object;
unsafe fn objectForKeyedSubscript_(self, key: *mut Object) -> *mut Object;
unsafe fn objectsForKeys_notFoundMarker_(
self,
keys: *mut Object,
anObject: *mut Object
) -> *mut Object;
unsafe fn valueForKey_(self, key: *mut Object) -> *mut Object;
unsafe fn keyEnumerator(self) -> *mut Object;
unsafe fn objectEnumerator(self) -> *mut Object;
unsafe fn enumerateKeysAndObjectsUsingBlock_(
self,
block: *mut Block<(*mut Object, *mut Object, *mut i8), ()>
);
unsafe fn enumerateKeysAndObjectsWithOptions_usingBlock_(
self,
opts: NSEnumerationOptions,
block: *mut Block<(*mut Object, *mut Object, *mut i8), ()>
);
unsafe fn keysSortedByValueUsingSelector_(
self,
comparator: Sel
) -> *mut Object;
unsafe fn keysSortedByValueUsingComparator_(
self,
cmptr: *mut Block<(*mut Object, *mut Object), NSComparisonResult>
) -> *mut Object;
unsafe fn keysSortedByValueWithOptions_usingComparator_(
self,
opts: NSEnumerationOptions,
cmptr: *mut Block<(*mut Object, *mut Object), NSComparisonResult>
) -> *mut Object;
unsafe fn keysOfEntriesPassingTest_(
self,
predicate: *mut Block<(*mut Object, *mut Object, *mut i8), i8>
) -> *mut Object;
unsafe fn keysOfEntriesWithOptions_PassingTest_(
self,
opts: NSEnumerationOptions,
predicate: *mut Block<(*mut Object, *mut Object, *mut i8), i8>
) -> *mut Object;
unsafe fn writeToFile_atomically_(self, path: *mut Object, flag: i8) -> i8;
unsafe fn writeToURL_atomically_(self, aURL: *mut Object, flag: i8) -> i8;
unsafe fn fileCreationDate(self) -> *mut Object;
unsafe fn fileExtensionHidden(self) -> i8;
unsafe fn fileGroupOwnerAccountID(self) -> *mut Object;
unsafe fn fileGroupOwnerAccountName(self) -> *mut Object;
unsafe fn fileIsAppendOnly(self) -> i8;
unsafe fn fileIsImmutable(self) -> i8;
unsafe fn fileModificationDate(self) -> *mut Object;
unsafe fn fileOwnerAccountID(self) -> *mut Object;
unsafe fn fileOwnerAccountName(self) -> *mut Object;
unsafe fn filePosixPermissions(self) -> u64;
unsafe fn fileSize(self) -> u64;
unsafe fn fileSystemFileNumber(self) -> u64;
unsafe fn fileSystemNumber(self) -> i64;
unsafe fn fileType(self) -> *mut Object;
unsafe fn description(self) -> *mut Object;
unsafe fn descriptionInStringsFileFormat(self) -> *mut Object;
unsafe fn descriptionWithLocale_(self, locale: *mut Object) -> *mut Object;
unsafe fn descriptionWithLocale_indent_(
self,
locale: *mut Object,
indent: u64
) -> *mut Object;
// Provided methods
unsafe fn dictionary(_: Self) -> *mut Object { ... }
unsafe fn dictionaryWithContentsOfFile_(
_: Self,
path: *mut Object
) -> *mut Object { ... }
unsafe fn dictionaryWithContentsOfURL_(
_: Self,
aURL: *mut Object
) -> *mut Object { ... }
unsafe fn dictionaryWithDictionary_(
_: Self,
otherDictionary: *mut Object
) -> *mut Object { ... }
unsafe fn dictionaryWithObject_forKey_(
_: Self,
anObject: *mut Object,
aKey: *mut Object
) -> *mut Object { ... }
unsafe fn dictionaryWithObjects_forKeys_(
_: Self,
objects: *mut Object,
keys: *mut Object
) -> *mut Object { ... }
unsafe fn dictionaryWithObjects_forKeys_count_(
_: Self,
objects: *const *mut Object,
keys: *const *mut Object,
count: u64
) -> *mut Object { ... }
unsafe fn dictionaryWithObjectsAndKeys_(
_: Self,
firstObject: *mut Object
) -> *mut Object { ... }
unsafe fn sharedKeySetForKeys_(_: Self, keys: *mut Object) -> *mut Object { ... }
}