Xcode 7 Essentials - Second Edition by Brett Ohland & Jayant Varma
Author:Brett Ohland & Jayant Varma [Ohland, Brett]
Language: eng
Format: epub
Publisher: Packt Publishing
Published: 2016-02-15T23:00:00+00:00
We've now associated our new view controller with our view.
Creating connections, outlets and actions
Now that we've associated our view with its controller, we have a screen. Let's add some functionality:
Add a label whose text changes at runtime
Add a button that will cause an alert dialogue box to appear when touched
Drag a label and a button and position or pin these two objects in a similar way to the first view. Change the label text (by double-clicking on the label) to THIS IS GOING TO CHANGE and the button text to show alert.
Close the document overview and Utility sidebars and click on the Assistant editor button in the editor area of the top toolbar.
You will now see the IB canvas on the left and a standard editor on the right, which contains the SecondViewController.swift file we just created:
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Exploring Deepfakes by Bryan Lyon and Matt Tora(8290)
Robo-Advisor with Python by Aki Ranin(8245)
Offensive Shellcode from Scratch by Rishalin Pillay(6387)
Microsoft 365 and SharePoint Online Cookbook by Gaurav Mahajan Sudeep Ghatak Nate Chamberlain Scott Brewster(5618)
Ego Is the Enemy by Ryan Holiday(5294)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4527)
Python for ArcGIS Pro by Silas Toms Bill Parker(4462)
Elevating React Web Development with Gatsby by Samuel Larsen-Disney(4182)
Machine Learning at Scale with H2O by Gregory Keys | David Whiting(4179)
Liar's Poker by Michael Lewis(3369)
Learning C# by Developing Games with Unity 2021 by Harrison Ferrone(3333)
Speed Up Your Python with Rust by Maxwell Flitton(3280)
OPNsense Beginner to Professional by Julio Cesar Bueno de Camargo(3251)
Extreme DAX by Michiel Rozema & Henk Vlootman(3237)
Agile Security Operations by Hinne Hettema(3160)
Linux Command Line and Shell Scripting Techniques by Vedran Dakic and Jasmin Redzepagic(3151)
Essential Cryptography for JavaScript Developers by Alessandro Segala(3122)
Cryptography Algorithms by Massimo Bertaccini(3057)
AI-Powered Commerce by Andy Pandharikar & Frederik Bussler(3024)