[SOLVED] Re: [noob] Best practice for creating multiple instances of a View

2009-03-22 Thread Stuart Malin
On Mar 20, 2009, at 11:08 AM, Stuart Malin wrote: On Mar 20, 2009, at 10:09 AM, mmalc Crawford wrote: Modulo other's comments about premature optimisation, if you want to avoid going back to the disk:

Re: [noob] Best practice for creating multiple instances of a View

2009-03-20 Thread Stuart Malin
On Mar 20, 2009, at 10:09 AM, mmalc Crawford wrote: Modulo other's comments about premature optimisation, if you want to avoid going back to the disk:

Re: [noob] Best practice for creating multiple instances of a View

2009-03-20 Thread mmalc Crawford
On Mar 20, 2009, at 11:19 AM, Stuart Malin wrote: 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). Is there an alternative way to achieve this -- perhaps placing the target NSView in som

Re: [noob] Best practice for creating multiple instances of a View

2009-03-20 Thread Kyle Sluder
On Fri, Mar 20, 2009 at 3:38 PM, Stuart Malin wrote: > Appreciate the comments regarding premature optimization. I wasn't trying to > optimize -- I had just been looking to validate that I was going about > handling the situation the smartest way.  Although nothing had appeared to > me as "more ob

Re: [noob] Best practice for creating multiple instances of a View

2009-03-20 Thread Stuart Malin
On Mar 20, 2009, at 9:30 AM, I. Savant wrote: On Fri, Mar 20, 2009 at 2:53 PM, Stuart Malin wrote: Thanks for the quick reply and the assurance. No performance issues -- just had been wondering about the effect of going back to disk every time I need one of these views (which will be f

Re: [noob] Best practice for creating multiple instances of a View

2009-03-20 Thread I. Savant
On Fri, Mar 20, 2009 at 2:53 PM, Stuart Malin wrote: > Thanks for the quick reply and the assurance.  No performance issues -- just > had been wondering about the effect of going back to disk every time I need > one of these views (which will be frequent and there will be many). Perhaps > the fac

Re: [noob] Best practice for creating multiple instances of a View

2009-03-20 Thread Kyle Sluder
On Fri, Mar 20, 2009 at 2:53 PM, Stuart Malin wrote: > Thanks for the quick reply and the assurance.  No performance issues -- just > had been wondering about the effect of going back to disk every time I need > one of these views (which will be frequent and there will be many). Perhaps > the fact

Re: [noob] Best practice for creating multiple instances of a View

2009-03-20 Thread Stuart Malin
On Mar 20, 2009, at 8:38 AM, I. Savant wrote: On Fri, Mar 20, 2009 at 2:19 PM, Stuart Malin 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

Re: [noob] Best practice for creating multiple instances of a View

2009-03-20 Thread I. Savant
On Fri, Mar 20, 2009 at 2:19 PM, Stuart Malin 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

[noob] Best practice for creating multiple instances of a View

2009-03-20 Thread Stuart Malin
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