Access IBOutlet from other class (ObjC)

后端 未结 2 1198
庸人自扰
庸人自扰 2020-12-11 12:16

I\'ve googled around and found some answers but I didn\'t get any of them to work. I have one NSObject with the class \"A\" and a second class \"B\" without an NSObject. In

2条回答
  •  星月不相逢
    2020-12-11 13:08

    When you write:

    I have one NSObject with the class "A" and a second class "B" without an NSObject.

    It tells me that you don't have your head around the basic concepts. Read through Apple's objective-C introduction, and the tutorial projects.

提交回复
热议问题