ios - Factory class - stop init -
i want create factory class create objects me (of specific class).
the factory class have class methods. there way can stop alloc init being called on class?
yes can, define init @ interface as
- (id) init __unavailable;
Comments
Post a Comment