TouchCode / TouchJSON

A humane JSON Objective-C un-framework. (TouchJSON has been deprecated - see README)
http://touchcode.com/
Other
800 stars 169 forks source link

Only use shared keysets on supported platforms #27

Closed embrenneke closed 7 years ago

embrenneke commented 9 years ago

-[NSMutableDictionary sharedKeySetForKeys:] and -[NSMutableDictionary dictionaryWithSharedKeySet:] were added in 10.8 & 6.0. This patch tests foundation version at -init and disables the use of this feature on older OS versions.

Patch for poor bastards still running on iOS 5.