Re: Clarification on MMM rules for init?

2017-01-21 Thread Ken Thomases
On Jan 21, 2017, at 10:43 AM, Dave wrote: > > I’m looking at some old code and have found what I think is a long standing > bug. This is a class that has an initWithXXX method which may fail, in this > case it calls [self autorelease] and returns nil. However, I have found a > case whereby doe

Clarification on MMM rules for init?

2017-01-21 Thread Dave
HI, This is for a Mac based App. I’m looking at some old code and have found what I think is a long standing bug. This is a class that has an initWithXXX method which may fail, in this case it calls [self autorelease] and returns nil. However, I have found a case whereby does a [self autorele