Re: self = [super init], nil?
Re: self = [super init], nil?
- Subject: Re: self = [super init], nil?
- From: Ken Thomases <email@hidden>
- Date: Sat, 8 May 2010 09:17:44 -0500
On May 8, 2010, at 9:06 AM, Joanna Carter wrote:
> If you declare +init, you are writing a static method, not an instance method.
And while we're correcting things, there's no such thing as a "static method" in Objective-C. There are class methods. The use of "static" in this way is a C++-ism.
Beyond just being a matter of conventional terminology of the language community, Objective-C class methods are just as dynamic as instance methods. So the adjective "static" is inapplicable.
Cheers,
Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden