+new
is implemented quite literally as:
+ (id) new
{
return [[self alloc] init];
}
Nothing more, nothing less. Classes might override it, but that is highly atypical in favor of doing something like +fooWithBar:
.
More Related Contents:
- How do i give Ratings objective c?
- Creating an abstract class in Objective-C
- How to sort a NSArray alphabetically?
- Xcode build failure “Undefined symbols for architecture x86_64”
- Underscore prefix on property name? [duplicate]
- What’s the difference between a string constant and a string literal?
- What do the plus and minus signs mean in Objective-C next to a method?
- iOS: Compare two dates
- Capturing touches on a subview outside the frame of its superview using hitTest:withEvent:
- What’s the _ underscore representative of in Swift References?
- How to use performSelector:withObject:afterDelay: with primitive types in Cocoa?
- Tutorials for using HTTP POST and GET on the iPhone in Objective-C [closed]
- why didRegisterForRemoteNotificationsWithDeviceToken is not called
- How to convert int to NSString?
- AVAudioPlayer not playing any sound
- Xcode 4 “Clean” vs. “Clean Build Folder”
- Working with data in iOS Apps (What to choose? NSData, CoreData, sqlite, PList, NSUserDefaults)
- How to convert a CVImageBufferRef to UIImage
- How do you call an Objective-C variadic method from Swift?
- How do I convert an integer to the corresponding words in objective-c?
- Retain Cycle in ARC
- Accuracy of NSTimer
- Formatting a number to show commas and/or dollar sign
- Question about @synthesize
- Support different orientation for only one view iOS 6
- Unable to add UITextField to UIAlertView on iOS7…works in iOS 6
- Fire local notification every day on different times
- How to set Xcode plugin for code auto formatting [closed]
- How to enable the new Objective-C object literals on iOS?
- How do you load a prototype cell from a storyboard?