views:

31

answers:

1

Hi all, The default constructor of NSObject is this?

-(id)init {

    return self;
}

thanks!

+1  A: 

Exactly. But don't rely on this behavior.

KennyTM
thanks! so the best way is create a own costructor that inside call [self init];
ghiboz