Learn WatchKit for iOS /
Learn WatchKit for iOS covers the development of applications for the new Apple Watch using the WatchKit framework in iOS 8 and the Swift programming language. In this book, an Apple Watch application is an extension to an existing iOS app and is packaged and submitted to the App Store along with it...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
[Place of publication not identified] :
Apress,
[2015]
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- At a Glance; Contents; About the Author; About the Technical Reviewer; Acknowledgments; Chapter 1: Welcome to the Apple Watch; Your First Watch Application; Creating a WatchKit Application; Building the User Interface; Running the Application on the Simulator; Running the Application on an Apple Watch; Some Things That a WatchKit Application Can and Can't Do; Summary; Chapter 2: Interface Controllers and Layout; Interface Controllers; Interface Controller Lifecycle; Navigation and Lifecycle Events; Lifecycle of the WatchKit App Extension
- Debugging the WatchKit App Extension and the iOS Application Together Interface Controller Attributes; Setting the Background Color; Setting the Application Title; Interface Controller Layout; Spacing, Insets, and Screen-Dependent Layout; Changing Row Spacing; Setting the Interface Controller Insets; Making an Attribute Value Depend on Screen Size; Making Layout Depend on the Screen Size; Controlling Position; Adjusting Size; Groups; Using a Group to Create a Horizontal Layout ; Using a Nested Group; Summary; Chapter 3: Watch User Interface Objects; Overview; Labels ; Text Layout
- Text, Text Color, and Attributed Text Fonts; Using the Standard Text Styles ; Using the System and System Italic Fonts ; Using a Custom Font ; Setting Fonts in Code ; Images; Using an Image as a Background; The Image Interface Object ; Animation ; Animation Using a Timer ; Animating Images; Programmatic Control of Image Animation; Dynamic Image Content; Sending Images to the Watch; Caching Images on the Watch; Caching Image Animations ; Summary; Chapter 4: More Watch User Interface Objects; Buttons; Creating and Configuring Buttons; Actions and State
- Using a Group as the Content of a Button Sliders; Switches; Displaying the Date and Time; Basic Usage; Custom Formatting; Changing the Timezone and Calendar; Displaying a Timer; Timer Formatting Options; Timer Behavior; WatchKit Maps; Displaying a Map ; Setting the Map Region ; Adding an Annotation; Using Core Location to Get the User's Location; Summary; Chapter 5: Controller Navigation; Hierarchical Navigation; Manual Controller Navigation; Creating the Second Interface Controller; Building the Controllers' User Interfaces; Creating Outlets and Action Methods
- Navigating to the Second Interface ControllerReturning to the First Interface Controller; Using a Segue to Push a Controller; Page-Based Navigation; Constructing a Page-Based Application in the Storyboard; Using Pages Constructed at Run Time; Creating the Storyboard; Building the Controller Linkage in Code; Implementing the Like and Dislike Counts; Showing Results in the Initial Interface Controller; Automatically Scrolling between Pages; Presenting an Interface Controller; Getting Text Input; Presenting a Controller Programmatically; Presenting a Controller from the Storyboard