NewsBlur/media/ios/Classes/InteractionsModule.h

41 lines
1.1 KiB
C
Raw Normal View History

2012-07-11 20:19:42 -07:00
//
// InteractionsModule.h
// NewsBlur
//
// Created by Roy Yang on 7/11/12.
// Copyright (c) 2012 NewsBlur. All rights reserved.
//
#import <UIKit/UIKit.h>
@class NewsBlurAppDelegate;
@class ASIHTTPRequest;
2012-07-11 20:19:42 -07:00
@interface InteractionsModule : UIView <UITableViewDelegate, UITableViewDataSource> {
NewsBlurAppDelegate *appDelegate;
UITableView *interactionsTable;
NSMutableArray *interactionsArray;
2012-07-16 19:45:14 -07:00
UIPopoverController *popoverController;
BOOL pageFetching;
BOOL pageFinished;
int interactionsPage;
2012-07-11 20:19:42 -07:00
}
2012-07-15 15:06:06 -07:00
@property (nonatomic) NewsBlurAppDelegate *appDelegate;
@property (nonatomic, strong) UITableView *interactionsTable;
@property (nonatomic) NSArray *interactionsArray;
2012-07-16 19:45:14 -07:00
@property (nonatomic, strong) UIPopoverController *popoverController;
2012-07-11 20:19:42 -07:00
@property (nonatomic, readwrite) BOOL pageFetching;
@property (nonatomic, readwrite) BOOL pageFinished;
@property (readwrite) int interactionsPage;
- (void)fetchInteractionsDetail:(int)page;
- (void)finishLoadInteractions:(ASIHTTPRequest *)request;
- (void)refreshWithInteractions:(NSArray *)interactions;
- (void)requestFailed:(ASIHTTPRequest *)request;
- (void)checkScroll;
2012-07-11 20:19:42 -07:00
@end