Created
November 27, 2013 10:36
-
-
Save sag333ar/7673682 to your computer and use it in GitHub Desktop.
STTimeline_twitter_api.h: Header-file for fetching tweets from twitter which works for iOS 7 + iOS 6 + iOS 5
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
// | |
// timeline_twitter_api.h | |
// Twitter demo | |
// | |
// Created by SagarRK on 09/10/13. | |
// Copyright (c) 2013 http://sugartin.info . All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
@protocol timeline_twitter_api_delegate <NSObject> | |
@required | |
- (void)timeline_twitter_api_did_complete:(NSArray*)arrayOfTweets; | |
- (void)timeline_twitter_api_did_fail:(NSError*)error; | |
@end | |
@interface timeline_twitter_api : NSObject | |
@property (nonatomic, strong) id<timeline_twitter_api_delegate> delegate; | |
- (void)getTweetsFortwitterID:(NSString *)twitterName recentTweetsCount:(NSUInteger)count; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment