Last active
January 10, 2016 11:29
-
-
Save lvandyk/e5878cc56d013a2400aa to your computer and use it in GitHub Desktop.
LIVXUserClass-iOS Example Usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Example Usage | |
User *user = [User currentUser]; | |
user.firstName = @"John"; | |
user.lastName = @"Doe"; | |
user.accessToken = @"theaccesstoken"; | |
user.isLoggedIn = YES; | |
[user save]; // Saved to persistence! | |
NSLog(@"First name is %@", [User currentUser].firstName); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment