Re: Newbie Q - Variables not being retained in class
Re: Newbie Q - Variables not being retained in class
- Subject: Re: Newbie Q - Variables not being retained in class
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 9 Sep 2005 10:50:08 -0600
On Sep 9, 2005, at 9:57 AM, Aaron Wallis wrote:
@interface mpPreferences : NSObject
{
NSMutableArray * myTagFields;
NSUserDefaults * myPrefs;
}
You don't need to save pointers to singleton classes like
NSUserDefaults; just call the singleton accessor whenever you need to
use it.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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