Re: Is this a bug in NSCalendarDate?
Re: Is this a bug in NSCalendarDate?
- Subject: Re: Is this a bug in NSCalendarDate?
- From: John Stiles <email@hidden>
- Date: Fri, 02 Sep 2005 23:06:57 -0700
Is it possible that the calendar date object is not being retained, and
gets autoreleased, in the time between its creation and the NSLog?
You might turn on NSZombieEnabled:
http://www.cocoadev.com/index.pl?NSZombieEnabled
Mark Williams wrote:
NSCalendarDate * date = [NSCalendarDate calendarDate];
NSLog(@"%i",[date monthOfYear]);
That's basically what I'm trying to do. And when it gets to the nslog
I get an error, selector not recognized.
Mark
On Sep 2, 2005, at 4:00 PM, John Stiles wrote:
Show your work, please.
On Sep 2, 2005, at 3:59 PM, Mark Williams wrote:
I just tried to use NSCalendarDate monthOfYear and I get an error
that the selector is not recognized, what's happening there?
Mark.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40blizzard.com
This email sent to email@hidden
_______________________________________________
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