Diffusion Apple API 6.11.8
Unified Client Library for iOS, tvOS and OS X / macOS
Loading...
Searching...
No Matches
PTDiffusionVersion Class Reference

A version represents a released build of the client library. More...

#include <PTDiffusionVersion.h>

Inheritance diagram for PTDiffusionVersion:

Instance Methods

(BOOL) - isEqualToVersion:

Class Methods

(instancetype) + versionOfClientLibrary

Properties

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

Detailed Description

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

Method Documentation

◆ isEqualToVersion:

- (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

◆ versionOfClientLibrary

+ (instancetype) versionOfClientLibrary

Instance of the product version of this client library.

Returns
the product version of this client library.
Since
5.6

Property Documentation

◆ major

- (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

◆ manifest

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

Additional information about this build of the client library.

Since
5.6.6

◆ minor

- (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

◆ patch

- (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

◆ version

- (NSString*) version
readnonatomicassign

The complete product version number.

Since
6.5