Re: Using a variable in different class
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