Last Updated: February 25, 2016
·
912
· modocache

Just use +new

I don't care what you've read, don't use +alloc/-init. Why?

  • +new just calls +alloc, then -init anyway
  • +new doesn't return an autoreleased object or anything (not that it matters when using ARC, anyway), contrary to what some might have you believe
  • +new is faster to type

 
 
Here's the proof for any skeptics out there.