@IBOutlet weak var groupNameTF: UITextField!
var group: Group? {
didSet {
groupNameTF.text = group?.name
}
}
Can't understand what the problem with optional here. As I see from logs, group
isn't nil
. As I thought I do safe value unwrapping. I also checked with if let
construction, same result.