I want a class that take a REQUIRED argument like the UITableViewController that does not have init.
Currently I just throw an exception when invoking init.
Is there a way to deactivate it completely?
I want a class that take a REQUIRED argument like the UITableViewController that does not have init.
Currently I just throw an exception when invoking init.
Is there a way to deactivate it completely?
No. Just redefine it to some error condition. This is bad style anyway and I question your motives.
A non-existant method (anywhere in the class hierarchy) for any object would cause the runtime to throw an exception. If that's what you mean by a deactivated method, and you're throwing an exception already, then you're already done.