Re: Header files and Interface Builder
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