Closed briancroom closed 9 years ago
Done and rebased! Do you have any feedback on the contents of the exception message that this introduces @akitchen? I want to make sure we are providing as much guidance as possible when people encounter this situation.
I'm not sure but I think this might be too opinionated. Sometimes a call to a bare init is still valid even if there is an initWithFoo: available.
If I recall, the original issue was about not using -init when it has been overridden with an implementation like
- (id)init {
[self doesNotRecognizeSelector:_cmd];
return nil;
}
... and instead raising an exception with a helpful message
Point taken. I'm going to open a new PR with a more lenient approach to this.
Here's my take on #24. Thoughts @akitchen, @jbsf?