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

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


  • Follow-Ups:
    • Re: Using a variable in different class
      • From: Georg Tuparev <email@hidden>
    • Re: Using a variable in different class
      • From: Ondra Cada <email@hidden>
  • Prev by Date: NSURL/NSURLHandle issues
  • Next by Date: Re: Cocoa and MySql
  • Previous by thread: NSURL/NSURLHandle issues
  • Next by thread: Re: Using a variable in different class
  • Index(es):
    • Date
    • Thread