Home>

Please write your question in detail here. override func prepare (for segue:

The following error message occurred while implementing the screen transition function.

Error message

Error message Use of undeclared type'UiStoryboardSegue'

Applicable source code

swift, xcode
Source code
override func prepare (for segue:
UiStoryboardSegue, sender: Any?) {
let viewController =
segue.destination as! percentviewController
if let price = Int (priceField.text!) {
viewController.price = price
}

}

Tried

Please describe what you tried for the problem here.

Supplemental information (FW/tool version etc.)

The error appears on the second line. ]