Re: Switching Contents of NSView
Re: Switching Contents of NSView
- Subject: Re: Switching Contents of NSView
- From: Pierce Freeman <email@hidden>
- Date: Sun, 05 Jul 2009 15:42:27 -0700
- Thread-topic: Switching Contents of NSView
That makes sense - I'll definitely try that! And just asking, but from the
first link you sent, what does this return? [NSBundle
loadNibNamed:@"someNibFile" owner:d]; My assumption is that it's not a
view.
On 7/5/09 3:31 PM, "I. Savant" <email@hidden> wrote:
> On Jul 5, 2009, at 6:30 PM, Pierce Freeman wrote:
>
>> And for the NSView function that
>> you suggested, does this replace all the subviews in that view as I
>> will
>> most likely have more then one?
>
> Read the documentation. It replaces the view you specify with the
> other view you specify. Put each group in their own container views,
> then only swap the containers ...
>
> --
> I.S.
>
>
_______________________________________________
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