Unable to infer complex closure return type with SwiftUI

后端 未结 5 1104
执念已碎
执念已碎 2020-12-17 09:35

Following part 3 of Apple\'s tutorial on SwiftUI, Handling User Input, I get this error:

Unable to infer complex closure return type; add explicit ty

5条回答
  •  -上瘾入骨i
    2020-12-17 10:29

    I have run into this error when made a typo. Also this error appears when a code has syntax issues. Just check if your changes are correct

提交回复
热议问题