Re: NSDate And Super Class
Re: NSDate And Super Class
- Subject: Re: NSDate And Super Class
- From: Andy Lee <email@hidden>
- Date: Tue, 24 Feb 2009 21:50:14 -0500
On Feb 24, 2009, at 8:25 PM, Richard Good wrote:
Instance var creation
DatesubClass* datesubClass = [[DatesubClass alloc]init];
At this point the datesubClass.aDate Instance variable is "out of
scope"
Your code works for me, verbatim, so there's something you're not
showing us that's causing the problem.
The line above creates an instance, not an instance var. It doesn't
reference anything called aDate. Can you show more context? What is
the exact line the compiler is barfing on? Better yet, the whole
method containing that line?
--Andy
_______________________________________________
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