Decoding the iOS6 SDK

Decoding the iOS6 SDK

by Mark Hammonds, Bart Jacobs, Akiel Khan, Aaron Crabtree, Aron Bury

eBook includes PDF, ePub and Kindle versions!

The Quick Start Guide to iOS 6 Productivity covering the most essential aspects of developing with the iOS 6 SDK.

Who This Book is For

Decoding the iOS 6 SDK is written for intermediate iOS developers who want to quickly get up to speed with the iOS 6 SDK and all the fundamental changes that occurred to Xcode and the iOS device landscape in 2012.

Beginning iOS developers who understand the fundamentals of the SDK and Xcode will also benefit from reading this work.

The book follows a non-linear format that allows the reader to decide how much time to spend on any given topic. This is accomplished by dividing each chapter into a “Theoretical Overview” section and a “Tutorial Project” section.

While it’s certainly possible to read the entire book from cover-to-cover (we think you’ll enjoy doing so!), it’s also possible to simply read the “Theoretical Overview” of each chapter to get a high- level understanding of the iOS 6 SDK changes, and then go back and focus in on the most relevant or interesting tutorial projects on a more selective basis.

Regardless of how you approach the book, expect to learn about the most essential aspects of developing with the iOS 6 SDK, Xcode, and all the iOS devices released from Cupertino in 2012.

Hear from the author...

Hello, I’m Mark Hammonds, and I’m one of the authors of Decoding the iOS 6 SDK.

As I’m sure you know, many exciting new enhancements and changes were introduced with the release of iOS 6. These changes are all the more relevant as over 60% of iOS devices upgraded to iOS 6 within just the first month of release.

In addition to a new major iOS release, developers also saw the introduction of three new iOS devices, two of which, the iPhone 5 and the iPad mini, had completely new form-factors. The iOS development workflow received many new changes as well.

Xcode received 9 new releases in 2012, and the LLVM Compiler received updates that will fundamentally alter the way many of us write Objective-C code. For those who already work full-time in the industry, keeping pace with these changes can feel like a second job!

The purpose of this book is to provide one convenient resource for sharpening your iOS skills and keeping pace with all the latest advances from Cupertino.

The content is organized in such a fashion that you can quickly jump to the sections that matter the most to you, and that means you can spend less time simply reading about the iOS 6 SDK and more time actually building the next great iOS 6 app!

What the book covers

Chapter 1: iOS 6 SDK Essentials by Mark Hammonds

Start off by learning about all the most important changes to the iOS ecosystem and the iOS 6 SDK. The tutorial project from this chapter covers enhancements to Xcode, the LLVM Compiler, autorotation changes in iOS 6, writing backwards compatible code, and deploying to the iPhone 5, the iPad 3, and the iPad mini.

Chapter 2: UITableView Changes & Enhancements by Aron Bury

Table views are one of the most widely used components in iOS development. iOS 6 introduces several important changes to table views, including a paradigm shift for generating table view cells, the ability to provide header and footer content, and a new “pull-to-refresh” control from Apple.

Chapter 3: Data Isolation Controls by Mark Hammonds

iOS 6 introduces several important privacy enhancements that provide more control over the level of access apps are granted to user data. This chapter demonstrates how to interact with the address book, calendars, reminders, location data, and user media using the new API calls.

Chapter 4: Apple Maps and Map Kit by Aaron Crabtree

In combination with the release of Apple Maps, Map Kit also received a significant number of API improvements and changes. This chapter will get you up-to-speed while teaching you how to build a simple app for tracking cycling routes.

Chapter 5: Reminders and Event Kit by Aaron Crabtree

Event Kit will now allow developers to access user Reminders and set proximity or time- based alarms. Learn how to take advantage of these features and build a Dinner Reservations app.

Chapter 6: UIKit Theming Controls by Aron Bury

Customizing an app’s interface is a great way to stand out in the App Store. This chapter will demonstrate the many new theming capabilities provided by UIKit in iOS 6!

Chapter 7: Auto Layout Fundamentals by Akiel Khan

Developing applications that will look great across the 3.5” iPhone, the 4” iPhone, the iPad, and the iPad mini can be a challenge. Fortunately, Apple’s new Auto Layout system makes this much easier to accomplish, and this chapter will introduce you to the fundamentals.

Chapter 8: Advanced Auto Layout Techniques by Akiel Khan

Picking up where chapter 7 left off, this chapter will dive into more advanced Auto Layout concepts, including the the new Visual Format Language (VFL) for managing layout constraints.

Chapter 9: Collection View Fundamentals by Bart Jacobs

With the rise of the iPad, many iOS developers have begun using advanced, grid-based layouts in their applications. The UICollectionView class makes doing so easier and more robust than ever, and collection views are sure to become a favorite tool among iOS developers.

Chapter 10: Advanced Collection View Techniques by Bart Jacobs

This chapter demonstrates the versatility and genius of collection views by showcasing several of the more advanced aspects of their architecture. The tutorial project in this chapter will teach you how to build a music playlist application that pulls content from the local device music library.

Chapter 11: Social Framework Fundamentals by Bart Jacobs

The introduction of the Social Framework makes it easier than ever before to share application content on Twitter, Facebook, or Sina Weibo. This chapter will get you up to speed with the basics and teach you how to build a simple photo sharing app.

Chapter 12: Advanced Social Framework Techniques by Bart Jacobs

This chapter expands on the principles introduced in Chapter 11 and demonstrates how to build a basic Twitter client using a combination of the Accounts Framework and the Social Framework.

Chapter 13: State Preservation and Restoration by Akiel Khan

This chapter will show you how to get the most out of the new state preservation and restoration capabilities of the SDK, making it easier than ever to convey a sense of continuity and efficiency within your apps!

Chapter 14: Pass Kit Fundamentals by Aaron Crabtree

One of the most promising new additions to iOS 6 is the Passbook application. This chapter will teach you how to build a demo snowboarding ticket that interacts with Passbook and the Pass Kit framework.

About the author

Mark Hammonds

Mark Hammonds is an entrepreneur and investor with an obsession for innovation. He is the co-founder of Mythic Code and has provided consulting services to multi-billion dollar companies as well as government organizations. In addition to his entrepreneurial pursuits, he is the managing editor of Mobiletuts+, a software development blog in the Tuts+ network that focuses on all things Android, iOS, and mobile.

Mark lives in Tampa, FL, and spends his offline time kayaking in the Gulf of Mexico, striking up conversations over a cup of coffee or tea, or improvising on guitar and piano as a self taught musician. You can find him on Twitter @markhammonds.

About the author

Bart Jacobs

Bart Jacobs runs Code Foundry, a mobile and web development company based in Belgium. One of the flagship products of Code Foundry is Ladybug, an innovative bug and issue tracking solution for Mac and iOS developers. You can follow Bart on Twitter as @_bartjacobs or read more about him on his personal website.

About the author

Akiel Khan

Akiel Khan has lived in the Middle East, the United Kingdom, and his birthplace, India. He would consider himself a researcher at heart, and is currently on hiatus from a Ph.D. program in computer vision and machine learning at a UK university. He enjoys writing code, especially for the iOS platform, and at the moment he is working toward finding his niche; ideally one that would allow him to work on solving interesting problems with computers.

Akiel is thankful for his family, who have remained supportive throughout life.

About the author

Aaron Crabtree

Aaron Crabtree is the founder of Tap Dezign, an iOS and iBooks development company located in the Pacific Northwest. Aaron happily takes on the role of designer and developer in his projects as he carries 12+ years of graphic design experience. Aaron has been developing his passion for iOS programming since early 2009, and he has enjoyed watching iDevices evolve over the years.

Aaron lives in a small mountain town where he enjoys hiking, fishing, and taking in the sights with his wife and four boys. The best way to reach him is via Twitter @aaron_crabtree.

About the author

Aron Bury

Aron Bury is an avid mobile developer from Melbourne, Australia specializing in enterprise applications. He has always had a passion for developing innovative solutions to complex problems and fell in love with the iOS platform back in 2010. Since then it has been his mission to bring empowering and creative mobility solutions to enterprises.

You can reach Aron via Twitter or email.