| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 29. Jan 2004, at 17:42, Erez Anzel wrote:_______________________________________________
In a nutshell, I could have around 100,000 objects which the user imports/selects/edits/whatever, all in one command. Currently each object broadcasts a notification when it is changed, and each window controller is an observer. [...]
What can the receiver do with this notification? I mean, if n points change, is there anything besides simply redrawing everything in the bounding box of these n points?
If not, then each point can simply extend the containers bounding box (marking "changes") and before returning to the event loop, the container can send a notification (if the bounding box is != 0).
I would think that this also remove some logic from the various views, cause rather than recieve info that a polygon was moved, a line changed colour and a point was added, it will simply be told to redraw a box containing these changes (applying whatever transformations to map this box to view coordinates).
--
http://www.top-house.dk/~aae0030/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| References: | |
| >Designing for multitudinous objects (From: Erez Anzel <email@hidden>) | |
| >Re: Designing for multitudinous objects (From: Allan Odgaard <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.