-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPBViewController.h
More file actions
39 lines (28 loc) · 954 Bytes
/
PBViewController.h
File metadata and controls
39 lines (28 loc) · 954 Bytes
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
39
//
// PBViewController.h
// Pastie
//
// Created by Tanner Bennett on 2021-05-11
// Copyright © 2021 Tanner Bennett. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "PBURLPaste.h"
#import "PBDataSource.h"
NS_ASSUME_NONNULL_BEGIN
@class PBViewController;
@interface PastieController : UITabBarController
@property (nonatomic, class) BOOL isPresented;
@property (nonatomic, readonly) PBViewController *stringsViewController;
@property (nonatomic, readonly) PBViewController *urlsViewController;
@end
@interface PBViewController : UITableViewController
/// String table or URL table
@property (nonatomic, readonly) PBDataType type;
@property (nonatomic) PBDataSource *pastieDataSource;
+ (instancetype)stringsPasteViewController;
+ (instancetype)urlsPasteViewController;
- (void)reloadData:(BOOL)animated;
/// Import a pastie database, replacing the current one
- (BOOL)tryOpenDatabase:(NSURL *)fileURL;
@end
NS_ASSUME_NONNULL_END