Using a variable in different class
Using a variable in different class
- Subject: Using a variable in different class
- From: Annie Felix <email@hidden>
- Date: Tue, 28 Aug 2001 08:16:54 +0100 (BST)
Hi all,
I have an application in which there are two nib
files. In one nib file, there are two classes
1.MyUserInfo 2.MyUserInfoController.
MyUserInfoController has a variable NSMutableArray
*userkeys.
In another nibfile I have a class Account with a
tableview.Iwant to set the noofrowsintableview based
on the count of userKeys of first nib file.
I have included @class in header file of Account and
import statement in .m file.But it gives the error
userKeys undeclared.
Can anyone identify what is wrong.
Thanks& Regards
Annie Felix