I. Savant

Depending on the method in which you suggest, I may know how to use load the
nib - but I'll take a look at the link.  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?


On 7/5/09 3:21 PM, "I. Savant" <idiotsavant2...@gmail.com> wrote:

> On Jul 5, 2009, at 6:18 PM, Pierce Freeman wrote:
> 
>> I am making an application that has a choice of what function the
>> user wants
>> to perform.  When the user clicks on their choice, I want a NSView
>> to take
>> on the contents of a specific nib file.  I assume there must be a way
>> (hopefully) easy that this is accomplished with, as most
>> applications must
>> do something like this with their user interface.
> 
> 
>    Do you need help figuring out how to load the NIB[1], replace the
> view[2], or both?
> 
> 1 - http://cocoadevcentral.com/articles/000064.php
> 2 - -[NSView replaceSubview:with:] -
> http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classe
> s/nsview_Class/Reference/NSView.html#//apple_ref/occ/instm/NSView/replaceSubvi
> ew:with:
> 
> 
> --
> I.S.
> 
> 
> 
> 


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to