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

Related issues

marbetschar picture marbetschar  路  18Comments

murraycollingwood picture murraycollingwood  路  16Comments

AAverin picture AAverin  路  14Comments

geoffmacd picture geoffmacd  路  16Comments

chiliec picture chiliec  路  15Comments