NewsBlur/media/ios/Classes/FriendsListViewController.h

37 lines
1,009 B
C
Raw Normal View History

//
// FriendsListViewController.h
// NewsBlur
//
// Created by Roy Yang on 7/1/12.
// Copyright (c) 2012 NewsBlur. All rights reserved.
//
#import <UIKit/UIKit.h>
@class NewsBlurAppDelegate;
2012-07-01 18:26:39 -07:00
@class ASIHTTPRequest;
2012-07-31 15:17:51 -07:00
@interface FriendsListViewController : UITableViewController <UISearchBarDelegate> {
NewsBlurAppDelegate *appDelegate;
2012-07-01 18:26:39 -07:00
2012-07-31 15:17:51 -07:00
UISearchBar *friendSearchBar;
2012-07-01 18:26:39 -07:00
UITableView *friendsTable;
NSArray *suggestedUserProfiles;
2012-07-01 18:26:39 -07:00
NSArray *userProfiles;
NSArray *userProfileIds;
}
2012-07-15 15:06:06 -07:00
@property (nonatomic) IBOutlet NewsBlurAppDelegate *appDelegate;
2012-07-31 15:17:51 -07:00
@property (nonatomic, retain) UISearchBar *friendSearchBar;
@property (nonatomic) NSArray *userProfiles;
@property (nonatomic) NSArray *suggestedUserProfiles;
- (void)doCancelButton;
2012-07-01 18:26:39 -07:00
- (void)loadFriendsList:(NSString *)query;
- (void)requestFinished:(ASIHTTPRequest *)request;
- (void)requestFailed:(ASIHTTPRequest *)request;
- (void)loadSuggestedFriendsList;
- (void)loadSuggestedFriendsListFinished:(ASIHTTPRequest *)request;
@end