0

In ios development I get the token id while app startup. I am using a MVC and I have to use this token-id at a couple of other controllers. Whats the best way to access the token id ?

1 Answers1

0

Shared/ Singleton Class will serve your purpose.

How to create singleton class in objective C

Singleton shared data source in Objective-C

Community
  • 1
  • 1
Anoop Vaidya
  • 46,283
  • 15
  • 111
  • 140