Skip to content

Instantly share code, notes, and snippets.

@pita5
Created June 12, 2013 09:40
Show Gist options
  • Save pita5/5764036 to your computer and use it in GitHub Desktop.
Save pita5/5764036 to your computer and use it in GitHub Desktop.
@interface __NSSpecialDictionary : NSObject
@end
@implementation __NSSpecialDictionary
@end
@interface NSDictionary (specialDictionaries)
+ (instancetype)specialDictionary;
@end
@implementation NSDictionary (specialDictionaries)
+ (instancetype)specialDictionary
{
return [[__NSSpecialDictionary alloc] init];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment