Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Apple Watch App Development

You're reading from   Apple Watch App Development Build real-world applications for the Apple Watch platform using the WatchKit framework and Swift 2.0

Arrow left icon
Product type Paperback
Published in Apr 2016
Publisher
ISBN-13 9781785886362
Length 358 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Steven F. Daniel Steven F. Daniel
Author Profile Icon Steven F. Daniel
Steven F. Daniel
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Introducing the Swift Programming Language FREE CHAPTER 2. Understanding Apple Watch 3. Exploring WatchKit Controls 4. Using the Core Location and Watch Connectivity Frameworks 5. Navigating Around in WatchKit 6. Implementing Tables within Your App 7. Adding Menus to Your App 8. Incorporating the Glance Interface in Your App 9. Incorporating Notifications within Your App 10. Image Compression and Animation 11. Packaging and Deploying Your App Index

Profiling your application using Xcode Instruments


In this section, we will focus on how to effectively use Xcode Instruments within our applications to track down areas that could be affecting the overall running performance.

These types of issues could potentially cause an application to run slowly, or even crash on the user's iOS device. We will look at how to profile our Animation Example application using the Leaks instrument that will help track down any memory leaks within our code, which may not have been released correctly and may thus affect the application's overall performance.

To begin profiling your application using the Instruments application, follow these simple steps:

  1. Select the AnimationExample.xcodeproj file from the Chapter 10 folder in the accompanying code bundle.

  2. Next, ensure that the AnimationExample Xcode project file is open within the Xcode development IDE.

  3. Choose Profile from the Product menu, or alternatively, use the keyboard shortcut, Command + I:

  4. Once this option...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image