Re: Guidance for learner
Re: Guidance for learner
- Subject: Re: Guidance for learner
- From: "Alan Smith" <email@hidden>
- Date: Wed, 27 Jun 2007 18:24:28 -0400
Barry,
If you want to have access to an instance of MyDocController it would
be done like this:
@interface MyDocument : NSDocument
{
MyDocController *myDocController;
}
and then in init or wherever you set up MyDocument:
myDocController = [[MyDocController alloc] init];
when it comes time to use it:
NSData *data = [[myDocController dataFiles] objectAtIndex: i];
Have fun!
Peace, Alan
--
// Quotes from Alan Smith -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
"Silence is the Universe's greatest gift."
"When the World realizes that personal beliefs are not something to
argue or fight over, it shall evolve."
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden