Indivo Framework (iOS)
An iOS framework for Apps connecting to Indivo server
 All Classes Functions Variables Properties Pages
Instance Methods | List of all members
<IndivoServerDelegate> Protocol Referenceabstract

The Indivo Server Delegate Protocol. More...

#import <IndivoServer.h>

Inherits <NSObject>.

Instance Methods

(void) - userDidLogout:
 This delegate method is called when the user logs out. More...
 
(UIViewController *) - viewControllerToPresentLoginViewController:
 Return a view controller from which you want to present the login view controller. More...
 

Detailed Description

The Indivo Server Delegate Protocol.

Method Documentation

- (void) userDidLogout: (IndivoServer *)  fromServer

This delegate method is called when the user logs out.

You must implement this method in your delegate, and ideally unload all record data once the user logs out.

Remarks
The delegate MUST respond to this method.
Parameters
fromServerThe server from which the user disconnected
- (UIViewController *) viewControllerToPresentLoginViewController: (IndivoLoginViewController *)  loginViewController

Return a view controller from which you want to present the login view controller.

The login view controller will be passed into this method so you can customize its chrome.

Remarks
The delegate MUST respond to this method.
Parameters
loginViewControllerThe login view controller about to load the login screen
Returns
A view controller from which to present the login view controller

The documentation for this protocol was generated from the following file: