Re: duplicating views
Re: duplicating views
- Subject: Re: duplicating views
- From: "Michael Ash" <email@hidden>
- Date: Fri, 13 Jun 2008 21:57:41 -0700
On Fri, Jun 13, 2008 at 4:05 PM, Torsten Curdt <email@hidden> wrote:
> Hm ...factored out NIBs before. But in this case it just felt a bit award to
> use this for potentially like a few hundred items.
If you use NSNib, you can load the file just once, then instantiate it
many times. This avoids hitting the disk every time you load it. It
will essentially be as fast as the archive/unarchive dance; quite
possibly faster, since NSNib will only do the second half of that.
Mike
_______________________________________________
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