> On 1 Oct 2015, at 5:04 pm, Peter Hudson <peter.hud...@me.com> wrote: > > Legacy code I’m afraid Graham - written some years ago. > I simply want it to look better for now while we're getting on with the > re-write. > The new version indeed uses view-based table views - and works a lot better.
OK, so you’re implying it’s a cell-based table view. That should be no problem - there are delegate methods that allow you to draw the row background (I don’t have docs to hand but I’ve definitely done this myself). Never override -drawRect: on a table view, there are better solutions for your task. That still leaves calculating which rows are separators taking too long, which seems odd to me. Legacy or not, that shouldn’t be taking significant time. —Graham _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com