GHKGistFile Class Reference
Inherits from | NSObject |
Conforms to | GHKObject |
Declared in | GHKGistFile.h GHKGistFile.m |
Tasks
Other Methods
-
size
Size of the file
property -
backup
Copy of the file before editing
property -
content
Content of the file
property -
filename
Filename of the file
property -
language
Language of the file
property -
rawUrl
Raw file URL
property
Editing
-
– hasChanges
The file has changes
-
– createBackup
Creates a backup
-
– discardChanges
Other Methods
-
– dictionary
JSON object as a NSDictionary to post to API
-
– initWithDictionary:
Initialize a new instance from JSON object as a NSDictionary
Properties
backup
Copy of the file before editing
@property (nonatomic, strong) GHKGistFile *backup
Declared In
GHKGistFile.h
content
Content of the file
@property (nonatomic, strong) NSString *content
Declared In
GHKGistFile.h
filename
Filename of the file
@property (nonatomic, strong) NSString *filename
Declared In
GHKGistFile.h
Instance Methods
createBackup
Creates a backup
- (GHKGistFile *)createBackup
Return Value
backup created
Declared In
GHKGistFile.h
dictionary
JSON object as a NSDictionary to post to API
- (NSDictionary *)dictionary
Return Value
The NSDictionary
Declared In
GHKObject.h