GHKGistFile Class Reference
| Inherits from | NSObject |
| Conforms to | GHKObject |
| Declared in | GHKGistFile.h GHKGistFile.m |
Tasks
Other Methods
-
sizeSize of the file
property -
backupCopy of the file before editing
property -
contentContent of the file
property -
filenameFilename of the file
property -
languageLanguage of the file
property -
rawUrlRaw file URL
property
Editing
-
– hasChangesThe file has changes
-
– createBackupCreates a backup
-
– discardChanges
Other Methods
-
– dictionaryJSON 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 *backupDeclared In
GHKGistFile.hcontent
Content of the file
@property (nonatomic, strong) NSString *contentDeclared In
GHKGistFile.hfilename
Filename of the file
@property (nonatomic, strong) NSString *filenameDeclared In
GHKGistFile.hInstance Methods
createBackup
Creates a backup
- (GHKGistFile *)createBackupReturn Value
backup created
Declared In
GHKGistFile.hdictionary
JSON object as a NSDictionary to post to API
- (NSDictionary *)dictionaryReturn Value
The NSDictionary
Declared In
GHKObject.h