Swift Forums
Bug or intended? "thing?.property = something" will trigger didSet observer even if thing is nil, but ONLY IF thing is a struct type
Using Swift
bug
anthonylatsis
(Anthony Latsis)
March 23, 2018, 6:51pm
18
Observer invocation issue
SR-7257
1 Like
How to modify a variable/property itself (instead of its value) through an array?
show post in topic