software-mariodiana
2/20/2017 - 6:16 PM

Disallow the default Objective-C -init method at compile time (and provide an example for any other superclass method whose use you would li

Disallow the default Objective-C -init method at compile time (and provide an example for any other superclass method whose use you would like to prohibit).

- (instancetype)init __attribute__((unavailable("not available")));