34,333
edits
Changes
→Designing the User Interface
The next step is to establish the connections between the user interface components and the action and outlet created in the view controller code. Open the Connections Inspector panel (''View -> Utilities -> Connections Inspector'') and select the button object in the view window so that the available events for that object are listed. Click in the small circle to the right of the Touch Up Inside event and drag the blue line to the File’s Owner object. Release the mouse button and select the saveText action method from the resulting menu to create the connection.
== Checking for the Data File on Application Startup ==