Thanks Luke. I initially didn't understand how I could have done this because I'm careful about the names I give my classes, having done Objective-C for 15 years. But I found one implementation. I remember yesterday when googling that there was an issue on Stack Overflow at some point with SDK 3.2 where an exception was raised when trying to load a nib. Someone had suggested to create an almost empty implementation of UITableViewCellContentView to work around that problem. I guess I need to remove that remnant.
Thanks for pointing that out. I would have searched a bit because I didn't remember creating that duplicate! -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesys Software laur...@nemesys-soft.com On Apr 8, 2011, at 08:33, Luke Hiesterman wrote: > 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 <laur...@nemesys-soft.com> > 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 laur...@nemesys-soft.com >> >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> 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: >> http://lists.apple.com/mailman/options/cocoa-dev/luketheh%40apple.com >> >> This email sent to luket...@apple.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com