what is wrong with this code?
what is wrong with this code?
- Subject: what is wrong with this code?
- From: Nebagakid <email@hidden>
- Date: Sat, 30 Aug 2003 11:30:38 -0400
Hey y'all
this the code I am pushin', but it is giving me some errors and i
cannot figure them out!:
ERRORS:
ShoutSharingController.m:290: incompatible type for argument 3 of
indirect function call
ShoutSharingController.m:293: parse error before '=' token
ShoutSharingController.m:294: parse error before '=' token
CODE:
- (IBAction)changeText:(id)sender {
LogItem *newLogItem = [[LogItem alloc] init];
NSData *representationToSend = [thetextView RTFDFromRange: [self
rangeOfEntireDocument ]];
[newLogItem setLogItemName: [[NSCalendarDate = [NSCalendarDate
calendarDate]];
[newLogItem setLogItemData: [NSData = [NSData representationToSend]];
[LogArray addObject:newLogItem];
[newLogItem release];
currentIndex = [LogArray count] - 1;
[representationToSend release];
[LogArray writeToFile];
}
thanks y'all! (for the NSCalendar date part, i am trying to get today's
date in there!")
_______________________________________________
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.