-
Notifications
You must be signed in to change notification settings - Fork 5
/
MIStore+Update.h
38 lines (26 loc) · 920 Bytes
/
MIStore+Update.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// MIStore+Update.h
// Elpass
//
// Created by Blankwonder on 2019/10/12.
// Copyright © 2019 Surge Networks. All rights reserved.
//
#import "MIStore.h"
@interface MIStore (Update)
- (void)beginBatchOperations;
- (void)endBatchOperations;
- (void)addItem:(MIItem *)item;
- (void)deleteItem:(MIItem *)item;
- (void)updateItem:(MIItem *)item block:(void (^)(MIItem *item))block;
- (void)markItemFavorited:(MIItem *)item;
- (void)unmarkItemFavorited:(MIItem *)item;
- (void)archiveItem:(MIItem *)item;
- (void)unarchiveItem:(MIItem *)item;
- (void)deleteTag:(NSString *)tag;
- (void)renameTag:(NSString *)oldTag to:(NSString *)newTag;
- (void)addAttachment:(MIAttachment *)attachment completionHandler:(void (^)(NSError *error))completionHandler;
- (void)setIconForItem:(MIItem *)item iconData:(NSData *)data;
- (void)removeIconForItem:(MIItem *)item;
- (void)mkdirIconFolder;
- (void)updateTags;
@end