NewsBlur/clients/ios/Classes/ProfileBadge.h

45 lines
1.1 KiB
C
Raw Normal View History

2012-07-02 15:41:16 -07:00
//
2012-07-09 21:13:06 -07:00
// ProfileBadge.h
2012-07-02 15:41:16 -07:00
// NewsBlur
//
// Created by Roy Yang on 7/2/12.
// Copyright (c) 2012 NewsBlur. All rights reserved.
//
#import <UIKit/UIKit.h>
@class NewsBlurAppDelegate;
@interface ProfileBadge : UITableViewCell {
2012-07-02 15:41:16 -07:00
NewsBlurAppDelegate *appDelegate;
UIImageView *UserAvatar;
UILabel *username;
UILabel *userLocation;
UILabel *userDescription;
UILabel *userStats;
UIButton *followButton;
NSDictionary *activeProfile;
UIActivityIndicatorView *activityIndicator;
2012-07-02 15:41:16 -07:00
}
2012-07-15 15:06:06 -07:00
@property (nonatomic) NewsBlurAppDelegate *appDelegate;
@property ( nonatomic) UIImageView *userAvatar;
@property ( nonatomic) UILabel *username;
@property ( nonatomic) UILabel *userLocation;
@property ( nonatomic) UILabel *userDescription;
@property ( nonatomic) UILabel *userStats;
@property ( nonatomic) UIButton *followButton;
@property (nonatomic) UIActivityIndicatorView *activityIndicator;
@property ( nonatomic) NSDictionary *activeProfile;
2012-07-02 15:41:16 -07:00
2012-08-08 19:31:33 -07:00
- (void)refreshWithProfile:(NSDictionary *)profile showStats:(BOOL)showStats withWidth:(int)newWidth;
2012-07-03 11:05:19 -07:00
- (IBAction)doFollowButton:(id)sender;
- (void)initProfile;
2012-07-03 11:05:19 -07:00
2012-07-02 15:41:16 -07:00
@end