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>
|
2017-03-19 18:15:36 -07:00
|
|
|
#import "NewsBlurAppDelegate.h"
|
2020-08-27 21:26:12 -07:00
|
|
|
#import "NewsBlur-Swift.h"
|
2012-07-11 20:19:42 -07:00
|
|
|
|
|
|
|
@class NewsBlurAppDelegate;
|
|
|
|
|
|
|
|
@interface InteractionsModule : UIView <UITableViewDelegate, UITableViewDataSource> {
|
|
|
|
NewsBlurAppDelegate *appDelegate;
|
|
|
|
UITableView *interactionsTable;
|
|
|
|
NSMutableArray *interactionsArray;
|
2012-07-18 12:17:55 -07:00
|
|
|
|
|
|
|
BOOL pageFetching;
|
|
|
|
BOOL pageFinished;
|
2012-07-18 13:56:09 -07:00
|
|
|
int interactionsPage;
|
2012-07-11 20:19:42 -07:00
|
|
|
}
|
|
|
|
|
2012-07-15 15:06:06 -07:00
|
|
|
@property (nonatomic, strong) UITableView *interactionsTable;
|
|
|
|
@property (nonatomic) NSArray *interactionsArray;
|
2012-07-11 20:19:42 -07:00
|
|
|
|
2012-07-18 12:17:55 -07:00
|
|
|
@property (nonatomic, readwrite) BOOL pageFetching;
|
|
|
|
@property (nonatomic, readwrite) BOOL pageFinished;
|
2012-07-18 13:56:09 -07:00
|
|
|
@property (readwrite) int interactionsPage;
|
2012-07-18 12:17:55 -07:00
|
|
|
|
2012-07-22 09:12:02 -07:00
|
|
|
- (void)refreshWithInteractions:(NSArray *)interactions;
|
|
|
|
|
2012-07-18 12:17:55 -07:00
|
|
|
- (void)fetchInteractionsDetail:(int)page;
|
|
|
|
|
|
|
|
- (void)checkScroll;
|
2012-07-11 20:19:42 -07:00
|
|
|
|
2017-01-05 11:44:18 -08:00
|
|
|
@end
|