3 ms·
Dunno if this counts but it’s not unheard of to return nil from init methods in Objective-C.
by thom 5y ago
Dunno if this counts but it’s not unheard of to return nil from init methods in Objective-C.
- hugey010 5y agoYep, afaik if allocation of memory for the object fails it's canonical to immediately return nil.