Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
thom
· 5y ago · 0 comments
Dunno if this counts but it’s not unheard of to return nil from init methods in Objective-C.
Comments
[–]
hugey010
5y ago
Yep, afaik if allocation of memory for the object fails it's canonical to immediately return nil.