Category "setvalue"

How to display old value in dropdown on edit form then keep the selected value when the form submit failed?

The dropdown's option values were shown from a table on the database. When I clicked "Edit Form," the old values were successfully shown. For example, the optio

Using reflection to set object properties without using setValue forKey

In Swift it's not possible use .setValue(..., forKey: ...) nullable type fields like Int? properties that have an enum as it's type an Array of nullable objec