• 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
Re: Guidance for learner
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Guidance for learner
      • From: "Barry" <email@hidden>
    • Re: Guidance for learner
      • From: "Barry" <email@hidden>
References: 
 >Re: Guidance for learner (From: "Barry" <email@hidden>)

  • Prev by Date: Re: Dictionaries vs iVars
  • Next by Date: Bindings with a custom view
  • Previous by thread: Re: Guidance for learner
  • Next by thread: Re: Guidance for learner
  • Index(es):
    • Date
    • Thread