-
-
Save fdonzello/6d9737852290466f27d212d2650489dc to your computer and use it in GitHub Desktop.
use
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// creazione classe che gestisce le api per i feeds | |
FBLFeedsApi *feedsApi = [[FBLFeedsApi alloc] initWithFBLNetworkManager:BRIDGE_NETWORK_NEW_MANAGER]; | |
// chiamata alle api (bloccante) | |
FBLFeedResponse *feedResponse = [feedsApi get]; | |
if ( [feedResponse isSuccess] ) | |
{ | |
// ogni response è uguale. isSuccess, getData, .... | |
[feedResponse getData].... | |
} else { | |
// mostra errore: getError | |
// nel caso dei form la response per esempio SignupResponse avrà metodi tipo hasEmailError, hasPasswordError, ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment