On Fri, Mar 20, 2009 at 2:19 PM, Stuart Malin <stu...@zhameesha.com> wrote: > I have a Nib file containing a single NSView that contains several controls. > I need to make numerous copies of this view (which are placed as subviews of > some containing view). Presently, I load the Nib for each occurrence needed. > But I now wonder if this is the best approach (going back to the Nib file > and loading each time).
This is "the usual way" in Cocoa. If you're having performance issues, profile the code and address them specifically, but you're on the right track as far as the way it's normally done. -- 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