• 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
XCode 2 upgrade problems... multiple methods with the samenameerrors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XCode 2 upgrade problems... multiple methods with the samenameerrors


  • Subject: XCode 2 upgrade problems... multiple methods with the samenameerrors
  • From: "Stephen C. Jensen" <email@hidden>
  • Date: Wed, 22 Mar 2006 08:10:03 -0800

OK... I'm confused.

I have an application I haven't touched in about a year... I just upgraded to Tiger, so I decided to recompile it in XCode 2 and make it universal. Unfortunately, I ran into a whole slew of errors... most involved multiple methods with the same name. After spending several hours renaming the offending functions, I finally got a clean compile and my first universal app. Whoo hoo! Then, I got to thinking...

... why did I need to rename those functions? Both are defined within an object ("employee"), so when I call [employee uniqueID], why does the compiler complain? Why should there be any conflicts in namespace between my object and [NSEvent uniqueID], or [NSScriptObjectSpecifiers uniqueID]? I always thought that was one of the benefits of object oriented programming... what am I missing? Also, why the complaints now and not with XCode 1? I suspect I have a setting that is different...

any help would be much appreciated... thanks!!!

_______________________________________________
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


  • Follow-Ups:
    • Re: XCode 2 upgrade problems... multiple methods with the samenameerrors
      • From: William Bumgarner <email@hidden>
    • Re: XCode 2 upgrade problems... multiple methods with the samenameerrors
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Any limitations on keychain password?
  • Next by Date: My little file copy/backup program
  • Previous by thread: Any limitations on keychain password?
  • Next by thread: Re: XCode 2 upgrade problems... multiple methods with the samenameerrors
  • Index(es):
    • Date
    • Thread