Re: Using the #import directive
Re: Using the #import directive
- Subject: Re: Using the #import directive
- From: Jeremy Pereira <email@hidden>
- Date: Mon, 05 Apr 2010 11:51:06 +0100
On 2 Apr 2010, at 00:59, Steve Cronin wrote:
>
> On Apr 1, 2010, at 5:58 PM, Jens Alfke wrote:
>
>>
>> On Apr 1, 2010, at 3:51 PM, Steve Cronin wrote:
>>
>>> I have an import statement like the last example but I can't find any "bar" directory
>>> I'm unable to determine the particular instance of "foo.h" that is being used here…
>>
>> Select "bar/foo.h" and press Cmd-Shift-D (File > Open Quickly). That should open the header. Then you can command-click the window title to see the path.
>>
>> —Jens
>
> Jens;
>
> Thanks for this and it did allow me to find the offending file.
>
> I now would like to specify a different remote source for a few headers.
> I have set 'Header Search Paths" to "$(SRCROOT)/../../dir1/dir2" (recursive checked)
>
> I can't seem to figure out how to refer to them in the #import statement…
> #import "dir2/foo.h" -- no such
> #import "/foo.h" -- no such file..
>
> How do I do this?
Have you tried #import "foo.h" yet?
>
> Thanks for helping out here!
> Steve_______________________________________________
>
> 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