NSCreateMapTableWithZone(_:_:_:_:)
Creates a new map table in the specified zone.
Declaration
func NSCreateMapTableWithZone(_ keyCallBacks: NSMapTableKeyCallBacks, _ valueCallBacks: NSMapTableValueCallBacks, _ capacity: Int, _ zone: NSZone?) -> NSMapTable<AnyObject, AnyObject>Return Value
A new map table in allocated in zone. If zone is NULL, the hash table is created in the default zone.
Discussion
The table’s size is dependent on (but generally not equal to) capacity. If capacity is 0, a small map table is created. The NSMapTableKeyCallBacks arguments are structures that are very similar to the callback structure used by NSCreateHashTable(_:_:); in fact, they have the same defaults as documented for that function.
See Also
Related Documentation
Functions
NSAllMapTableKeys(_:)NSAllMapTableValues(_:)NSCompareMapTables(_:_:)NSCopyMapTableWithZone(_:_:)NSCountMapTable(_:)NSCreateMapTable(_:_:_:)NSEndMapTableEnumeration(_:)NSEnumerateMapTable(_:)NSFreeMapTable(_:)NSMapGet(_:_:)NSMapInsert(_:_:_:)NSMapInsertIfAbsent(_:_:_:)NSMapInsertKnownAbsent(_:_:_:)NSMapMember(_:_:_:_:)NSMapRemove(_:_:)