Create Native watchOS Apps with the WatchKit SDK
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 more » 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. « less
Your trusted tour guide to macOS Sierra macOS is the engine that runs your Mac, so it's a good idea to know a bit about how it works. Fully updated to cover macOS Sierra, this long-time bestseller is the map you need to navigate Apple's operating system. Whether you're exploring macOS for the first time, more » looking for shortcuts to speed up common tasks, or trying to fix a common problem, macOS Sierra For Dummies provides easy-to-follow answers to all your questions.
Written by Bob 'Dr. Mac' LeVitus, a well-known tech columnist and Mac expert, this hands-on guide offers how-to information on the classic elements that help run Macs as well as timesaving tips on working with all the major changes that come with Sierra. The book begins with a plain-English explanation of the basics of the macOS desktop and goes on to cover everything from finding files faster, making the most of organization and communication tools, getting your Mac on a network, adding music, movies, and books, and so much more. In short: life with your Mac is about to get so much easier and more efficient!
* Get acquainted with the newest and classic features of macOS Sierra
* Discover shortcuts for saving time when working on your Mac
* Learn how popular mobile tools like Siri and Apple Pay are now part of macOS
* Use the latest creative and productivity tools that come with Sierra
* Find helpful troubleshooting and safety tips
With the help of this bestselling guide, you'll learn not only how to do it, but how to do it better on macOS Sierra. « less
Shell Programming in Unix, Linux and OS X is a thoroughly updated revision of Kochan and Wood’s classic Unix Shell Programming tutorial. Following the methodology of the original text, the book focuses on the POSIX standard shell, and teaches you how to develop programs in this useful programming environment, more » taking full advantage of the underlying power of Unix and Unix-like operating systems.
After a quick review of Unix utilities, the book’s authors take you step-by-step through the process of building shell scripts, debugging them, and understanding how they work within the shell’s environment. All major features of the shell are covered, and the large number of practical examples make it easy for you to build shell scripts for your particular applications. The book also describes the major features of the Korn and Bash shells.
Learn how to…
* Take advantage of the many utilities provided in the Unix system
* Write powerful shell scripts
* Use the shell’s built-in decision-making and looping constructs
* Use the shell’s powerful quoting mechanisms
* Make the most of the shell’s built-in history and command editing capabilities
* Use regular expressions with Unix commands
* Take advantage of the special features of the Korn and Bash shells
* Identify the major differences between versions of the shell language
* Customize the way your Unix system responds to you
* Set up your shell environment
* Make use of functions
* Debug scripts
Contents at a Glance
1 A Quick Review of the Basics
2 What Is the Shell?
3 Tools of the Trade
4 And Away We Go
5 Can I Quote You on That?
6 Passing Arguments
7 Decisions, Decisions
8 ‘Round and ‘Round She Goes
9 Reading and Printing Data
10 Your Environment
11 More on Parameters
12 Loose Ends
13 Rolo Revisited
14 Interactive and Nonstandard Shell Features
A Shell Summary
B For More Information « less
A Pattern Reference
General trace and log analysis patterns allow application of uniform problem detection and solving approach across diverse software environments. This pattern language covers any execution artifact from a small debugging trace to a distributed log with billions of messages from hundreds of computers, more » thousands of software components, threads, and processes. Pattern-oriented trace and log analysis is applicable to troubleshooting and debugging Windows, Mac OS X, Linux, FreeBSD, Android, iOS, z/OS, and any other possible computer platform including networking and IoT. Its pattern catalog is a part of pattern-oriented software diagnostics, forensics, prognostics, root cause analysis, and debugging developed by Software Diagnostics Institute (DumpAnalysis.org + TraceAnalysis.org).
This reference reprints with corrections 133 patterns originally published in Memory Dump Analysis Anthology volumes 3 - 9 and Software Diagnostics Library (former Crash Dump Analysis blog, DumpAnalysis.org/blog). Full-color diagrams accompany most pattern descriptions. The second edition includes 33 more patterns and improved pattern index. « less
Updated for C++14
Sams Teach Yourself C++ in 24 Hours is a hands-on guide to the C++ programming language. Readers are provided with short, practical examples that illustrate key concepts, syntax, and techniques.
Using a straightforward approach, this fast and friendly tutorial teaches you everything you need to know, more » from installing and using a compiler, to debugging the programs you’ve created, to what’s new in C++14.
Step-by-step instructions carefully walk you through the most common C++ programming tasks
Quizzes and exercises at the end of each chapter help you test yourself to make sure you’re ready to go on
Learn how to...
* Install and use a C++ compiler for Windows, Mac OS X, or Linux
* Build object-oriented programs in C++
* Master core C++ concepts such as functions and classes
* Add rich functionality with templates and lambda expressions
* Debug your programs for flawless code
* Learn exception and error-handling techniques
* Put to use the new features in C++14, the latest version of the language
* Create and use templates
* Control program flow with loops
* Store information in arrays and strings
* Declare and use pointers
* Use operator overloading
* Extend classes with inheritance
* Use polymorphism and derived classes
* Employ object-oriented analysis and design « less
101 Scripts for Linux, OS X, and UNIX Systems
Shell scripts are an efficient way to interact with your machine and manage your files and system operations. With just a few lines of code, your computer will do exactly what you want it to do. But you can also use shell scripts for many other essential (and not-so-essential) tasks.
This second edition more » of Wicked Cool Shell Scripts offers a collection of useful, customizable, and fun shell scripts for solving common problems and personalizing your computing environment. Each chapter contains ready-to-use scripts and explanations of how they work, why you'd want to use them, and suggestions for changing and expanding them. You'll find a mix of classic favorites, like a disk backup utility that keeps your files safe when your system crashes, a password manager, a weather tracker, and several games, as well as 23 brand-new scripts, including:
* A ZIP code lookup tool that reports the city and state
* A Bitcoin address information retriever
* A suite of tools for working with cloud services like Dropbox and iCloud
* Tools for renaming and applying commands to files in bulk
* Image processing and editing tools
Whether you want to save time managing your system or just find new ways to goof off, these scripts are wicked cool! « less
Coast through OS X Mavericks with help from Dr. Mac and For Dummies
Ready to make friends with Mavericks? Then, Dr. Mac’s your man. Author and longtime Mac guru, Bob “Dr. Mac” LeVitus shares his witty insights and helpful tips in this full-color update to his bestselling OS X guide. You’ll learn the more » basics of working with the Dock, Launchpad, and Mission Control before moving on to setting up your e-mail, surfing with Safari, organizing your files, and customizing OS X Mavericks for all you need your Mac to do.
* Familiarizes you with OS X essentials like navigating the desktop, connecting to a network, using Notification Center, managing your Contacts and Calendar, staying in touch with Messages and FaceTime, and syncing with iCloud
* Covers new-to-OS X tools and features including iBooks, Maps, iCloud Keychain, Finder Tabs, and Tags plus the streamlined Calendar, Notifications, and Safari applications
* Explains how to turn your Mac into a multimedia mecca with music, movies, podcasts, photos, videos, e-books, and your favorite apps and games from the Mac App Store
* Provides troubleshooting tips, advice on customizing and maintaining your Mac, and keeping your information safe and secure
Whether you’re dipping your toe into OS X or leaping full on into Mavericks, For Dummies will help you make the most of your Mac and all Mavericks can do for you. « less
Exploiting OS X from the Root Up
Written by two experienced penetration testers the material presented discusses the basics of the OS X environment and its vulnerabilities. Including but limited to; application porting, virtualization utilization and offensive tactics at the kernel, OS and wireless level. This book provides a comprehensive more » in-depth guide to exploiting and compromising the OS X platform while offering the necessary defense and countermeasure techniques that can be used to stop hackers
As a resource to the reader, the companion website will provide links from the authors, commentary and updates.
* Provides relevant information including some of the latest OS X threats
* Easily accessible to those without any prior OS X experience
* Useful tips and strategies for exploiting and compromising OS X systems
* Includes discussion of defensive and countermeasure applications and how to use them
* Covers mobile IOS vulnerabilities « less
Discovering and Exploiting Security Holes
* This much-anticipated revision, written by the ultimate group of top security experts in the world, features 40 percent new content on how to find security holes in any operating system or application
* New material addresses the many new exploitation techniques that have been discovered since the more » first edition, including attacking "unbreakable" software packages such as McAfee's Entercept, Mac OS X, XP, Office 2003, and Vista
* Also features the first-ever published information on exploiting Cisco's IOS, with content that has never before been explored
* The companion Web site features downloadable code files « less
Helping UNIX programmers have a one-volume guide to the essential system-level services provided to them by the UNIX family of operating systems, this edition includes Linux, FreeBSD, and the Mac OS X kernel. Because mastering application programs is essential for successful UNIX programming, it helps more » programmers with emphasis on portability. « less