NSCreateMapTable(_:_:_:)
Creates a new map table in the default zone.
Declaration
func NSCreateMapTable(_ keyCallBacks: NSMapTableKeyCallBacks, _ valueCallBacks: NSMapTableValueCallBacks, _ capacity: Int) -> NSMapTable<AnyObject, AnyObject>Discussion
Creates and returns a pointer to an NSMapTable structure in the default zone; 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(_:_:)—they have the same defaults as documented for that function.
See Also
Related Documentation
Functions
NSAllMapTableKeys(_:)NSAllMapTableValues(_:)NSCompareMapTables(_:_:)NSCopyMapTableWithZone(_:_:)NSCountMapTable(_:)NSCreateMapTableWithZone(_:_:_:_:)NSEndMapTableEnumeration(_:)NSEnumerateMapTable(_:)NSFreeMapTable(_:)NSMapGet(_:_:)NSMapInsert(_:_:_:)NSMapInsertIfAbsent(_:_:_:)NSMapInsertKnownAbsent(_:_:_:)NSMapMember(_:_:_:_:)NSMapRemove(_:_:)