Re: IB3 - Trouble recognizing objects in custom frameworks
Re: IB3 - Trouble recognizing objects in custom frameworks
- Subject: Re: IB3 - Trouble recognizing objects in custom frameworks
- From: Kevin Cathey <email@hidden>
- Date: Tue, 26 May 2009 16:17:10 -0700
Seth,
You are correct. With IB 3, we do not automatically search frameworks
you link against. (This is a known issue, so there is no need to file
an additional bug).
If you have your own custom frameworks, then if the nibs you are
editing are part of the same Xcode project, then IB would be able to
parse the outlets and actions correctly (for example if you were
building a GUI and a CLI and wanted a common framework so you had all
three products in the same project). But in your case it sounds like
you have two frameworks that are not in the same Xcode project as the
applications you are working on. In this case, as you pointed out, the
best option is to build an IB plugin that has class descriptions for
your custom subclasses.
Kevin
On 26 May 2009, at 14:03, Seth Willits wrote:
Howdy,
I have two custom frameworks with a bunch of objects defined in
them, that I want IB3 to recognize. For instance, I have an
NSWindowController subclass defined in the framework, a subclass of
that class in my app, and instance of it in a xib in my app. I
simply want IB3 to recognize "this obj is an NSWindowController
subclass" and offer me the outlets and actions defined in
NSWindowController, and my two subclasses. I don't need any custom
inspectors or anything - I just need it to show me the outlets and
actions.
IB3 doesn't seem to search the headers of frameworks linked in my
app, and sadly, there doesn't seem to be a way to tell IB3 to watch
a particular framework. I thought I could at least manually tell IB3
to read each individual header file from within the framework, but
even that didn't work.
It seems the *only* way I can get IB3 to automatically show me the
outlets and actions is if I add an instance of the object to a
library defined in an IB plugin. Is this really true?
--
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