Re: Class UITableViewCellContentView is implemented in both <here> and <there>. One of the two will be used. Which one is undefined.
Re: Class UITableViewCellContentView is implemented in both <here> and <there>. One of the two will be used. Which one is undefined.
- Subject: Re: Class UITableViewCellContentView is implemented in both <here> and <there>. One of the two will be used. Which one is undefined.
- From: Luke Hiesterman <email@hidden>
- Date: Fri, 08 Apr 2011 08:33:32 -0700
It means that UIKit now defines a class called UITableViewCellContentView and that collides with one of your classes. Objective C has this inherent weakness that if a class with the same name is implemented in more than one place, they fight for which one gets used. Since you can't change UIKit, you will have to change the name of your class. While you're at it, I'd recommend not prefixing your own class names with UI or other apple prefixes such as NS. It will help you avoid this situation in the future.
Luke
On Apr 7, 2011, at 10:50 PM, Laurent Daudelin <email@hidden> wrote:
> Back working on an old project I haven't touched in maybe over a year. Updated the project file with the latest SDK, clean all targets and rebuilt.
>
> Now, when I launch the app in the simulator (any version of iOS), I'm getting this stupid error:
>
> Class UITableViewCellContentView is implemented in both /Users/laurent/Library/Application Support/iPhone Simulator/4.0.2/Applications/EB19DD7A-2905-4625-8120-B6A8432318D7/<iOS App>.app/<iOS App> and /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.sdk/System/Library/Frameworks/UIKit.framework/UIKit. One of the two will be used. Which one is undefined.
>
> I googled the first part of the error and found a few, old references about an old bug that was in the framework but with the recent SDKs still doing it, I don't understand.
>
> What's wrong with this and what am I missing?
>
> Thanks in advance!
>
> -Laurent.
> --
> Laurent Daudelin
> AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
> Logiciels Nemesys Software email@hidden
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden