Nirma/UIDeviceComplete

Minor Update Required to be Swift 4 compliant

lincbarr opened this issue · 2 comments

In identifier.swift lines 47 and 49 need to be changed to the following to be compliant with Swift 4:

let type = identifierString.prefix(while: { !numericCharacters.contains(String($0))})

let version = identifierString.suffix(from: type.endIndex)

'characters' has been deprecated.

Nirma commented

@lincbarr Thank you so much for opening this!

This has been addressed in the latest release found here:

https://github.com/Nirma/UIDeviceComplete/releases/tag/2.0.2