xcode interfacebuilder Objects linked to custom class in Inspector?

后端 未结 2 1933
时光说笑
时光说笑 2021-01-15 08:13

In Xcode(latest version) Interfacebuilder, you can link objects to code.

I have created one a class: @interface FileChangeController : NSObject

But it is not

2条回答
  •  误落风尘
    2021-01-15 08:32

    First make sure that you have properly linked your view controller class to the interface builder view controller

    enter image description here

    Then using the assistant editor, you can drag the connection directly to code.

    enter image description here

提交回复
热议问题