Re: what is wrong with this code?
Re: what is wrong with this code?
- Subject: Re: what is wrong with this code?
- From: Andreas Mayer <email@hidden>
- Date: Sat, 30 Aug 2003 17:40:52 +0200
Am Samstag, 30.08.03 um 17:30 Uhr schrieb Nebagakid:
[newLogItem setLogItemName: [[NSCalendarDate = [NSCalendarDate
calendarDate]];
[newLogItem setLogItemData: [NSData = [NSData representationToSend]];
You really should count your brackets.
And what is NSCalendarDate = [NSCalendarDate calendarDate] supposed to
mean? NSCalendarDate is a class specifier. You can't assign anything to
it. Same thing with the NSData in the line below.
or the NSCalendar date part, i am trying to get today's
date in there!
As a string? Try
[[NSCalendarDate calendarDate] description]
bye. Andreas.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.