Move out of "if" expression error producing method calls that lost return result in swift

Description

https://github.com/Swiftify-Corp/Swiftify/issues/118
http://swiftify.me/p700bf/2

In this example

returns BOOL, but swift analog doesn't. So it best to remove this expression from "if" statement.

Environment

None

Assignee

Alex Petuschak

Reporter

Ivan Kh

Labels

None

Git Branch Name

None

Fix versions

Priority

Medium
Configure