Skip to content
This repository was archived by the owner on Dec 18, 2017. It is now read-only.

Swift 3.1 Warning for 'M_PI_2' is deprecated: #73

@sashalondon

Description

@sashalondon

Upgraded to Swift 3.1 I get warnings: 'M_PI_2' is deprecated: Please use 'Double.pi / 2' or '.pi / 2' to get the value of correct type and avoid casting.

I have solved it with Double.pi / 2 as it says.

Just to solve it to remove the warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions