Version 0.0.0-0

GitHubRelease Reference

File
GitHubUpdates/GitHubRelease.h
Copyright
© (c) 2017, Jean-David Gadina - www.xs-labs.com
Date
Sunday, June 18, 2017
Includes
  • <Foundation/Foundation.h>

Class GitHubRelease

Attributes

Superclass
NSObject

+ releasesWithData:error: Top

Gets an array of releases from JSON data.

+ ( nullable NSArray< GitHubRelease * > * )releasesWithData: ( NSData * )data error: ( NSError * __autoreleasing * )error;

Parameters
  • data
    The JSON data
  • error
    An optional pointer to an error object
Return value

The initialized instance

assets Top

The assets contained in the release.

@property( atomic, readonly, strong, nullable ) NSArray< GitHubReleaseAsset * > * assets;

See also

body Top

The release notes for the release.

@property( atomic, readonly, strong, nullable ) NSString * body;

created Top

The release's creation date.

@property( atomic, readonly, strong, nullable ) NSDate * created;

draft Top

Whether this release is a draft.

@property( atomic, readonly ) BOOL draft;

htmlURL Top

The web URL for the release.

@property( atomic, readonly, strong, nullable ) NSURL * htmlURL;

prerelease Top

Whether this release is a prerelease.

@property( atomic, readonly ) BOOL prerelease;

published Top

The release's publication date.

@property( atomic, readonly, strong, nullable ) NSDate * published;

tagName Top

The name of the release's tag.

@property( atomic, readonly, strong, nullable ) NSString * tagName;

tarballURL Top

The URL for the source code's TAR archive.

@property( atomic, readonly, strong, nullable ) NSURL * tarballURL;

url Top

The release URL.

@property( atomic, readonly, strong, nullable ) NSURL * url;

Discussion

This URL corresponds to the release API feed URL.

See also

zipballURL Top

The URL for the source code's ZIP archive.

@property( atomic, readonly, strong, nullable ) NSURL * zipballURL;