Piet
Piet

Reputation: 71

Where is the File's Owner in Xcode 8?

I'm trying to find where the File's Owner in Xcode 8 is... I'm trying to connect a label object and a button object to it. All I can find is old resources from Xcode 4 where the File's Owner was easy to locate.

Thanks for your help!

Upvotes: 1

Views: 3470

Answers (2)

matt
matt

Reputation: 534893

  • In a xib file, the file's owner is still there.

  • In a storyboard file, the view controller of a scene is the file's owner for that scene.

Upvotes: 3

ShujatAli
ShujatAli

Reputation: 1376

file owner is not there storyboard's it is only present in xib/nib views

you connect buttons labels like this,

storyboard

    you already know the old methods of connecting the 
labels in xib files, xcode 8 also supports previous implementations

xibfiles

Upvotes: 1

Related Questions