ios中的file's owner
阿新 • • 發佈:2019-01-12
從stackoverflow上看到的。
Two points to be remembered :
- The File owner is the object that loads the nib . Ie. that object which receives the message loadNibNamed: or initWithNibName: .
- So if you want to access any objects in the nib from the object after loading it , you set an outlet to the the file owner
參考:http://www.tqcto.com/article/mobile/171003.html