IOS新闻APP

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
        UIBarButtonItem *refresh = [[UIBarButtonItem alloc]initWithBarButtonSystemItem:UIBarButtonSystemItemRefresh target:self action:@selector(refreshData:)];
        refresh.tintColor = [UIColor whiteColor];
        self.navigationItem.rightBarButtonItem = refresh;
        
    }
    return self;
}