On 15.04.2013, at 12:44, Tom Davie <[email protected]> wrote:
> Note also – simply using your app delegate as a store for things that aren't 
> singletons, but only one of them is pointed at by your app delegate is also 
> horrific – you're just substituting one singleton for another.

If it were only that! At least singletons only pull in dependencies from their 
problem domain into any module that uses them. If you instead implement them in 
the app delegate, all that code not only bloats the app delegate, its 
dependencies also make all these singletons recompile whenever only one of them 
changes.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de



_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to