W3wVersionNumber Class Reference

Inherits from NSObject
Declared in W3wVersionNumber.h

Overview

W3wVersionNumber represents a release of the what3words iOS SDK according to the semantic versioning standard

  major

Major version number

@property (nonatomic) int major

Discussion

Major version number

Declared In

W3wVersionNumber.h

  minor

Minor version number

@property (nonatomic) int minor

Discussion

Minor version number

Declared In

W3wVersionNumber.h

  patch

Patch version number

@property (nonatomic) int patch

Discussion

Patch version number

Declared In

W3wVersionNumber.h

  buildId

Patch build id

@property (nonatomic, strong) NSString *buildId

Discussion

Patch build id

Declared In

W3wVersionNumber.h

– init:minor:patch:

Init version number

- (instancetype)init:(int)major minor:(int)minor patch:(int)patch

Parameters

major

Major number

minor

Minor number

patch

Patch number

Return Value

W3wVersionNumber object

Discussion

Init version number

Declared In

W3wVersionNumber.h

– init:

Init version number

- (instancetype)init:(NSString *)version

Parameters

version

Version in string format. eg: 2.0.0

Return Value

W3wVersionNumber object

Discussion

Init version number

Declared In

W3wVersionNumber.h

– version

Get version number

- (NSString *)version

Return Value

Version number in string format. eg: 2.0.0

Discussion

Get version number

Declared In

W3wVersionNumber.h