NSStringFromMapTable(_:)
Returns a string describing the map table’s contents.
Declaration
func NSStringFromMapTable(_ table: NSMapTable<AnyObject, AnyObject>) -> StringParameters
- table:
A reference to a map table structure.
Return Value
A string describing the map table’s contents.
Discussion
The function iterates over the key-value pairs of table and for each one appends the string “a = b;\n”, where a and b are the key and value strings returned by the corresponding describe callback functions. If NULL was specified for the callback function, a and b are the key and value pointers, expressed as hexadecimal numbers.
See Also
Functions
NSAllMapTableKeys(_:)NSAllMapTableValues(_:)NSCompareMapTables(_:_:)NSCopyMapTableWithZone(_:_:)NSCountMapTable(_:)NSCreateMapTable(_:_:_:)NSCreateMapTableWithZone(_:_:_:_:)NSEndMapTableEnumeration(_:)NSEnumerateMapTable(_:)NSFreeMapTable(_:)NSMapGet(_:_:)NSMapInsert(_:_:_:)NSMapInsertIfAbsent(_:_:_:)NSMapInsertKnownAbsent(_:_:_:)NSMapMember(_:_:_:_:)