Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Latest commit

 

History

125 Commits

Folders and files

Repository files navigation

BCITBlurbBoard

This is a project created by Matthew Banman, Alan Lai, Ben Soer, Ryan Sadio and Inderjeet Khangura

#Accessing GlobalAppData GlobalAppData is implemented as a singleton and allows access to regularly needed data on all pages so as to effectively communicate with the API. To access the GlobalAppData object create an instance of it by calling its initialization method

let appData = GlobalAppData.getGlobalAppData();

Then you can access its content with the appropriate method call. To get the user token call:

let token:String = appData.getUserToken();

To get the user type call:

let usertype:String = appData.getUserType();

To get the username call:

let username:String = appData.getUserName();

To get userid call:

let userid:String = appData.getUserId();

To clear all data and reset values to nil call:

appData.clearGlobalAppData();

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages