• 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: Header files and Interface Builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Header files and Interface Builder


  • Subject: Re: Header files and Interface Builder
  • From: Seth Willits <email@hidden>
  • Date: Sun, 16 May 2010 15:00:11 -0700

It figures. Just after sending this I figured out what was going on and I made some mistakes in describing the situation. So please ignore the first email entirely. Let's try this again:

I have an Xcode project for an application with a project dependency to project which creates a framework. The framework has public header files defining classes which are used in xib files belonging to the application's project.

As far as I know, the only way to get IB to recognize the existence of those classes is to drag the header files from the framework into the IB window. So say for instance, I drag the files from /path/Framework/Source/... into IB. The problem with that is that IB stores the relative paths from the nib to those files, which means that those relative paths must not change for the xib to work. But of course those paths *will* change if /path/Framework is absolute, and the project moves around. Even creating a branch means the project is now a layer deeper into the file system, and the relative path to the /path/Framework/Source is now broken.

How can I deal with this?

Does IB ever smartly just look at the public headers of linked-to frameworks in the Xcode project?


--
Seth Willits



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Header files and Interface Builder (From: Seth Willits <email@hidden>)

  • Prev by Date: Header files and Interface Builder
  • Next by Date: Applescript for XCode fails: error -1728, group can't be accessed
  • Previous by thread: Header files and Interface Builder
  • Next by thread: Applescript for XCode fails: error -1728, group can't be accessed
  • Index(es):
    • Date
    • Thread