What is the difference between [Class new] and [[Class alloc] init] in iOS? [duplicate]
Alloc: Class method of NSObject. Returns a new instance of the receiving class. Init: Instance method of NSObject. Implemented by subclasses to initialize a new object (the receiver) immediately after memory for it has been allocated. New: Class method of NSObject. Allocates a new instance of the receiving class, sends it an init message, and … Read more