1

This is really confusing i build simple app using Xcode 5.1 storyboard builder i try to work with the simple Facebook login tutorial where it says:

  • Select the View that represents the login button.
  • In the Connections inspector, connect the delegate outlet to the File's Owner.

now i can't find any where in the IB something that looks like the "File's Owner." i tried to follow those SO threads but still can't find it any where this && this

im attaching image that shows my Xcode , the arrow is the view object. so where is this "File's Owner" ?? enter image description here

Community
  • 1
  • 1
user63898
  • 26,293
  • 71
  • 223
  • 438

2 Answers2

1

in Storyboard set delegate like this, whether it is view controller or table view controller. anything to connect and required file's owner is maintained by view controller in storyboard.

setting delegate

or like this

setting delegate

Max
  • 2,223
  • 3
  • 21
  • 47
0

File's Owner is the View Controller that is managing your view. So what you should do is assign your delegates to the view controller that is managing the view that you are using as the Login button.

From above image if TableViewController is managing your Login button then you should assign it as the delegate

Vivek Molkar
  • 3,744
  • 1
  • 31
  • 43