Cargando…

Building Apple Watch projects : discover exciting and fun projects by building brilliant applications for the Apple Watch /

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Grimshaw, Stuart
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2016.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Building and running the appLooking over the project; Three apps?; iOS app; WatchKit app; WatchKit extension; Three targets; Two storyboards; Adding some content on screen; Preparing the interface; Adding a button; Give the UI some visual appeal; Adding a group; Creating a group object; Tweaking the button; Done; Adding some animation magic; Getting user input; Ideas for self study; Summary; Chapter 3: C-Quence
  • A Memory Game; Plan the app; Mission statement; User story; App requirements; Setting up the project; Create the Xcode project; Create Required Classes; Building the interface
  • Set up the Group hierarchyAdd a button; Copy and paste; GameLogic; Create the GameLogic class; Plan the class; Create the class's interface; Define some enums; Stub the methods; Extend the sequence; Evaluate; Clear; Define properties; Check your code; Interface Controller; Planning the interface; Define Outlets to the View; Connect the UI with the Outlets; Stub some preliminary methods; Check your code; Hook up the UI with the Outlets; Run the app; Summary; Chapter 4: Expanding on C-Quence; Implementing the methods; The InterfaceController class; awakeWithContext; playButtonTapped
  • Declare additional constantsplaySequence; timerFired; flashColor; redButtonTapped& Co; colorButtonTapped; endGame; GameLogic; Init the sequence array; Extend the sequence; Evaluating the user's input; clearGame; Test it; Build and run the app; Testing and tweaking; The first test; The first bug; The first fix; Test again; Fix again; Test; Fix; Test again; Communicating with the phone; Make it personal; Getting the message across; Preparing both apps to communicate; Create the iPhone Connectivity Manager; Instantiate the class in AppDelegate; Getting the user name; ViewController
  • Prepare the UIHook up the UI; Creating the Watch Connectivity Manager; Instantiate the class in ExtensionDelegate; Modify the InterfaceController class; Run and test; Summary; Chapter 5: On Q
  • A Productivity App; Download the project template; Plan the Watch app; Mission statement; User story; The Watch app; The iPhone app; App requirements; Setting up the project; Create the required watchOS classes; Writing the code; WatchConnectivity; WatchConnectivityManager class; WatchData; WatchDataManager class; Interface Controllers; PromptsInterfaceController; DetailsInterfaceController