TWTRComposerViewControllerDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TWTRComposerViewController.h |
– composerDidCancel:
Called when the user taps the cancel button. This method will be called after the view controller is dismissed.
- (void)composerDidCancel:(TWTRComposerViewController *)controller
Declared In
TWTRComposerViewController.h
– composerDidSucceed:withTweet:
Called when the user successfully sends a Tweet. The resulting Tweet object is returned. This method is called after the view controller is dimsissed and the API response is received.
- (void)composerDidSucceed:(TWTRComposerViewController *)controller withTweet:(TWTRTweet *)tweet
Declared In
TWTRComposerViewController.h
– composerDidFail:withError:
This method is called if the composer is not able to send the Tweet. The view controller will not be dismissed automatically if this method is called.
- (void)composerDidFail:(TWTRComposerViewController *)controller withError:(NSError *)error
Declared In
TWTRComposerViewController.h