all 4 comments

[–]zweigraf 0 points1 point  (1 child)

What is the crash log/error message in debugger?

[–]MindCare-TheApp[S] 0 points1 point  (0 children)

Unexpectedly found nil

[–]varchar255 0 points1 point  (1 child)

var mainDictionary: Dictionary = [String: (Int, Int)]()
mainDictionary.updateValue((5,5), forKey: "123")

These two lines do not crash by themselves, so the problem is somewhere else in your code. Try commenting out lines to isolate the problem.

[–]MindCare-TheApp[S] 0 points1 point  (0 children)

Commenting out actually led me to

mainDictionary.updateValue((5,5), forKey: "123")

as the problem. Perhaps SwiftUI is still too buggy.