[MOVED] Creation of new elements moved to shared code. [FIXED] When switching user, unset active key. [FIXED] Synchronize content calculation to avoid race issues while typing. [ADDED] Ability to create new sites. [FIXED] Unset active element when hitting backspace or escape.
22 lines
814 B
Objective-C
22 lines
814 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
#import "MPElementListDelegate.h"
|
|
|
|
#define MPElementListFilterNone @"MPElementListFilterNone"
|
|
#define MPElementListFilterOutdated @"MPElementListFilterOutdated"
|
|
|
|
@interface MPElementListController : UITableViewController<NSFetchedResultsControllerDelegate>
|
|
|
|
@property(weak, nonatomic) IBOutlet id<MPElementListDelegate> delegate;
|
|
@property(strong, nonatomic) NSString *filter;
|
|
|
|
@property(readonly) NSFetchedResultsController *fetchedResultsControllerByUses;
|
|
@property(readonly) NSFetchedResultsController *fetchedResultsControllerByLastUsed;
|
|
@property(readonly) NSDateFormatter *dateFormatter;
|
|
|
|
- (void)updateData;
|
|
- (void)configureCell:(UITableViewCell *)cell inTableView:(UITableView *)tableView atTableIndexPath:(NSIndexPath *)indexPath;
|
|
- (void)customTableViewUpdates;
|
|
|
|
@end
|