Skip to content

robert-wallis/SwiftUITalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SwiftUI unable to infer complex talk

Swift UI Talk for work, writtin in ... SwiftUI

TODO

  • AnyView, someView

  • Q: 'The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions' A: put it in a func

  • ActionSheet class

  • XCode 11 bug: Rename File doesn't work

  • Only one Alert in the whole view heirarechy, including siblings.

DONE

  • Combine .print()

  • Combine .store(in: &Set())

  • Q: 'unable to infer complex type' A: Wrap in Group {}

  • Q: 'Int' is not convertable to 'CGFloat?' A: too many items, 10+, put in Groups

  • Q: Instance member 'x' cannot be used on type 'y_Preview' A: Didn't use static in the preview variable.

  • Q: 'Function declares an opaque return type, but the return statements in its body do not have matching underlying types' A: Wrap in AnyView{}

  • Identifyable ForEach(items, id: .id)

  • onMove crashes if Section{} inside. Can't subclass ListStyle

  • KeyboardResponder

About

Swift UI Talk for Work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages