Swift Development for the Apple Watch


Book Description

Apple Watch is the sort of science-fiction gadget that people used to dream about as kids. What kinds of apps do you envision for this new device? If you’re comfortable using OS X, Xcode, and iOS—and familiar with Swift—this concise book shows you the basics of building your own apps for this wrist-mounted computer with Apple’s WatchKit framework. You’ll learn what an Apple Watch is, what it isn’t, and how and why people might interact with apps you build for it. This practical guide also examines the type of apps most suitable for this device, and shows you how to be a good citizen in the iOS/Watch ecosystem. Learn the Watch app lifecycle, and understand how these apps interact with the user’s iPhone Build a Watch app and its iOS counterpart by adding controls, working with multiple screens, and sharing data Design a simple glance, the non-interactive Watch component that provides quick-look information Add functionality to the notification system, including actionable items, and display them on the Watch face Design and build complications, Watch-face gadgets that can display quick snapshots of information, including future events with Time Travel




Beginning CareKit Development


Book Description

This book offers readers a fantastic introduction into creating CareKit based applications using the Swift language. It starts with the basics and provides a step-by-step guide to learning all aspects of creating a CareKit iOS application that could serve as the basis for a patient care plan. Beginning Carekit Development introduces the key modules and concepts of CareKit starting off by installing and building the open source framework. Developers will then dive deeper, learning how to implement their own care plan by example. The book will present an illness and complete care plan utilizing all the key modules. Readers will then be able to fully use CareKit to develop health care plans. This is the future of patient care and health tracking apps that put patients in control of their day to day care. Throughout the book, app developers, hardware manufacturers, and health care professionals will get tips and suggestions that show how to use and talk about this exciting new technology. The CareKit framework has the simple interface and the secure functionality that will change existing markets. Beginning Carekit Development is the guide to the new world of CareKit. What you'll learn: The basics of CareKit development from creating a simple "Hello World" app up to full fledged care plan application. How to integrate CareKit with HealthKit, ResearchKit, and other Apple devices to create an ecosystem of connected health care devices. How to assess and share treatment insights with caregivers and key contacts through CareKit with access to key health information. Who this book is for: Developers working in healthcare and medical device fields will use this book to develop medical apps meant to integrate directly with the ubiquitous Apple devices everyone has.




Beginning iOS 4 Application Development


Book Description

The ideal starting point for creating apps using iOS 4 Written by an experienced Apple developer and trainer, this full-color reference serves as an ideal jumping point for creating applications for Apple’s iOS 4 that runs on the iPhone, iPod Touch, and iPad. In addition to in-depth coverage of the iOS SDK, the book walks you through the various core aspects of iPhone and iPad development. You’ll learn how to take advantage of the tools provided by XCode and you’ll benefit from a solid introduction to Objective-C, which allows you to have a smooth transition to iPhone development from another platform. Offers a solid foundation for creating applications for Apple’s iOS 4 Covers all the new features of iOS 4 and provides a new applications template for developing iPad and iPhone apps Addresses the new PopoverView for iPad apps Shows how to develop background applications, which is one of the new features in iOS 4 Beginning iOS 4 Application Development is your ultimate resource for creating applications for Apple's iOS 4.




Beginning Hybrid Mobile Application Development


Book Description

Create HTML5, JQuery, and CSS3-based hybrid applications and deploy them on multiple mobile devices, including on Android, iOS and Windows Phone. This kind of application development has the edge over native application development. Beginning Hybrid Mobile Application Development shows you how you can convert existing web application into mobile applications with minimal effort. You’ll see how hybrid applications can give many web applications a larger audience by making them available as mobile applications. What You Will Learn Understand the basics of hybrid application development Discover the platforms and frameworks used for hybrid application development Master hybrid application development using the available APIs Access data in hybrid application See the role of JSON versus XML in hybrid applications Secure your code Who This Books Is For Mobile and web application developers.




Developing for Apple Watch


Book Description

You've got a great idea for an Apple Watch app. But how do you get your app from idea to wrist? This book shows you how to make native watchOS apps for Apple's most personal device yet. You'll learn how to display beautiful interfaces to the user, how to use the watch's heart rate monitor and other hardware features, and the best way to keep everything in sync across your users' devices. New in this edition is coverage of native apps for watchOS 2. With the new version of the WatchKit SDK in Xcode 7, your apps run directly on the watch. On Apple Watch, your app is right on your users' wrists, making your code closer than ever before. Create native watchOS apps by extending your iPhone app with a WatchKit Extension, giving your users quick access to your app's most important features and an intimate user experience that's always within arm's reach. You won't just be creating apps - with Glances to provide timely information, notifications to inform your users of the latest updates, and watch face complications to show your users data as soon as they raise their wrists, your watchOS apps will be the best the App Store has to offer. Any book can teach you how to make a watch app. This book will help focus your efforts and refine your app's feature set. Which features make sense on the watch? How should you organize them? You'll learn what to consider when judging watch app features, allowing you to come up with the best strategy for your app. You'll test your apps on real Apple Watch hardware, and by the end of this book, you'll be ready to ship to the App Store. What You Need: You'll need a Mac running OS X Yosemite capable of running Xcode 7 or later. To build your apps for your Apple Watch, you'll need to be running watchOS 2 or later, connected to a compatible iPhone.




Apple Game Frameworks and Technologies


Book Description

Design and develop sophisticated 2D games that are as much fun to make as they are to play. From particle effects and pathfinding to social integration and monetization, this complete tour of Apple's powerful suite of game technologies covers it all. Familiar with Swift but new to game development? No problem. Start with the basics and then layer in the complexity as you work your way through three exciting - and fully playable - games. In the end, you'll know everything you need to go off and create your own video game masterpiece for any Apple platform. Discover the power of Apple Game Frameworks, Xcode, and Swift by building three exciting games: Gloop Drop - a new twist on a classic arcade game, Val's Revenge - a roguelike dungeon crawler, and Hog - a social player vs. player mobile dice game. With Apple Game Frameworks, you can create high-performance, power-efficient games that work across all Apple platforms, including iOS, macOS, tvOS, and watchOS. In this book, you'll discover how to... Design and develop rich 2D gaming experiences using Apple's built-in game frameworks. Harness the power of SpriteKit using Xcode and Swift to create engaging player experiences. Use the visual Scene Editor to build complete scenes. Unleash the power of the Particle Editor to create amazing effects. Use GameplayKit to add advanced features to your games like pathfinding, artificial intelligence, and complex rule systems. Build larger, more complex worlds with tile maps and Xcode's visual Tile Map editor. Bring people together using GameKit and Game Center, Apple's social gaming network. Increase revenue with third-party banner ads and rewarded ads using Google AdMob (tm). Monetize your games with StoreKit and in-app purchases. So, grab your gear and get your game on - it's time to level up your skills. What You Need: macOS Mojave 10.14.6 or newer Xcode 11.3 or newer Basic knowledge of Swift 5.1.4 or newer




Beginning iPhone Development with Swift 4


Book Description

Learn how to integrate all the interface elements iOS users have come to know and love, such as buttons, switches, pickers, toolbars, and sliders. In this edition of the best selling book, you’ll master a variety of design patterns, from the simplest single view to complex hierarchical drill-downs. Assuming little or no working knowledge of the Swift programming language, and written in a friendly, easy-to-follow style, this book offers a comprehensive course in iPhone and iPad programming. The book starts with the basics, walking through the process of downloading and installing Xcode and the iOS 11 SDK, and then guides you though the creation of your first simple application. The art of table building will be demystified, and you’ll learn how to save your data using the iOS file system. You'll see how to to create, load and work with playgrounds as you develop an understanding of the Swift language. You’ll also learn how to save and retrieve your data using a variety of persistence techniques, including Core Data and SQLite. And there’s much more! Beginning iPhone Development with Swift 4 covers the basic information you need to get up and running quickly with your iOS apps. Once you’re ready, move on to Professional iPhone Development with Swift 4 to learn more of the really unique aspects of the SDK and Swift language. What You Will Learn Discover what data persistence is, and why it’s important Build cool, crisp user interfaces Display data in Table Views Work with all the most commonly used iOS Frameworks Who This Book is For Aspiring iOS app developers new to the Apple Swift programming language and/or the iOS SDK.




WatchOS With SwiftUI by Tutorials (Second Edition)


Book Description

Learn & Master watchOS with SwiftUI!watchOS with SwiftUI by Tutorials is here to help you learn all you need to know about Apple Watch development using the new declarative SwiftUI framework for building modern and engaging user interfaces. Learn all the main concepts by building different watchOS apps that implement all all of these functionalities. In this book, you will cover most of the concepts required to master watchOS development.Who This Book is ForThis book is for beginner and intermediate developers who wish to know how to develop watchOS apps in a declarative and modern way by implementing SwiftUI.Topics Covered in watchOS With SwiftUI by Tutorials:watchOS app project structure: Apple Watch has a slightly different project structure compared to iOS. So you will learn those differences.Use the Digital Crown in your apps: Build the famous Pong videogame but for watchOS and learn how the Digital Crown can enhance your users experience.Watch Connectivity: The Watch Connectivity framework will show you the different ways you can transfer data between iOS and watchOS apps.Snapshots: Snapshots provide a way for users to quickly view the state of an app showing updated and relevant information.Notifications: watchOS offers support for several different types of notifications and allows you to customize them to the individual needs of your watch app.watchOS app Lifecycle: Find out about the Apple Watch Lifecycles and how it transitions between states while extending current runtime sessions.Complications: Complications are small elements that appear on the user's selected watch face and provide quick access to frequently used data from within your app.Watch Face sharing: You can easily share your own custom Watch Faces through your iOS device or via web.Signing in with Apple Watch: Sign in with Apple to allow simple and straight-forward registration and authentication.HealthKit: Implement HealthKit in your WatchOS app to track health-related information and take advantage of Apple Health capabilities.One thing you can count on: after reading this book, you'll be prepared to develop professional Apple Watch apps with SwiftUI.




Beginning iPhone Development with Swift 3


Book Description

Create your very own apps for the latest iOS devices. You'll start with the basics, and then work your way through the process of downloading and installing Xcode and the iOS 10 SDK, and then guides you though the creation of your first simple application. Assuming little or no working knowledge of the Swift programming language, and written in a friendly, easy-to-follow style, Beginning iPhone Development with Swift 3 offers a comprehensive course in iPhone and iPad programming. In this third edition of the best-selling book, you’ll learn how to integrate all the interface elements iOS users have come to know and love, such as buttons, switches, pickers, toolbars, and sliders. Every single sample app in the book has been rebuilt from scratch using the latest Xcode and the latest iOS 10-specific project templates, and designed to take advantage of the latest Xcode features. Discover brand-new technologies, as well as significant updates to existing tools. You’ll master a variety of design patterns, from the simplest single view to complex hierarchical drill-downs. The art of table building will be demystified, and you’ll learn how to save your data using the iOS file system. You’ll also learn how to save and retrieve your data using a variety of persistence techniques, including Core Data and SQLite. And there’s much more! What You Will Learn Develop your own bestselling iPhone and iPad apps Utilize Swift playgrounds Display data in Table Views Draw to the screen using Core Graphics Use iOS sensor capabilities to map your world Get your app to work with iCloud and more Who This Book is For Anyone who wants to start developing for iPhone and iPad.




Swift 4 for Absolute Beginners


Book Description

Stay motivated and overcome obstacles while learning to use Swift Playgrounds to be a great iOS developer. This book is perfect for those with no programming background, those with some programming experience but no object-oriented experience, or those that have a great idea for an app but haven’t programmed since school, and it is now updated for Swift 4. Many people have a difficult time believing they can learn to write iOS apps. Swift 4 for Absolute Beginners will show you how to do so. You'll learn Object Oriented Programming and be introduced to HealthKit before moving on to write your own iPhone and Watch apps from scratch. Gary Bennett and Brad Lees are full-time professional iOS developers and have developed a broad spectrum of apps for Fortune 500 companies. The authors have taken their combined 14 years of writing apps, teaching online iOS courses, the experience from their first three iOS books, along with their online instruction and free online forum at XcelMe.com to create an excellent training book. And the material in this book is supplemented by with the free, live online training sessions. What You’ll Learn Work with Swift classes, properties, and functions Examine proper user interface and user experience design Understand Swift data types: integers, floats, strings, and Booleans Use Swift data collections: arrays and dictionaries Review Boolean logic, comparing data, and flow control Who This Book Is For Anyone who wants to learn to develop apps for the Mac, iPhone, and iPad, and Watch using the Swift programming language. No previous programming experience is necessary.