TWTRTimelineDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TWTRTimelineDelegate.h |
– timelineDidBeginLoading:
The Timeline started loading new Tweets. This would be an appropriate place to begin showing a loading indicator.
- (void)timelineDidBeginLoading:(TWTRTimelineViewController *)timeline
Parameters
timeline |
Timeline controller providing the updates |
---|
Declared In
TWTRTimelineDelegate.h
– timeline:didFinishLoadingTweets:error:
The Timeline has finished loading more Tweets.
- (void)timeline:(TWTRTimelineViewController *)timeline didFinishLoadingTweets:(nullable NSArray *)tweets error:(nullable NSError *)error
Parameters
timeline |
Timeline displaying loaded Tweets |
---|---|
tweets |
Tweet objects loaded from the network |
error |
Error object describing details of failure |
Discussion
If Tweets array is nil
, you should check the error object
for a description of the failure case.
Declared In
TWTRTimelineDelegate.h