-
Notifications
You must be signed in to change notification settings - Fork 2
Front End Interface Guide
Donny Chen Reynolds edited this page Jun 14, 2014
·
2 revisions
This document contains two parts.
Part I: documents what MainController.m provides for DataManager.m to use Part II: documents what InterfaceProtocol requires DataManager to have
###Login Procedures
/*
@param url NSURL object containing the authentication URL
*/
- (void)promptForLoginWithPreparedURL:(NSURL *)url;
/*
Closes login sheet after login completes
*/
- (void)closeLoginSheet;
/*
@param url NSURL object that contains logout parameters
Instruct the front end to handle logout procedures
*/
- (void)logOutWithURL:(NSURL*)url;
###Notifications
/*
@param note DNNotification custom notification
Tells front end to send an NSNotification. Information is encapsulated in DNNotification class
*/
- (void)notifyUser:(DNNotification *)note;
##Part II: InterfaceProtocol Requirements