Just as my title already says.
My method looks a bit like this.
Sorry the code is really not related.
How to exit the method after I'm initializing my next viewcontroller?
My method looks a bit like this.
Sorry the code is really not related.
Code:
-(void)updateData {
//Loading current data in plist
//Doing some preperations and styling
//If we don't have network connection or host is offline
//Exit this function and init error viewcontroller
//checking current data with online data and update
//whilst we stay on this viewcontroller
}
How to exit the method after I'm initializing my next viewcontroller?
Last edited: