Hey all,
When a user logs in, I want to store that user instance in a method called currentUser. And in all my UIViewController classes, I would like to access certain properties of the currentUser, such as its email and id. I tried creating a category, but it would not allow me to synthesize because it doesnt allow instance variables. I do not want to subclass. Is there another way to do this?
thanks for response
When a user logs in, I want to store that user instance in a method called currentUser. And in all my UIViewController classes, I would like to access certain properties of the currentUser, such as its email and id. I tried creating a category, but it would not allow me to synthesize because it doesnt allow instance variables. I do not want to subclass. Is there another way to do this?
thanks for response