Describe the bug
I imported the Demo code in my Swift project. Was able to get everything to work except for some minor errors.
For instance:
In the TableViewDragAndDropScreen.swift file
I get the error:
Instance method 'background(_:alignment:)' requires that 'UIColor' conform to 'View'
in code segment like this:
Describe the bug I imported the Demo code in my Swift project. Was able to get everything to work except for some minor errors. For instance: In the TableViewDragAndDropScreen.swift file I get the error: Instance method 'background(_:alignment:)' requires that 'UIColor' conform to 'View' in code segment like this:
Text("some text") .padding().background(Color.red)
To Reproduce I have set the Target to iOS: 13.2 Using Swift 5
Expected behaviour I expected this code to compile the same error-free way as in the Demo project
Screenshots
Xcode Version: Version 12.5 (12E262)
Simulator, Device, Both? Both