• 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: Accessing structure member NSDate in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing structure member NSDate in NSTableView


  • Subject: Re: Accessing structure member NSDate in NSTableView
  • From: KJ Walker <email@hidden>
  • Date: Thu, 9 Nov 2006 12:38:51 -0800

On Nov 9, 2006, at 08:59, Gilles Celli wrote:

Where are you creating and retaining the NSDate object referenced in k2700?

{
return [k2700_str[Row].acqDate description]; <= this crashes the app !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
}

If there is no valid NSDate object being referenced by the acqDate member in the structure, the above line is going to have problems as there is an expected return value of an NSString from the "description" method.


Do you have an init like function or member settter for the KeithleyMultimeter class which you didn't include in your post?


Kevin (KJ) Walker Senior Mac Developer SmartSound Software, Inc.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Accessing structure member NSDate in NSTableView (From: Gilles Celli <email@hidden>)

  • Prev by Date: Re: Accessing structure member NSDate in NSTableView
  • Next by Date: Re: Creating an NSTimer subclass
  • Previous by thread: Re: Accessing structure member NSDate in NSTableView
  • Next by thread: Filename of audio CDs modified by Finder
  • Index(es):
    • Date
    • Thread