• 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
Re: Using the #import directive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Using the #import directive (From: Steve Cronin <email@hidden>)
 >Re: Using the #import directive (From: Jens Alfke <email@hidden>)
 >Re: Using the #import directive (From: Steve Cronin <email@hidden>)

  • Prev by Date: Re: Why doesn't -[NSArrayController selection] et al fire keyPathsForValuesAffectingKey?
  • Next by Date: NSMutableURLRequest: How to change Request URI?
  • Previous by thread: Re: Using the #import directive
  • Next by thread: Re: Using the #import directive
  • Index(es):
    • Date
    • Thread