Alfresco/alfresco-ios-sdk — pull request #73 by pwschmidt (2012-11-23 15:07:51+00:00)
Title: Refresh Token implemented

* ServerSelectionTableViewController: saves the oauth data to disk using NSKeyedArchiver. The class also implements the OAuthLoginDelegate protocol in case there are errors in connection (or Deny is selected at the login screen)
* SamplesViewController:
- implements the OAuthLoginDelegate to handle connection errors
- when refresh row is selected: i.) the archived oauth data are restored using NSKeyedUnarchiver, ii.) they are updated using the refresh method of OAuthHelper, iii.) the refreshed oauth data are saved to disk using NSKeyedArchiver
- an Activity view is shown while refresh is taking place
- a UIAlertView is shown once the refresh is complete (or in case an error occurred)