I'm building an iOS application which fetches all of it's data from an online API.
The API requires that the user is validated before other resources may be accessed and each subsequent request must send a valid session ID.
What's the best way to persist the session ID from controller to controller?
Set it as a global somewhere? Save it as an entity? Or pass it as an attribute from controller to controller at each segue?
Advice appreciated