Bonus Tracks
Bonus Tracks are free screencasts on practical tips and tricks
related to topics we teach in our Pragmatic Studio training
courses. Each screencast is short and focused on one technique so
you can quickly move on and apply it to your application. Some of these
techniques are taught in depth during a course, and others are simply bonus
material you can enjoy before or after a Studio.
#20
May 03, 2012
Comments
RubyMotion Primer
RubyMotion is an exciting new toolchain that lets you create fast, native iOS apps using the Ruby programming language. This screencast shows you how to create a basic iOS app using RubyMotion. The app is based on an example used in our iOS course.
Download QuickTime
(92 MB,
50:27)
Redcar
Redcar is a clean and intuitive open-source editor written in Ruby. It has everything you need when you're starting to learn Rails, for example, without all the complexity of an IDE. And it's cross-platform, so you can enjoy a smooth ride on any platform. This video shows you how to install Redcar and use it to navigate around a Rails project.
Download QuickTime
(35.6 MB,
12:25)
Fix It
Xcode 4 leverages the new LLVM compiler to point out potential problems in our code as we're typing, and can even fix those problems. This episode shows you the shortcuts to get 'er done!
Download QuickTime
(18.3 MB,
6:31)
Custom Code Snippets
The pre-defined code snippets in Xcode 4 are a good start, but you know you want to create your own custom snippets. Learn how in this episode!
Download QuickTime
(17.7 MB,
6:11)
Code Snippets
Xcode 4 has improved support for code snippets. In this episode, we use some of the pre-defined snippets to generate common chunks of code.
Download QuickTime
(24.6 MB,
7:18)
Code Completion
Objective-C class and method names can be fairly long. Throw in multiple parameters, and you have a real typing challenge. Keying these in character by character is not only tedious, it's also prone to error. Learn how to use basic code completion in this episode. More code, less typing!
Download QuickTime
(14.2 MB,
6:18)
Opening Files, Quickly!
As you're coding your iOS and Mac apps using Xcode, you'll frequently be opening new files and navigating around the files in your project. Opening files should be quick and easy! These keyboard shortcuts will save you time.
Download QuickTime
(13 MB,
3:41)
Using Interface Builder in Xcode 4
IB is fully integrated with Xcode 4: there's no need to switch back and forth between
two applications! This screencast introduces you to the new IB editor and shows you how to wire up outlets and actions in Xcode 4.
Download QuickTime
(53.6 MB,
15:44)
Changing the Assistant Layout
Want to change the layout of the Assistant Editor? This screencast shows you how, and also
covers adding more than one Assistant Editor.
Download QuickTime
(14.3 MB,
3:06)
Utilities Keyboard Shortcut
In the previous screencast, I mentioned not being able to find a shortcut to
show/hide the Utilities view. Well, I found it! This screencast reveals the
secrets, and shows you a few more shortcuts along the way.
Download QuickTime
(12 MB,
2:59)
Xcode 4 Interface Overview
The single-window interface in Xcode 4 is designed to streamline your workflow. But it can be kind of disorienting at first. In this screencast, we look at the main parts of the interface---navigators, editors, and views---to help you get comfortable with the shiny new interface. You'll also learn some keyboard shortcuts to stay productive in Xcode 4.
Download QuickTime
(47.9 MB,
14:10)
Xcode 4 Project Setup
Xcode 4 lets you connect to a Subversion or Git repository to work with existing projects. So we start our Xcode 4 tour by cloning an existing project from GitHub and opening it straight into Xcode. Then we have a quick look around and build and run the project. Your Xcode 4 journey starts here...
Download QuickTime
(20.3 MB,
6:33)
Using the Docs
You'll end up spending a fair amount of time in the Cocoa and iPhone SDK documentation. This screencast shows you how to get there quickly from Xcode and find what you're looking for.
Embedding MacRuby
At some point you're going to want to distribute your MacRuby application to folks who may not have MacRuby installed. This screencast shows you how to build a self-contained MacRuby application.
MacRuby
If you're a faithful Rubyist, you might be wondering if you can create Mac applications using Ruby. Indeed you can, with MacRuby! This screencast shows you how.
Custom Table Cells in Interface Builder
The default table view cell can be kind of sparse and boring. Often you want to spruce up your application by designing a custom table view cell to include additional lines of text, images, and so forth. Rather than doing that in code, you can use Interface Builder to get immediate feedback. Learn how in this screencast.
Application Icon
Your iPhone app deserves a spiffy-looking icon on the home screen. Learn how to make one and bundle it with your application in this screencast.
Adding Photos to the iPhone Simulator
You may have noticed that the iPhone Simulator doesn't include any photos, and you can't take a picture with the Simulator. So if you have an iPhone application that requires photos in the library, how do you test it in the Simulator? Learn the trick in this screencast.
Wiring Up Outlets and Actions
One of the first things that throws new iPhone developers is connecting outlets
and actions. The interplay between Xcode and Interface Builder feels like a
magic trick. Learn how to wire up outlets and actions as we build a simple iPhone application in this screencast.
Refactoring: Rename
Giving your Objective-C classes, methods, and variables meaningful names is the single-most important thing you can do to make your code easier to read and maintain. Thankfully, you don't have to get it right the first time. Xcode's refactoring support makes changing names later a breeze. Learn how in this screencast.
