Kyle,

Thank Gosh you can't see my face now... I am blushing! Shame on me!

I've been doing the wrong thing for ages!


Cheers,
Flavio

On 08/05/2010, at 14:04, Kyle Sluder wrote:

> On Sat, May 8, 2010 at 10:00 AM, Flavio Donadio <fla...@donadio.com.br> wrote:
>> 
>> - (id)init
>> {
>>        self = [super init];
>>        // blah blah blah ...
>>        return self; // return type will be NSObject!!
>> }
> 
> NO! Please reread the fundamental ObjC documentation.
> 
> And remember, you must *always* reassign self!
> 
> --Kyle Sluder

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to