London Escorts sunderland escorts 1v1.lol unblocked yohoho 76 https://www.symbaloo.com/mix/yohoho?lang=EN yohoho https://www.symbaloo.com/mix/agariounblockedpvp https://yohoho-io.app/ https://www.symbaloo.com/mix/agariounblockedschool1?lang=EN
6 C
New York
Friday, January 31, 2025

ios – Intermittent error with UIContextualAction or trailingSwipeAction in Swift


I’ve code in my app to run when the person swipes left on the row of a tableview. Just lately for no cause that I can discern, it won’t compile and offers the error:

Sort of expression is ambiguous with no sort annotation

Right here is the code and an image.

func tableView(
        _ tableView: UITableView,
        trailingSwipeActionsConfigurationForRowAt indexPath: IndexPath
    ) -> UISwipeActionsConfiguration? {

 let shareAction = UIContextualAction(
            model: .regular,
            title: "Share"
        )  {
            motion,
            view,
            carried out in
print("swiped left")
}
}

enter image description here
I’ve tried cleansing the venture in addition to let ShareAction: UIContextAction = … and never discovered something helpful utilizing Google or varied AIs.

Can anybody recommend what may very well be inflicting this?

Thanks for any solutions.

Related Articles

Social Media Auto Publish Powered By : XYZScripts.com