Can i hide or prevent [[Foo alloc] init] from being used in code outside the Foo class?
I want only code to use a custom createFooObject, not the alloc/init idiom.
Is it possible to hide alloc/init in class?
Can i hide or prevent [[Foo alloc] init] from being used in code outside the Foo class?
I want only code to use a custom createFooObject, not the alloc/init idiom.
Is it possible to hide alloc/init in class?