• 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: "Daniel T. Staal" <email@hidden>
  • Date: Wed, 27 Jun 2007 13:49:40 -0400 (EDT)
  • Importance: Normal

On Wed, June 27, 2007 11:48 am, Barry said:
> Alan
>
> Just realised, the line
>
> NSData *data=[[MyDocController dataFiles] objectAtIndex: i];
>
> in my previous email is wrong. The 'MyDocController' should be obtained
> from
> self (MyDocument) somehow.
> Like
>
> self->MyDocController
>
> but again, I cannot see how to do this in Objective-C

Make an instance varible with the name 'MyDocController' and the above
code will work just fine.

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------

_______________________________________________

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

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

  • Prev by Date: Re: Guidance for learner
  • Next by Date: Re: Bindings / NSTableView (limitation ?)
  • Previous by thread: Re: Guidance for learner
  • Next by thread: Re: Guidance for learner
  • Index(es):
    • Date
    • Thread