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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to