Diffusion Apple API  6.9.0
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Files Functions Variables Enumerations Enumerator 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
 

Properties

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

Instance Methods

(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

Instance of the product version of this client library.

Returns
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.

Deprecated:
since 6.5. This will be removed in a future release.
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.

Deprecated:
since 6.5. This will be removed in a future release.
Since
5.6
- (NSUInteger) patch
readnonatomicassign

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

Deprecated:
since 6.5. This will be removed in a future release.
Since
5.6
- (NSString*) version
readnonatomicassign

The complete product version number.

Since
6.5