TWTimelineViewController.m 660 Bytes
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
//
// TWTimelineViewController.m
// TwitterKitExample
//
// Created by DongSoo Lee on 2015. 12. 8..
// Copyright © 2015년 DongSoo Lee. All rights reserved.
//

#import "TWTimelineViewController.h"

@implementation TWTimelineViewController

- (void) viewDidLoad {
[super viewDidLoad];

self.title = @"트위터 타임라인";

TWTRAPIClient *client = [[TWTRAPIClient alloc] init];
self.dataSource = [[TWTRUserTimelineDataSource alloc] initWithScreenName:@"fabric" APIClient:client];
// self.dataSource = [[TWTRSearchTimelineDataSource alloc] initWithSearchQuery:@"#fabricdev" APIClient:client];

self.showTweetActions = YES;
}

@end