Best practice question
Best practice question
- Subject: Best practice question
- From: "Alan Smith" <email@hidden>
- Date: Fri, 27 Oct 2006 16:46:48 -0400
Hi all,
I've seen many variations of the init method and I'm wondering which
is the best way to go. Currently I do it like this;
- (id)init
{
if (self = [super init])
{
// Perform init code
return self;
}
return nil;
}
Many thanks, Alan
--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
"Silence is the Universe's greatest gift."
"When the World realizes that religion really is unimportant, then it
shall evolve."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden