Tag Info

New answers tagged


The singleton pattern may be of advantage. Even though you say the methods are stateless, the implementation isn't necessarily, and then having an object holding the state will be useful. As a simple example, the loginWithEmail: ... is probably asynchronous and you don't want to have another call while the first one is running. That's difficult without ...

Top 50 recent answers are included