2013 Fall Tour Registration Now Open!

CocoaConf Chicago: Sessions

A Pocketful of Patterns

Daniel Steinberg

Design Patterns neither begin nor end with the Gang of Four. In this keynote we will begin and end with Patterns from their famous book but as with most after dinner treats the good part is the gooey center where we'll explore patterns that apply to Cocoa and Cocoa Touch apps.



Accessible to All: Designing Apps for Everyone

Charles Perry

For millions of Americans who have some form of disability, the iPhone isn't just a convenience; it's an indispensable tool. They depend on their iPhone to accomplish tasks that many non-disabled people take for granted. Using the accessibility technologies that are built into iOS, the blind can catch up on email, the deaf can call up a friend to chat, and those with motor disabilities can tap a calendar entry. These accessibility technologies empower the disabled as few other technologies do, but in order to make the most of them, you, the developer, need to design your apps with them in mind. In this session, we'll explore the principles of universal design and learn how they can be used to build accessibility into an app from the very beginning. We'll also learn how employing universal design creates better user experiences for all customers, not just those with disabilities. The wide range of accessibility technologies that are built into iOS will be explored, then we'll dive deeper into iOS' VoiceOver technology which is used by those with vision impairments.



Advanced Behavior and Performance Testing With UI Automation

Jonathan Penn

Behavior and performance testing takes a toll on us as developers. We have to perform the same steps over, and over, and over again. That's where Instruments and UI Automation can help. We're going to explore practical examples of building tests for iOS applications, organizing test suites, automated performance testing with Instruments, stubbing app data and external dependencies, and running things from the command line...automating our automated tests as it were.

This is going to be a dive deep into the tools with all new material. Bring your tough questions and we'll chat during the Q&A.



All Day iOS Tutorial

James Dempsey

New to iOS programming? This one day overview will introduce you to all the basic concepts you'll need to build an application. From using Xcode's templates to displaying lists of information and navigating between screens of information. When you finish the day you'll have a fully functional iOS app that you can show off to your friends.

  1. Getting Started, Fast!
    - From installing Xcode to posting a tweet in one short lesson. In this section we'll get started with a quick success and along the way learn the basics of Xcode.
  2. Objective-C, the important bits
    - All the ObjC you need to know, and a bit of cool bits and pieces thrown in for good measure. We'll also talk about some of the most commonly used classes from the Foundation framework.
  3. View Controllers
    - Gain essential understanding of one of the fundamental building blocks of iOS programming. In this section we'll learn how to connect the custom logic of our apps to the OS.
  4. Table Views
    - Lists of content are pervasive, in this section we'll see how table views work and discuss common performance pitfalls.
  5. Navigation & Storyboards
    - Building more than the most rudimentary application requires more than one view controller, this section will cover how to use Storyboards to lay out the flow of your application and how to navigate between the multiple view controllers.



Architecting Apps for Mac: Blueprints & Best Practices

Brittany Tarvin

iOS tends to steal the stage these days, but there are also many benefits to building native Mac clients either to compliment existing iOS apps, or to stand alone. In this talk, I will share best practices for the overall architecture and design of Mac-only and cross-device applications that will allow for optimal code re-use, while also taking advantage of specific complexities and the additional power that OS X has to offer. In the process, I will hit on nuances that may trip up iOS developers coming over to OS X for the first time.



Blocks

Jeff Biggus

This session will go over how blocks / closures work in Objective-C and get you ready to use them in your code right away. Blocks can look ugly at first sight, but the goal of this talk is to see thru the syntax to the design patterns which are opened up by this beautiful new addition to C. From Cocoa API-level use to custom-fit blocks, you will learn why anyone would want to use them and how much better your programs will be as a result. In addition to use examples, you'll gain a solid understanding of what's going on behind the scenes with a brief deep-dive into what makes blocks tick and how best to approaching thinking about them. Once you start using them, it'll rock your Cocoa coding.



Building a Prototype: there's a tool for every task.

Ben Lachman

Going from an idea and a few sketches in a Field Notes to a beautiful and tantalizing app on the App Store can be a long, and sometimes, arduous task. Making prototypes of your app ideas can make the finished product more successful and help you avoid nights tearfully crying over your keyboard while you rewrite core features. In this session we’ll talk through several different kinds of prototypes you might want to build and then look at tools that can help building these prototypes.



Changing the Rules of the Game: Objective-C Runtime Manipulation

Whitney Young

Much of the power behind Objective-C comes from its amazingly flexible runtime. The language exposes a rich feature set for manipulating classes, methods, and objects. All this power and flexibility is sometimes misunderstood, though. "Why would you ever need to add a method at runtime?" people ask. "Is that really a good idea?" Well of course it is! Without the runtime, many of the technologies that you take for granted every day would not be possible. Apple has leveraged the runtime heavily in Cocoa, and you should, too. Plus, it's just plain fun to tinker with every once and a while! In this session, you'll learn typical techniques that are used to manipulate the runtime and how to apply them in real world applications. Learn what makes the wheels turn, so you'll be able to bend the system and start looking at problems in a whole new way.



Core Audio in iOS 6

Chris Adamson

Core Audio gets a bunch of neat new tricks in iOS 6, particularly for developers working with Audio Units. New effect units include an improved ability to vary pitch and playback speed, a digital delay unit, and OS X's powerful matrix mixer. There's now a new place to use units too, as the Audio Queue now offers developers a way to "tap" into the data being queued up for playback. To top it all off, a new "multi-route" system allows us to play out of multiple, multi-channel output devices at the same time.

Want to see, and hear, how all this stuff works? This section is the place to find out.



DSLs and Extension Languages

Josh Smith

Special purpose programming languages are anything but new.  The same with extension languages (for example, TCL was created in 1988).  In this session you will learn the difference between these two concepts and learn how you can leverage these concepts in iOS and Cocoa applications. We will also cover how to include them in your XCode workflow.



Effective iOS Network Programming with AFNetworking

Ben Scheirman

Very few apps these days are self-contained silos. More often than not, your app will need to consume data from external sources. In this session, you'll learn how to properly write networking code so that you don't block threads, don't fetch data you don't need, and cache the right data the right way. You'll learn about an excellent framework called AFNetworking to simplify your networking code. And you'll also see some practical examples such as fetching images asynchronously to update a UITableView.



Finding your way with MapKit and Solr

Christopher Judd

Mobile phones have given everybody a portable GPS in their pocket. Frameworks like MapKit make it easy to embed mapping functionality into your own applications. This session will begin by providing an quick introduction to MapKit. But MapKit may not be enough. Often applications need a server side component which stores and makes searching location information easy. Apache Solr is a powerful yet easy to use open source enterprise search server with geospatial searching capabilities built-in. This session will conclude by showing how integrating MapKit and Solr using JSON and RestKit maybe the right direction for your next mobile map app.



Getting Pushy

Dave Koziol

Push Notifications are a staple of many iOS applications. In this talk, we'll cover what it takes to get them flowing. While the focus will be on the iOS side of the process, we'll also touch on server issues and options.



Getting started with CocoaPods

Peter Kananen

Dependency Management is one of those things you just shouldn't have to worry about. Unfortunately, doing iOS and Mac development means you've probably spent a lot of time fighting Xcode when using third-party libraries. CocoaPods offers a better alternative. Pulling down code, resolving dependencies, and setting up your project workspace just got a lot easier. Sound too good to be true? Come find out how CocoaPods can make your life simpler.



Getting to Know Core Data

Whitney Young

Maybe you've dipped your feet into the Core Data pool, or perhaps you've never used it before. At any rate, it's time to solidify your understanding. In this talk, we'll cover the basics of the framework and then begin to discuss some of the details. We'll cover everything you need to know to get started with Core Data and clearly explain how all of the pieces fit together. You'll walk away feeling well acquainted with Core Data and will have the confidence to effectively use it in various data-backed apps.



High Performance Computing for All: Using Apple's Accelerate Framework in Your Apps

Jeff Biggus

The goal of the talk would be impress on people that using the accelerate framework is worth the effort. I try to introduce the (pure C) framework in such a way that it takes away the initial shock and confusion that most people feel when confronted with it and give them clear ways to think about why and how to use it. When done right, one's code is not only faster and takes up less battery life, but is more elegant, debuggable, future-proofed and allows for features an individual developer wouldn't want to implement themselves. I will include several demos of using the framework, presenting the code with and without using it for contrast, along with benchmarks. I'll try to make the examples eclectic: imaging, audio, scientific, general data stuff. I also have some custom crib sheets that help decoding the (vast) function lists available. There's also some new stuff in iOS 5 as well. There are also a lot of nitty gritty details that I have worked out that I can save others time with. Example code is kept simple but realistic.



How to validate your iOS App using Xcode Instruments: A reusable approach to UI Automation

Elizabeth Taylor

Reduce validation time and gain confidence in your code by using Xcode Instruments to automate your functional testing, validate your UI elements, and stress test views.

I will present a Test Automation Strategy that can be applied to most any iOS Mobile App. I will discuss how to automate a mobile app using Java Script and the UI Automation API in Xcode instruments.

You will learn how to structure your test suites and libraries so that they are easy to debug and run. We will walk though code snippets, useful API functions, and run a test suite to illustrate how a clean test structure provides readable test results.



It's All in the Tools

Nathan Eror

"Engineer", "craftsman", "artist". These words have all been used behind the word "software" at some point. And they all fit. Building great software requires the perspective of a polymath. Nowhere is this more evident than in the tools of software development. The tool landscape is as varied as it is vast, but these tools all have a unique quality: nearly every one was designed and built by software developers. It is a rare luxury for a professional to have such an intrinsic understanding of his tools as well as the knowledge to build his own. In this session, we will expand on both of those ideas. For your engineering side, we will explore the Xcode toolset with a focus on automation and optimizing workflow. Next, we will inspire the craftsman in you by looking at custom generic and single-use tools. Finally, your inner artist will be inspired when we look at creative uses of software outside of the traditional developer toolbox. By the end of this session, you will have a deeper understanding of the tools you use every day, and you might find a new use for some of that other software gathering dust on your hard drive.



Jenkins - Your personal butler for continuous integration and project automation in iOS

Ben Scheirman

Continuous integration is an important and useful tool to have in your arsenal. Agile developers always say, "when something is painful, do it more often." This is counter-intuitive at first but is very profound. CI servers have another side-benefit that can be just as useful: project automation. This presentation will cover continuous integration and project automation using Jenkins, an open-source, web-based continuous integration server. We'll take a look at building out a new Jenkins install, how to configure it to checkout the source code & build your project, as well as advanced topics like running unit tests or building IPAs for distribution.



Less code, more fulfilling.

Daniel Steinberg

The way you write code for your iOS and Mac OS apps has been changing with every release of Xcode. In this talk you'll see how recent changes dramatically alter your source code. With synthesize by default, literals, and the order of methods not mattering, the amount of code you write will shrink and what's left will be more readable. We'll look at before and after pictures that will convince you to embrace the new features that have been working their way into the language since Xcode 4.2.



Mobile Movies with HTTP Live Streaming

Chris Adamson

If your iOS app streams video, then you're going to be using HTTP Live Streaming. Between the serious support for it in iOS, and App Store rules mandating its use in some cases, there realistically is no other choice. But where do you get started and what do you have to do? In this session, we'll take a holistic look at how to use HLS. We'll cover how to encode media for HLS and how to get the best results for all the clients and bitrates you might need to support, how to serve that media (and whether it makes sense to let someone else do it for you), and how to integrate the HLS stream into your app.



NSPredicates For Fun and Profit

Josh Smith

NSPredicates aren’t just for Core Data.  NSPredicates can be used to attack a variety of tasks with collections in ways that make your code more testable and easier to maintain.  They are, however  not well documented and notoriously difficult to create.  Sure, once created they are easy to use and let you do things that are very difficult without them.  In  this intermediate session we will cover what NSPredicates are, where they can be used,  how to debug them, and how to replace difficult to maintain iterative code with elegant predicates.  You should have a good understanding of Objective C and the collections.    While we will cover some of Core Data, this is not a Core Data session.



OH MY CLIENTS!

Jaimee Newberry

Frustrations with clients or customers of our products can spawn from a host of situations. Mine often come from mis-thinkings in how/where "UX" belongs in the project lifecycle. How can we help clients understand what UX is and how it threads through a project from beginning to end?



Reverse Q&A Panel

Chris Adamson

"In Soviet Russia, panel questions you!"

Borrowing an idea from the Penny Arcade Expo (PAX) and the panels held there by Harmonix (makers of the "Rock Band" games), a "Reverse Q&A" literally turns the tables on the traditional panel. Speakers become questioners, and attendees are the ones with the answers.

It's a new and novel idea, letting attendees have their moment in the limelight to say what they're really thinking, and letting speakers learn more about what people want from conferences, books, and their development life in general. With a combination of polls, follow-ups, person-on-the-street questions, and funny stories that we can all relate to, the Reverse Q&A will shake the cobwebs out of the old panel format and turn it into a two-way discussion that both sides of the mics can learn from.



Sand In My Shoes: Sandboxing Your Mac Apps

Boisy Pitre

Apple's sandboxing technology is a great way to protect your app and give your customers confidence that it will be well behaved. And while sandboxing is a requirement for all applications in the Mac App Store, it has benefits for apps sold through traditional means. Some have even speculated that Apple will expect all apps to be sandboxed at some point in the future. Whether your application is in the Mac App Store or not, you need to understand this key technology; it is the future of application security on the Mac. We'll examine the ins and outs of App Sandboxing, why it's important, how to utilize entitlements, and cover additional information that you will need to know in order to bring your apps into this brave new world.



Scalable Cloud Apps That Won't Keep You Up At Night

Aaron Douglas

Most applications writing for mobile platforms need some sort of integration with web services. Unfortunately, most times backend infrastructure becomes an oversight and the app ends up suffering in the long run. Using cloud infrastructure technologies like Parse can help you get from concept to App Store insertion in no time. Parse's simple API, extendable Cloud Code feature and Push notification API let you focus on your app while getting a scalable backend solution.



Sending Feedback to Apple - An Insider’s Guide

James Dempsey

Filing bugs at bugreporter.apple.com can feel like tossing messages into a black hole. In this session, get insights and an inside look from someone who has been on both the sending and receiving end of bug reports at Apple. We’ll take a look at the bug reporting process, writing good bugs, and strategies that can give your feedback a better chance at being addressed.



Storyboards - This time it's personal

Daniel Steinberg

You learned to love to use storyboards to layout and create your iPhone and iPad applications when they were introduced in iOS5. Now storyboards are back and better than ever. In this session we'll begin with a look at "our story so far". We'll then embark on a wild ride through new features in storyboards in iOS 6 including autolayout, localization, embedded view controllers, and unwinding segues.



Super Rad Brainstorming!

Jaimee Newberry

How to get the most out of your brainstorm sessions.

Whether you're an independent developer working solo, a small indie team or working inside or with a larger entity, getting the most out of your brainstorming sessions is essential. Learn some spiffy tricks about preparing, thinking and organizing your ideas so that you're ready to rock it when it comes time to build.



What was I thinking?

Brandon Alexander

We all write bad code at one point or another. From hard to find bugs to sluggish user interfaces, we’ll discuss what it means to be pragmatic and develop an application to be proud of.



Women in Technology: Moving our story to the main thread

Brittany Tarvin

It's no secret that in many ways, and for numerous, complex reasons, the field of computer science has become one of the most male-dominated fields in all of engineering to date. It's important for the future innovation of our field, and for our daughters, that we move the minority voice to the main thread and really turn up the volume on this conversation. "Women in tech" doesn't have to be a sore subject or a heated debate, it can be a story of encouragement and giving back. You may be surprised to find that it's the little changes which can make the biggest impact, and that choosing to become a part of the solution is a whole lot easier than you might think.



Zen And The Intro To iOS Gesture Recognizers

Jonathan Penn

Gesture Recognizers are Apple's answer to the problem: How do I keep all those touches straight!?!? It's about tracking touch state over time, and UIGestureRecognizer subclasses give us a standard and composable way to manage that complexity. We'll look at how recognizers work, how they compete to decide which one "wins", see a custom complex gesture recognizer in action, and discuss how to leverage this in your applications. Complete with demo and sample code!



iOS 2D Game Development Workshop

Josh Smith

Also featuring Jonathan Penn

This workshop is for people who are past the basics of iOS development and are interested in developing 2D games. When you finish, you will have developed two mini-games and have an understanding of how to prototype and test game ideas and mechanics. We will also cover how to integrate physics and Apple's Game Center into your programs.

When we are done you will be able to:

  • Prototype and play a game idea
  • Understand the management of art and assets (including in-app purchases)
  • Be able incorporate Game Center into your apps
  • Have written two mini-games to show off to your friends
  • A multi-player letter tile game (Letter Tiles With People You Barely Know)
  • A physics based game (Irritated Hamster)

This is an intermediate session, and it is assumed that attendees are iOS developers. At a minimum, you should know how to build and run apps, link and use iOS frameworks. You should have an Apple computer with Xcode 4.4 or higher. Being able to deploy to an iOS device during the session is optional, but may be helpful.

Schedule

  • 8:30 - 9:00 Introduction and Setup
  • 9:00 - 10:00 Prototyping
  • 10:00 - 10:45 Art, Assets and In App Purchases
  • 10:45 - 11:00 BREAK
  • 11:00 - 12:00 Game (Center) Theory
  • 12:00 - 1:00 LUNCH
  • 1:00 - 2:00 Letter Tiles With People You Barely Know
  • 2:00 - 2:45 Physics
  • 2:45 - 3:00 BREAK
  • 3:00 - 4:45 Irritated Hamsters
  • 4:45 - 5:00 BREAK
  • 5:00 - 6:00 Polish and Winning



iOS Connectathon with Windows Azure Mobile Services

Josh Twist

Find out how Microsoft's Windows Azure Mobile Services can add the backend capabilities you need, including push notifications, authentication and data, to your iOS applications in minutes. See how easy it is to work with structured data in the cloud using the native Objective-C SDK and send push notifications via APNS in a single line of code! You can even secure your data with server scripts for authorization and more. There'll be very few slides, plenty of live coding and lots of demos.



iOS Debugging

Dave Koziol

This intermediate level session will help you get more out of debugging for iOS. It will start with the basics, like logging, breakpoints and variables, and move to more advanced topics like conditional breakpoints, watching memory and location debugging.



iPad Productivity APIs workshop

Chris Adamson

Tim O'Reilly once passed along an observation from Broderbund founder Doug Carlston: "We consider a productivity application to be any application where the user's own data matters more to him than the data we provide."

The iPad is an absurdly wonderful device for this kind of application: big touch screen for drawing/designing/writing, gigs of storage, wireless networking to put your work in Dropbox or iCloud, and multi-core CPUs to grind through the heavy lifting. And don't let the lack of a user-visible file system fool you: inside the SDK, there is deep support for writing world-class applications to create, manage, edit, export, and distribute the user's data. Cut/copy/paste, import/export, rip/mix/burn, it's all there. But how do you find it, and how do you put the pieces together?

In this all-day tutorial, we'll look at the most essential SDKs for writing apps that let users make the most of their data, whether it's words, pictures, numbers, or media. We'll cover:

  • Essential editing APIs: cut/copy/paste, undo/redo, and the UIMenuController
  • Storing documents in the file system (including iTunes import/export) and in iCloud [requires Apple Developer Program membership]
  • Printing and PDF export
  • Inter-application communication with magic URLs and document exchange

...plus more neat tricks to make our users more productive.