I am still studying for passing function as parameter.
Currently, I can do like this.
- (void)getLocation:(void (^)(CLLocation *location))didUpdateLocation andTimeOut:(void (^)(void))timeout andDidFailUpdate:(void (^)(void))didFailUpdate
What I want to know is that "didUpdateLocation" can have multiple parameter? (Instead of just CLLocation *location) ? Currently, I can't find about syntax for that.