Re: Major Nubie : adding ints get strange values?
Re: Major Nubie : adding ints get strange values?
- Subject: Re: Major Nubie : adding ints get strange values?
- From: Christian Stieber <email@hidden>
- Date: Thu, 06 Apr 2006 14:41:49 +0200
At 22:24 06.04.2006 +1000, d2kagw wrote:
- ( id ) init
{
currentIndex = 0; <-- currentIndex is an int, its declared in the
header
return self;
I'm not familiar with the ObjC runtime or how this would
affect things, but unless your class is a rootclass
(i.e. not derived from anything), your init should
start with something like self=[super init].
Christian
_______________________________________________
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