Re: Problem loading IB plugin [solved]
Re: Problem loading IB plugin [solved]
- Subject: Re: Problem loading IB plugin [solved]
- From: Rick Hoge <email@hidden>
- Date: Wed, 21 Nov 2007 16:00:27 -0500
Hi Sean,
This is how the template does it - I notice that IB's file open sheet
for adding a plugin does not allow you to look inside frameworks. I
Correct, and most annoying. You can also use Finder to get 'inside'
the
framework, then drag the .ibplugin to IB's pref window.
I noticed that once I had the framework in the right place, it was
enough to select the framework in the IB Preferences panel.
On 11/21/07 9:21 AM, Rick Hoge said:
The only other minor annoyance is that the views I want to support in
this way can't operate exclusively under Garbage Collection but
that's
another matter... the views in question don't have particularly
complex memory management needs and you can still run in GC mode when
actually used in an app, right? It's just IB that is not GC.
Correct. We also had to sprinkle retain/release's all over some
nice GC-
only code to be able to have a correctly working IB plugin. Pity.
When
the code is used in IB, the retain/release do something, when used in
your GC app they becomes NOPs. Similarly, your code must also be 32-
bit
clean, since IB is a 32-bit only app.
But presumably if you build your framework as a fat binary you could
still link it into a 64 bit app?
Having to keep all the retain/release cruft around is certainly
painful in an otherwise GC app - I guess I have to weigh the pain of
this against the convenience of being able to easily re-use custom
views and UI widgets...
Rick
_______________________________________________
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