177 posts with the tag “Swift”

See all tags

Development

CFBag

The article explores the CFBag and CFMutableBag Core Foundation types, which implement a bag (multi-set) data structure, allowing multiple occurrences of elements with associated counts.

Development

CFStringTransform

NSString and its toll-free bridged counterpart CFMutableString in Foundation and Core Foundation are highlighted for their exceptional Unicode handling, with CFStringTransform enabling powerful string transformations like stripping diacritics, naming Unicode characters, and transliterating between scripts such as Latin, Cyrillic, and Hiragana.