Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zoul/singletons-suck

Sample Xcode project showing how to wire an app without singletons
https://github.com/zoul/singletons-suck

Last synced: 10 days ago
JSON representation

Sample Xcode project showing how to wire an app without singletons

Awesome Lists containing this project

README

        

This sample Xcode project shows how to wire an iOS application without
explicit use of the singleton pattern, [which I find mostly harmful][1].
The resulting code exhibits less coupling, lends easier to testing and
copes better with changes (which follows from the loose coupling). It
has been tested in many iOS apps.

[1]: http://zmotula.tumblr.com/post/1390385240/why-singletons-suck