Re: newbie memory issues continued
Re: newbie memory issues continued
- Subject: Re: newbie memory issues continued
- From: Jyrki Wahlstedt <email@hidden>
- Date: Sat, 19 Mar 2005 13:11:28 +0200
On 19.3.2005, at 10:56, Steve Christensen wrote:
knownStrokes is an accessor for the knownStrokes array (a class
member variable).
Can you get into trouble if you have a class method and class variable
with the same name?
It is quite common to name an accessor method exactly the same as the
corresponding attribute. That would, however, be an instance method,
not class method (- instead of + starting the declaration).
Otherwise looking at the code samples (cut from this message) it seems
that there is something wrong either with knownStrokes array or with
printStrokeDesc methdod, depends on where the crash occurs (could be
seen in the debugger?!).
!
! Jyrki Wahlstedt
! Tinatie 3 A 2 mob. +358-40-502 0164
! FI-00440 Helsinki
!
! Our life is no dream; but it ought to become one and perhaps will.
! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780
6366 EFD9 139C C386
_______________________________________________
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