Question

The default constructor of NSObject is this?

-(id)init {

    return self;
}

thanks!

Was it helpful?

Solution

Exactly. But don't rely on this behavior.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top