Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // MyPrivateClass.m
- #import "MyPrivateClass.h"
- @implementation MyPrivateClass
- @synthesize privateProperty;
- + (void)load {
- // This is called once, when module is being loaded,
- // "Invoked whenever a class or category is added to the Objective-C
- // runtime; implement this method to perform class-specific behavior
- // upon loading."
- [Factory registerPrivateClassTypeWithType:[MyPrivateClass class]];
- }
- - (void)doSomethingInternalWithSecretAttribute:(NSInteger)attribute {
- NSLog(@"INTERNAL METHOD CALLED WITH SUCCESS %ld", (long)attribute);
- }
Add Comment
Please, Sign In to add comment