• 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: Using a variable in different class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using a variable in different class


  • Subject: Re: Using a variable in different class
  • From: Ondra Cada <email@hidden>
  • Date: Tue, 28 Aug 2001 13:16:24 +0200

Annie,

>>>>>> Annie Felix (AF) wrote at Tue, 28 Aug 2001 08:16:54 +0100 (BST):
AF> In another nibfile I have a class Account with a
AF> tableview.Iwant to set the noofrowsintableview based
AF> on the count of userKeys of first nib file.
AF> I have included @class in header file of Account and
AF> import statement in .m file.But it gives the error
AF> userKeys undeclared.
AF>
AF> Can anyone identify what is wrong.

If I understand you well (which I seriously doubt, since you seem to mix
quite different problems together), wrong is the approach of accessing
properties externally. Create and use an accessor method.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc


References: 
 >Using a variable in different class (From: Annie Felix <email@hidden>)

  • Prev by Date: Re: Finding keyboard state in Cocoa(Ondra Cada)
  • Next by Date: Re: Getting keyDowns
  • Previous by thread: Using a variable in different class
  • Next by thread: Re: Using a variable in different class
  • Index(es):
    • Date
    • Thread