Join Simon Allardice for an in-depth discussion in this video Introduction to Xcode 5, part of iOS 7 SDK New Features.
I would be wise to assume that many of you watching this course have Xcode 5 installed already, and if you haven't, it's time to go get it from the app store. You may be very fond of Xcode 4, but you will need version five to develop for iOS 7. And you'll need at least Mountain Lion 10.8 or Mavericks 10.9 as you Mac OS. Now the aim of this course is to get you up and earning quickly. So rather than spend hours exploring the nooks and crannies of Xcode 5, which we could do. This how we're going to do this.
I'm going to cover five big changes, five things you really ought to know about Xcode 5, and take just a few minutes on each of those. Then I'll quickly go over a handful of smaller changes, things that aren't quite as essential but you still might find very useful. And that includes one or two things you just shouldn't or even can't do in this version of Xcode. But before I get into the five big changes, let's get one change out of the way, the easy one, the obvious one. That when you open up Xcode 5, it has a cleaner, simpler interface.
Even the welcome screen is simpler when creating a new project. A big part of IOS 7 is this movement towards simplicity and clarity. Well, Xcode 5 is coming along for the trip. But if you were to compare Xcode 5 with its predecessor, you will find that they're not drastically different. Xcode 5 is a little cleaner, a little simpler. For example, the tool bar takes a little less space, giving us a little more space for our project content. If you go fullscreen, it has about as minimal impact as you could hope for.
And with many developers using laptops, even small ones like Macbook Airs, we want whatever space we can get. But the general layout in Xcode 5 is exactly the same. We've got the navigators on the left-hand side. We have the utilities on the right. Now there are a couple of small things to be aware of in the tool bar. Where we used to have an Xcode 4 in obviously clickable area, the top to change schemes, to switch from say testing on the simulated to testing on the device. Well, it is still clickable in Xcode 5.
It just may not look like it. Also, the global enable or disable all breakpoint buttons in Xcode 4 has disappeared. In Xcode 5, it has now moved to the debug bar below your code, which is really a better place for this. And also in Xcode 4, the Organizer button at the top right has gone too. We just get to that from the Window menu or using Shift+Cmd+2. But if you were thinking that these kind of simple UI revisions were the big difference between Xcode 4 and Xcode 5, you would be mistaken.
So let's get into the real changes.
- Working with automated configuration in Xcode
- Using asset catalogs
- Understanding color and space in the iOS 7 UI
- Adding and debugging Auto Layout constraints
- Adding background fetch support