All Questions
8 questions
3
votes
1
answer
265
views
Multilingual app without localizing
I'm making an iOS app which supports multiple languages but not in the built-in localized way. In iOS, for localization to work, the user has to change the device's language. But in the app I'm ...
2
votes
1
answer
497
views
Fed Singleton struct class from plist
I have a plist file which has URLs in it and struct class is feeding from this plist. This struct class has static variable which I use to reach URLs in every part of the app. My question is that I'm ...
1
vote
2
answers
278
views
Optimizing UITableViewCell with singleton property
In UITableViewCell class, I have two properties:
UINavigationController
...
2
votes
0
answers
202
views
Comments on singleton Swift status bar alert
I was trying out some projects like a status bar alert. It made most sense for this status bar to be a singleton: there is only one alert visible at a time.
...
6
votes
3
answers
1k
views
Loading Configurations from plist into singleton
In my iOS application, I've created a singleton class that reads a configuration plist file and provides accessor methods to easily retrieve the values:
...
38
votes
4
answers
30k
views
Swift 1.2 Singleton Implementation
I am pretty new to Swift, as a solo developer I was wondering if somebody could pass comments on the singleton implementation below. The code does work, but being new to Swift and knowing that there ...
4
votes
1
answer
693
views
Singleton With Sub-Singletons
I've found myself wanting an easy way to implement chat into various apps, so I developed a set of classes for the firebase.com backend that make it easy for me to quickly set up the nuts and bolts of ...
2
votes
2
answers
987
views
I need code review on using singleton to access local database
As I get to some performance issues in my app and find that I use database access in a bad way.
So I decided to move to singleton pattern.
I need someone to review this code and confirm me that I made ...