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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -