tickMarkSelection Left and Right

Constants for tickMarkPosition NSTickMarkPositionLeft, NSTickMarkPositionRight, NSTickMarkPositionBelow, NSTickMarkPositionAbove are deprecated in Swift3.


The only replacement available are .above, .below.

Seems one has to use below to say left. Is that the case ?

If true, does anyone know the reason for not defining .left and .right ? This regression makes code is less readable (and documentation is not updated so far)

Accepted Reply

If true, does anyone know the reason for not defining .left and .right ?

The new cases are

.leading
and
.trailing
, which in line with other changes to support right-to-left languages.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Replies

If true, does anyone know the reason for not defining .left and .right ?

The new cases are

.leading
and
.trailing
, which in line with other changes to support right-to-left languages.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Thanks a lot. But documentation is definetely lagging behind development !