Re: Guidance for learner
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