@IBOutlet and @IBAction refers to wrong project, how to get rid of those references?

前端 未结 7 1992
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-20 02:44

I have copied and pasted some source code from one old xcode-project to another new project.

Included in the copied code where some @IB

7条回答
  •  野性不改
    2021-02-20 03:32

    Try this:-

    Click on the Outlet dot

    click on the Main.Storyboard where it will Lead you

    Click on the View Controller and you'll see Your outlet Connected

    Remove the connection by clicking on the Close button and you're ready to go.

提交回复
热议问题