| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
_______________________________________________
On Jan 29, 2004, at 8:42 AM, 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.
It's quite possible that a redesign may greatly ease the situation. Why do all these objects have to send notifications to the controller? Is there no way that the controller can be notified of an event, and it simply messages the objects directly?
If the "notifications" have to be sent from the objects, and you're running on Mac OS X 10.3, you might consider using key-value observing, which may be more efficient -- and more flexible.
<http://developer.apple.com/documentation/Cocoa/Conceptual/ KeyValueObserving/index.html>
mmalc
| References: | |
| >Designing for multitudinous objects (From: Erez Anzel <email@hidden>) | |
| >Re: Designing for multitudinous objects (From: mmalcolm crawford <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.