3 ms·
One of the things that permeates the API is a complete lack of separation of data structures and IO. For instance, NSData, NSDictionary and NSArray all have me
by fauigerzigerk 11y ago
One of the things that permeates the API is a complete lack of separation of data structures and IO.
For instance, NSData, NSDictionary and NSArray all have methods for loading and storing their contents from/to a location specified as a URL.
NSURL deals with all sorts of stuff like bookmarks, cached resources and file system properties.
- stepanhruda 11y agoE.g. Swift standard library already replaces dictionaries and arrays without adding similar bloat. I think/hope they want feature parity first and then will start moving towards what you propose.
- kartickv 11y agoI see your point. Thanks for explaining.