• 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: NSDate And Super Class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSDate And Super Class (From: Richard Good <email@hidden>)

  • Prev by Date: Re: Moving oneself to /Applications (or ~/Applications)
  • Next by Date: Re: NSDate And Super Class
  • Previous by thread: NSDate And Super Class
  • Next by thread: Re: NSDate And Super Class
  • Index(es):
    • Date
    • Thread