• 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: newbie memory issues continued
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >newbie memory issues continued (From: Daniel Child <email@hidden>)
 >Re: newbie memory issues continued (From: Steve Christensen <email@hidden>)

  • Prev by Date: text selectable in NSTextField
  • Next by Date: Re: slow NSWorkspaceDidWakeNotification
  • Previous by thread: Re: newbie memory issues continued
  • Next by thread: Re: newbie memory issues continued
  • Index(es):
    • Date
    • Thread