• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Major Nubie : adding ints get strange values?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Major Nubie : adding ints get strange values? (From: d2kagw <email@hidden>)

  • Prev by Date: Re: Major Nubie : adding ints get strange values?
  • Next by Date: Re: Major Nubie : adding ints get strange values?
  • Previous by thread: Re: Major Nubie : adding ints get strange values?
  • Next by thread: Re: Major Nubie : adding ints get strange values?
  • Index(es):
    • Date
    • Thread