How to react to asynchronous events (login)?
问题 I am implementing some Facebook functionality in my iPhone app right now which needs an app login. The login itself isn't a problem any more, it's working. But due to the fact that the Facebook SDK works with events, I don't know how to perform my action as a reaction to a successful login. For example: I have a method - (void)refreshEvents; This method needs to call the login method to make sure that the action can actually be performed. So I call [self checkLogin] - but what now? How can I