Closed mzp closed 7 years ago
Remove if #available(OSX 10.12.2, *) { ... and add @available(OSX 10.12.2, *) to its class.
if #available(OSX 10.12.2, *) { ...
@available(OSX 10.12.2, *)
To achieve this, I wrap it property by optional type and protocol.
Remove
if #available(OSX 10.12.2, *) { ...
and add@available(OSX 10.12.2, *)
to its class.To achieve this, I wrap it property by optional type and protocol.