Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zoul/singletons-suck
- Owner: zoul
- Created: 2012-02-24T08:49:45.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-03T15:04:10.000Z (over 10 years ago)
- Last Synced: 2023-04-19T04:16:33.911Z (over 1 year ago)
- Language: Objective-C
- Homepage: http://zmotula.tumblr.com/post/1390385240/why-singletons-suck
- Size: 122 KB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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