[Sparkle] Quiet mode?
Uli Kusterer
kusterer at gmail.com
Wed Feb 20 09:48:21 PST 2008
On 13.02.2008, at 19:03, Rob Napier wrote:
> Do you believe the answer here is delegation or notification? I was
> originally thinking of adding a master "passive mode" key in
> Info.plist and then having everything be handled through
> NSNotifications and calls from the app into the Sparkle singleton
> (which would work exactly the same way whether passive mode were
> turned on or not).
IMHO, delegation is much better for this and it is more flexible.
Notifications are for stuff where someone wants to know about
something to do something unrelated. Delegation is for when someone
has to do something on behalf of someone else, or decide what someone
else should do.
Also, this means that people who are e.g. implementing Kiosk systems
can use custom UI for their requests using the same mechanism that has
to be maintained for people who want quiet updates, so, less work for
the maintainer(s), more eyeballs on the same code.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
More information about the Sparkle
mailing list