Beginning iPhone Development with Swift Exploring the iOS SDK
The team that brought you the bestselling Beginning iPhone Development, the book that taught the world how to program on the iPhone, is back again for Beginning iPhone Development with Swift. This definitive guide to the Swift programming language and the iOS 8 SDK, and the source code has been upda...
Autores principales: | , , , , |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Berkeley, CA :
Apress
2014.
|
Edición: | 1st ed. 2014. |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629750906719 |
Tabla de Contenidos:
- Contents at a Glance; Contents; About the Authors; About the Technical Reviewer; Chapter 1: Welcome to the Swift Jungle; What This Book Is; What You Need; Developer Options; What You Need to Know; What's Different About Coding for iOS?; Only One Active Application; Only One Window; Limited Access; Limited Response Time; Limited Screen Size; Limited System Resources; Some New Stuff; A Different Approach; What's in This Book; What's New in This Update?; Swift and Xcode Versions; Are You Ready?; Chapter 2: Appeasing the Tiki Gods; Setting Up Your Project in Xcode; The Xcode Project Window
- The ToolbarThe Navigator; The Jump Bar; The Utility Area; Interface Builder; New Compiler and Debugger; A Closer Look at Our Project; Introducing Xcode's Interface Builder; File Formats; The Storyboard; The Library; Adding a Label to the View; Changing Attributes; Some iPhone Polish: Finishing Touches; The Launch Screen; Bring It on Home; Chapter 3: Handling Basic Interaction; The Model-View-Controller Paradigm; Creating Our Project; Looking at the View Controller; Understanding Outlets and Actions; Outlets; Actions; Cleaning Up the View Controller; Designing the User Interface
- Adding the Buttons and Action MethodAdding the Label and Outlet; Writing the Action Method; Trying It Out; Previewing Layout; Adding Some style; Looking at the Application Delegate; Bring It on Home; Chapter 4: More User Interface Fun; A Screen Full of Controls; Active, Static, and Passive Controls; Creating the Application; Implementing the Image View and Text Fields; Adding the Image View; Resizing the Image View; Setting View Attributes; The Mode Attribute; Tag; Interaction Check Boxes; The Alpha Value; Background; Tint; Drawing Check Boxes; Stretching; Adding the Text Fields
- Text Field Inspector SettingsSetting the Attributes for the Second Text Field; Adding Constraints; Creating and Connecting Outlets; Closing the Keyboard; Closing the Keyboard When Done Is Tapped; Touching the Background to Close the Keyboard; Adding the Slider and Label; Adding More Constraints; Creating and Connecting the Actions and Outlets; Implementing the Action Method; Implementing the Switches, Button, and Segmented Control; Adding Two Labeled Switches; Connecting and Creating Outlets and Actions; Implementing the Switch Actions; Adding the Button; Spiffing Up the Button
- Stretchable ImagesControl States; Connecting and Creating the Button Outlets and Actions; Implementing the Segmented Control Action; Implementing the Action Sheet and Alert; Showing an Action Sheet; Showing an Alert; Crossing the Finish Line; Chapter 5: Rotation and Adaptive Layout; The Mechanics of Rotation; Points, Pixels, and the Retina Display; Handling Rotation; Choosing Your View Orientations; Supported Orientations at the App Level; Per-Controller Rotation Support; Designing an Interface Using Constraints; Overriding Default Constraints; Full-Width Labels; Creating Adaptive Layouts
- The Restructure Application