Eureka: Cannot assign value of type 'Bool' to type 'Condition?'

Created on 26 Jan 2018  路  2Comments  路  Source: xmartlabs/Eureka

Maybe an error of swift. Xcode9.1 , swift 4

image

Hiding & Disabling Rows Stack Overflow question

Most helpful comment

Hi! you can only assign boolean literals.

You can also use:

let disabled = true
row.disabled = Condition(booleanLiteral: disabled)

All 2 comments

Hi! you can only assign boolean literals.

You can also use:

let disabled = true
row.disabled = Condition(booleanLiteral: disabled)

@mtnbarreto Nice! Thank you!

Was this page helpful?
0 / 5 - 0 ratings