You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ageorgios
Apparently "login" row was not added yet when the hidden condition is first evaluated. This happens right after the row that has a the hidden property is added to its section. At this time form.rowByTag("login") return nil and row.title throws an Exception.
When the dependent row is added, in this case "login" row, the condition is re-evaluated and form.rowByTag("login") returns it.
So you should replace the code by:
$0.hidden =.Function(["login"],{ form ->Boolin
let: row: ButtonRow?= form.rowByTag("login")return row?.title =="Register"})
When trying the above code, i resulted in EXC_BAD_INSTRUCTION
The text was updated successfully, but these errors were encountered: