Re: Interface Builder plug-in 'chicken and egg' problem
Re: Interface Builder plug-in 'chicken and egg' problem
- Subject: Re: Interface Builder plug-in 'chicken and egg' problem
- From: Jonathan Hess <email@hidden>
- Date: Tue, 11 Nov 2008 10:58:34 -0800
On Nov 11, 2008, at 10:53 AM, Cathy Shive wrote:
Thanks Jon,
I replaced the .xib files with .nib files, as Jack suggested, and
everything is working great.
Making an IB plug-in can be a real mind warp! Just out of
curiosity, did you guys use IB to make IB? ;-)
You bet, and we use XIB files too.
Jon Hess
All the best,
Cathy
On Nov 11, 2008, at 7:39 PM, Jonathan Hess wrote:
Hey Cathy -
When ibtool compiles a XIB file, it needs all of the frameworks and
plug-ins used to create that XIB file. As you've pointed out, you
can easily walk into a circular dependency issue if you're building
a plug-in that uses XIB files authored with the plug-in.
If you're going to build a plug-in and then use XIB files in the
plug-in or it's dependencies, you'll either need to have a copy of
your plug-in installed someplace on the system where ibtool will
find it, or you'll need to use NIB 3.x files instead of XIB files
in those frameworks and projects.
As Jack pointed out, using NIB 3.x files is the most
straightforward way to avoid the circular dependency -
Jon Hess
On Nov 11, 2008, at 5:27 AM, Cathy Shive wrote:
On Nov 11, 2008, at 2:22 PM, Jack Nutting wrote:
I'm not at all sure about this, but I think that the reason it
always wants to compile .xib to .nib is that .xib is still not a
"native" format, or at least not the preferred format; I don't
know if the bundle system can even open them at runtime, the way
it can open .nib files.
Yeah, OK that make sense, I forgot about that. Thanks :)
Which seems to suggest a sort of workaround: How about including
the compiled .nib files with your project, instead of the .xib
files?
I think that's what I'll have to do. This was my first project
with .xib files! Guess I'll just have to hold off a bit longer.
Thanks,
Cathy
_______________________________________________
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
_______________________________________________
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