Re: creating and using a View xib
Re: creating and using a View xib
- Subject: Re: creating and using a View xib
- From: "David Wilson" <email@hidden>
- Date: Wed, 11 Jun 2008 02:53:05 -0400
On Wed, Jun 11, 2008 at 2:47 AM, Jerry Isdale <email@hidden> wrote:
> I had thought there would be a way to use IB to place the view into the
> window (or tabs).
> Now I think that is incorrect, and I will need to programmatically load the
> nib file and place its contents in the window somehow.
That's correct. You would create a .xib file containing just a view
(and its subviews) if you wanted to load that view on-demand and place
it within some other context. An example might be a "get info" panel
for a specific type of object- each object may have a different
inspector view that you load on demand and then place as the subview
of an inspector panel.
--
- David T. Wilson
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden