What is the File's Owner (in Interface builder)?

后端 未结 4 1516
挽巷
挽巷 2020-12-04 08:06

I am new to Cocoa and I don\'t understand the concept of File\'s Owner of a .nib file.

Here is the way I would see things :

  • Consider a

4条回答
  •  -上瘾入骨i
    2020-12-04 08:40

    File's Owner is a placeholder in IB so all the outlets and actions in your code are "linkable" in IB, you can control-drag to connect stuff on the screen to the code.

提交回复
热议问题