3 ms·
Well in this case I subclassed them so I could have the backing data source only weakly reference the items in the dictionary/array and because I subclassed the
by reidmain 14y ago
Well in this case I subclassed them so I could have the backing data source only weakly reference the items in the dictionary/array and because I subclassed them I can use them wherever NSDictionary or NSArray is an accepted parameter.
Apple's documentation also gives some examples:
https://developer.apple.com/library/ios/#documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/NSArray.html#//apple_ref/doc/uid/20000137-740795 https://developer.apple.com/library/ios/#documentation/Cocoa...
https://developer.apple.com/library/ios/#documentation/Cocoa/Reference/Foundation/Classes/NSDictionary_Class/Reference/Reference.html#//apple_ref/doc/uid/20000140-DontLinkElementID_1 https://developer.apple.com/library/ios/#documentation/Cocoa...