GitHubReleaseAsset Reference
File
GitHubUpdates/GitHubReleaseAsset.h
Copyright
© (c) 2017, Jean-David Gadina - www.xs-labs.com
Date
Sunday, June 18, 2017
Includes
- <Foundation/Foundation.h>
Class GitHubReleaseAsset
Attributes
- initWithDictionary:
Initializes an instance with properties from a dictionary.
- ( nullable instancetype )initWithDictionary: ( NSDictionary * )dict;
Parameters
- dict
The dictionary containing the asset's properties
Return value
The initialized instance, or nil
contentType
The asset's content type.
@property( atomic,
readonly,
strong,
nullable ) NSString * contentType;
created
The asset's creation date.
@property( atomic,
readonly,
strong,
nullable ) NSDate * created;
downloadURL
The asset's download URL.
@property( atomic,
readonly,
strong,
nullable ) NSURL * downloadURL;
name
The asset's name.
@property( atomic,
readonly,
strong,
nullable ) NSString * name;
size
The asset's size.
@property( atomic,
readonly ) NSUInteger size;
updated
The asset's update date, if any.
@property( atomic,
readonly,
strong,
nullable ) NSDate * updated;
url
The asset's URL.
@property( atomic,
readonly,
strong,
nullable ) NSURL * url;
Discussion
This URL corresponds to the asset API feed URL.
See also