Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
executable file
·
52 lines (37 loc) · 1.46 KB

File metadata and controls

executable file
·
52 lines (37 loc) · 1.46 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
40
41
42
43
44
45
46
47
48
49
50
51
52
//
// ProjectFile.h
// Coding_iOS
//
// Created by Ease on 14/11/13.
// Copyright (c) 2014年 Coding. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "User.h"
typedef NS_ENUM(NSInteger, DownloadState){
DownloadStateDefault = 0,
DownloadStateDownloading,
DownloadStatePausing,
DownloadStateDownloaded
};
@class Coding_DownloadTask;
@interface ProjectFile : NSObject
@property (readwrite, nonatomic, strong) NSDate *created_at, *updated_at;
@property (readwrite, nonatomic, strong) NSNumber *id,*file_id, *owner_id, *parent_id, *type, *current_user_role_id, *size, *project_id, *number;
@property (readwrite, nonatomic, strong) NSString *name, *fileType, *owner_preview, *preview, *storage_key, *storage_type, *title, *share_url,*path;
@property (readwrite, nonatomic, strong) User *owner;
@property (strong, nonatomic, readonly) NSString *diskFileName;
+(ProjectFile *)fileWithFileId:(NSNumber *)fileId andProjectId:(NSNumber *)project_id;
- (instancetype)initWithFileId:(NSNumber *)fileId inProject:(NSString *)project_name ofUser:(NSString *)project_owner_name;
- (BOOL)isEmpty;
- (DownloadState)downloadState;
- (Coding_DownloadTask *)cDownloadTask;
- (NSURL *)hasBeenDownload;
- (NSString *)downloadPath;
- (NSString *)toDeletePath;
- (NSDictionary *)toDeleteParams;
- (NSDictionary *)toMoveToParams;
- (NSString *)toDetailPath;
- (NSString *)toActivityListPath;
- (NSString *)toHistoryListPath;
- (NSDictionary *)toShareParams;
@end
Morty Proxy This is a proxified and sanitized view of the page, visit original site.