Diffusion Apple API  6.2.0
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Functions Variables Properties Pages
Class Methods | Properties | Instance Methods | List of all members
PTDiffusionVersion Class Reference

Introduction

A version represents a released build of the client library.

Version numbers are described with dotted notation in the form <major>.<minor>.<patch>.

Since
5.6
Inheritance diagram for PTDiffusionVersion:

Class Methods

(instancetype) + versionOfClientLibrary
 
(instancetype) + NS_UNAVAILABLE
 

Properties

NSUInteger major
 
NSUInteger minor
 
NSUInteger patch
 
NSDictionary< NSString
*, NSString * > * 
manifest
 

Instance Methods

(instancetype) - NS_UNAVAILABLE
 
(BOOL) - isEqualToVersion:
 

Method Documentation

- (BOOL) isEqualToVersion: (nullable PTDiffusionVersion *)  version

Compares the receiver to the given version.

Parameters
versionThe version object with which to compare the receiver.
Returns
YES if the receiver and the given version are the same.
Since
5.6
+ (instancetype) versionOfClientLibrary

Return the product version of this client library.

Since
5.6

Property Documentation

- (NSUInteger) major
readnonatomicassign

The major (left, most significant) component of the version number.

Since
5.6
- (NSDictionary<NSString *, NSString *>*) manifest
readnonatomicassign

Additional information about this build of the client library.

Since
5.6.6
- (NSUInteger) minor
readnonatomicassign

The minor (middle) component of the version number.

Since
5.6
- (NSUInteger) patch
readnonatomicassign

The patch (right, least significant) component of the version number.

Since
5.6