iOS eCommerce App Development with Parse by Liangjun Jiang

iOS eCommerce App Development with Parse by Liangjun Jiang

Author:Liangjun Jiang
Language: eng
Format: epub, pdf
ISBN: 9781484213186
Publisher: Apress


- (void)viewDidLoad {

[super viewDidLoad];

self.activityIndicatorView.hidden = YES;

}

The helper method -(void)updateIndicator updates the UI. When making a Facebook API request, you want to disable the left bar button item to prevent the user from skipping the login process. You also use this method to show or hide the indicator.

-(void)updateIndicator:(BOOL)shouldEnable{

self.navigationItem.leftBarButtonItem.enabled = !shouldEnable;

(shouldEnable)?[self.activityIndicatorView startAnimating]:[self.activityIndicatorView stopAnimating];

self.activityIndicatorView.hidden = !shouldEnable;



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.