NSCopyMapTableWithZone(_:_:)
Performs a shallow copy of the specified map table.
Declaration
func NSCopyMapTableWithZone(_ table: NSMapTable<AnyObject, AnyObject>, _ zone: NSZone?) -> NSMapTable<AnyObject, AnyObject>Return Value
A pointer to a new copy of table, created in zone and containing pointers to the keys and values of table.
Discussion
If zone is NULL, the new table is created in the default zone.
The new table adopts the callback functions of table and calls the hash and retain callback functions as appropriate when inserting elements into the new table.
See Also
Related Documentation
NSCreateMapTableWithZone(_:_:_:_:)NSCreateMapTable(_:_:_:)NSMapTableValueCallBacksNSMapTableKeyCallBacks
Functions
NSAllMapTableKeys(_:)NSAllMapTableValues(_:)NSCompareMapTables(_:_:)NSCountMapTable(_:)NSCreateMapTable(_:_:_:)NSCreateMapTableWithZone(_:_:_:_:)NSEndMapTableEnumeration(_:)NSEnumerateMapTable(_:)NSFreeMapTable(_:)NSMapGet(_:_:)NSMapInsert(_:_:_:)NSMapInsertIfAbsent(_:_:_:)NSMapInsertKnownAbsent(_:_:_:)NSMapMember(_:_:_:_:)NSMapRemove(_:_:)