Re: Interface Builder: Images Tab - where do they come from
Re: Interface Builder: Images Tab - where do they come from
- Subject: Re: Interface Builder: Images Tab - where do they come from
- From: "Isaac Wankerl" <email@hidden>
- Date: Wed, 19 Apr 2006 13:00:41 -0500
On 4/19/06, email@hidden <email@hidden> wrote:
> I am using Interface Builder with a Carbon CodeWarrior 9 project (yes,
> I do plan to switch to X-Code soon).
>
> There is a mystery I would like to solve and the Interface Builder
> documentation is non-existent with respect to how the Images tab works
> in this case.
>
> The short summary is that I am seeing a lot of items in the Images tab
> and I do not know how they are getting in there.
>
> When I open my nib file, which is located in the same folder as the
> project file and select the Images tab, I see 70+ PICTs, ICNSs, etc.
> appear. Now, I recognize all of these items as they are associated with
> my application, but I am uncertain how Interface Builder knew to
> display them in the Images tab. I am not aware of anything I may have
> done to make this happen.
>
> I have opened up the various XML files in the nib and the Interface
> Builder plist, but saw nothing in them that pointed to the resource
> file(s) these PICTs, etc. are stored in.
>
> The resource files in the project folder, which contain these PICTs,
> etc. are resource fork files. They are made into datafork versions for
> the final build of the application and the application exists outside
> of the project folder.
>
> The PICTs, etc. in the Images tab cannot be deleted. When selecting
> some of them, the Attributes area in the Inspector shows Location: n/a.
>
>
> Can anyone explain this? Is there documentation covering this anywhere?
>
> I would like to make use of the Images tab, but cannot really do so
> until I understand how it works.
The interaction between IB and CW is controlled through the file at
"/Developer/IBBundles/CWIB.bundle". Basically, when you open a nib
file, IB asks CW if it belongs to a project. If so, CW lets IB know
which .rsrc files are in the same targets as the nib. IB takes care
of parsing the rsrc file for the pictures. I haven't looked in a
while, but IB's documentation or release notes used to say which
particular resource types it will display in the Images tab.
Isaac
_______________________________________________
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