Re: Cannot find protocol declaration for 'NSTableViewDelegate'
Re: Cannot find protocol declaration for 'NSTableViewDelegate'
- Subject: Re: Cannot find protocol declaration for 'NSTableViewDelegate'
- From: "Sean McBride" <email@hidden>
- Date: Fri, 5 Nov 2010 13:38:50 -0400
- Organization: Rogue Research Inc.
On Fri, 5 Nov 2010 06:30:08 -0400, Thomas Wetmore said:
>Here is a followup. I have taken a few suggestions to no effect yet. I
>found something suggestive, however. If I preprocess the offending file,
>the preprocessor output has the line...
>
>@interface NSObject(NSTableViewDelegate)
>
>which proves that a pre-10.6 version of NSTableView.h was really
>included. Both my root SDK and deployment SDK are set to 10.6, and the
>version of the header file that shows in the Frameworks section in the
>Xcode project is the 10.6 version. I've been checking other settings but
>nothing is suspicious yet. Now I'm starting to wonder whether there may
>be a precompiling issue. I've cleaned the project and its static
>libraries with the option to rebuild the precompiled headers to no
>effect. I've tried all versions of the compiler with no effect. I'm
>running Xcode 3.2.4.
>
>Here is something else interesting. Based on a suggestion I created an
>empty Cocoa app and added the NSTableViewDelegate protocol to the
>application delegate's interface, and everything was fine; that is, the
>proper 10.6 version of NSTableView.h got included. So there MUST be
>something esoteric and wrong about my target build settings. This result
>changes from a Cocoa issue to an Xcode one. I may re-summarize and post
>there if I can't find the problem. Any other suggestion gratefully welcome.
Are you sure you're using the 10.6 SDK? Did you check project-level and
target-level settings? And xcconfig files?
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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