• 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
what is wrong with this code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: what is wrong with this code?
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: Re: OT -Someone is spoofing my email address
  • Next by Date: Re: what is wrong with this code?
  • Previous by thread: Re: OT -Someone is spoofing my email address
  • Next by thread: Re: what is wrong with this code?
  • Index(es):
    • Date
    • Thread