About This Title

Pages: 274
Published: October 2018
ISBN: 9781680505863
In Print

Skill Level Meter

Xcode Treasures

Master the Tools to Design, Build, and Distribute Great Apps

by Chris Adamson

Learn the critical tips and techniques to make using Xcode for the iPhone, iPad, or Mac easier, and even fun. Explore the features and functionality of Xcode you may not have heard of. Go under the hood to discover how projects really work, so when they stop working, you’ll know how to fix them. Explore the common problems developers face when using Xcode, and find out how to get the most out of your IDE. Dig into Xcode, and you’ll discover it’s richer and more powerful than you might have thought.

See the livestream on Vimeo—Xcode Treasures:

Debugging:

Part 1
Part 2
Part 3
Part 4

Editing:

Part 1
Part 2

Printed in full color.

eBook Formats:

  • PDF for desktop/tablets

  • epub for Apple Books, e-readers

  • mobi for Kindle readers

Get all eBook formats here for $27.95 (USD)

Add to Cart we accept visa, mastercard, amex, discover, paypal


Paperback Formats:

Please support indie bookstores!
Find indie bookstores in the U.S. Find indie bookstores around the world.


Get a huge productivity boost by working with Xcode instead of against it. Instead of hacky code fixes and manual processes, once you know the the why and how of Xcode’s process, you’ll discover that doing things Xcode’s way makes your app development more elegant and less aggravating.

Explore the major features of Xcode: project management, building UIs with storyboards, code editing, compiling apps, fixing bugs and performance problems, unit- and UI testing, and source code management. Go beyond the basics and explore tasks that professionals deal with when they’re working on big projects. Create storyboards that many developers can work on at once, even as projects grow to hundreds or thousands of files. Find the tools that make the code editor pleasant to work with, even in long coding sessions. Discover the right way to find and fix bugs when you have lots of code that’s not always playing nicely together.
Dig into specific and little-discussed features that help developers on Apple’s other platforms: macOS, watchOS, and tvOS. When you’re ready to distribute your app, learn how Apple’s code-signing system really works. Find out when to let Xcode handle it automatically, and how to do it manually when needed.

Discover how fun iOS development is when you know the secrets of the tools.

What You Need

This book requires Xcode 9 and a Mac running macOS High Sierra (10.13.2) or later. Additionally, an iOS device is recommended for on-device testing but not required.

Resources

Releases:

  • P1.0 2018/10/15
  • B8.0 2018/10/03
  • B7.0 2018/08/16
  • B6.0 2018/08/02

Contents & Extracts

  • Acknowledgments
  • Introduction
    • Been There, Done That
    • What’s in an IDE?
    • No Regrets
    • About This Book
    • Expectations and Technical Requirements
    • Online Resources
  • Projects
    • Understanding Projects and Files
    • Working with Project and Target Settings
    • Using Configurations
    • Managing Your App’s Version Numbers
    • Adding Images and Other Files to the App
    • Creating App Extensions and Frameworks
    • Wrap-Up
  • Storyboards: Appearance
    • Working with Scenes
    • Inspecting the Inspectors
    • Making Sense of Auto Layout
    • Wrap-Up
  • Storyboards: Behavior
  • Editing Source Code
    • Theming the Code Editor
    • Setting Text Editor Preferences
    • Faster File Navigation
    • Comment Magic
    • Finding Documentation and Definitions
    • Typing Source Code
    • Searching for and Replacing Text
    • Coding With Snippets
    • Wrap-Up
  • Building Projects
    • Understanding App Bundles
    • Build Settings
    • Build Phases
    • Special Files in Builds
    • Building on the Command Line
    • Wrap-Up
  • Debugging Code
    • Finding Bugs with Breakpoints
    • Digging Deeper into Breakpoints
    • Debugging with the Console
    • Finding and Fixing Crashing Bugs
    • Visual Debugging
    • Wrap-Up
  • Improving Performance
    • Managing Memory Mistakes
    • Optimizing CPU Use
    • Wrap-Up
  • Automated Testing
    • Adding Test Targets
    • Viewing Code Coverage
    • Using Environment Variables in Tests
    • Running Tests on the Command Line
    • Packaging App Data for Tests
    • Wrap-Up
  • Security
    • Sandboxing and Entitlements
    • App IDs and Your Developer Account
    • Automatic Code Signing
    • Manual Code Signing
    • Wrap-Up
  • Source Control Management
    • Creating and Cloning Git Repositories
    • Using Your Git Repository
    • Branching and Merging
    • Dealing with Xcode’s Git Limitations
    • Wrap-Up
  • Platform Specifics
    • Command-Line Applications on macOS
    • Multi-Platform Projects
    • Working with watchOS Simulators
    • On-Demand Resources for tvOS
    • Layer Stack Images for tvOS
    • External Monitors on iOS
    • Wrap-Up
  • Extending Xcode
    • Editor Extensions
    • Distributing the Extension
    • Wrap-Up

Author

Chris Adamson is the co-author of iPhone 10 SDK Development (Pragmatic Programmers) and Learning Core Audio (Addison-Wesley Professional). He’s also a freelance iOS and Mac developer, based in Grand Rapids, Michigan, where he also writes the Time.code() blog at subfurther.com/blog and hosts livestreams at invalidstream.com. Over the years, he has managed to own fourteen and a half Macs.

eBook Formats:

  • PDF for desktop/tablets

  • epub for Apple Books, e-readers

  • mobi for Kindle readers

Get all eBook formats here for $27.95 (USD)

Add to Cart we accept visa, mastercard, amex, discover, paypal


Paperback Formats:

Please support indie bookstores!
Find indie bookstores in the U.S. Find indie bookstores around the world.

Related Titles:

Skill Level Meter

About This Title

Pages: 274
Published: October 2018
ISBN: 9781680505863
Edition: 1
In Print