Re: Notifications
Re: Notifications
- Subject: Re: Notifications
- From: Simon Stapleton <email@hidden>
- Date: Tue, 28 Aug 2001 20:04:08 +0100
Thanks Georg.
...and, of course, there you have it. I'd come to the conclusion I'd
need to roll something like that myself, but, as usual, it's already
been done for me. I love Cocoa.
It sort of hammers home the lesson that no matter what problem you want
to solve, somebody will have solved it already.
On Tuesday, August 28, 2001, at 05:03 PM, Georg Tuparev wrote:
Simon,
Three suggestions:
1. Check the NSNotificationQueue class, and in particular the section
about Coalescing Notifications;
2. Be sure to send more general notifications containing the model
object (or even better, the changed part)
3. While in drawRect: method remember to redraw only parts of the view
that are exposed (e.g. do not make the mistake to ignore the aRect
parameter).
hope this helps
...
On Tuesday, August 28, 2001, at 12:47 PM, Simon Stapleton wrote:
Has anyone got any ideas as to how to get round this or reduce the
impact?
Georg Tuparev
Klipper 13
1186 VR Amstelveen
The Netherlands
Mobile: +31-6-55798196
--
Your mouse has moved. You must restart Windows NT for this change to be
recognised.