Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing structure member NSDate in NSTableView



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.