Categories
Uncategorized

iOS 7 Development: Tutorials to Get You Started

iOS 7 development (by way of iOS 6)The Story So Far

So far in this series on iOS 7 development for people new to iOS development, we’ve looked at:

At this point, you’re probably raring to go and start coding.

Learning iOS 7 By Way of iOS 6

As I write this, only developers registered in the iOS Developer Program have access to iOS 7 and Xcode 5. These developers — of whom I am one — are under a non-disclosure agreement (NDA) where they’ve promised not to share screenshots or any other information about iOS 7 until it’s out of beta and made available to the general public. We’re allowed to discuss iOS 7 and Xcode 5 within the confines of the developer forums inside the members-only Apple Developer site, and nowhere else.

As long as the NDA’s in effect, I can’t cover specifics about iOS 7 development in this series. What I can do is talk about developing for iOS 6, which should be good enough for the developer who’s new to iOS. Until iOS 7 is finally released and the NDA is lifted, this series of articles will cover learning developing iOS 7 apps by way of learning iOS 6.

Ray Wenderlich and How to Get Part One of their iOS Apprentice Course for Free

raywenderlich.com

Ray Wenderlich’s blog is the 800-pound gorilla of iOS programming sites, with almost 300 iOS and iOS-related programming tutorial articles as well as a number of great for-pay courses you can buy. I can’t recommend their four-part course, The iOS Apprentice, strongly enough. Spanning hundreds of pages, this set of extremely detailed tutorials teaches iOS development through the building of four different apps:

  • Bullseye: Learn the basics of iOS interface programming by building a game.
  • Checklists: Build a “to-do list” app and learn about table views at the same time.
  • MyLocations: This is a biggie in which you build a location-based app that saves its data using Core Data and takes advantage of the camera and photo library.
  • StoreSearch: Build an app that accesses data from a web service.

Each tutorial sells for $24 each, or you can buy all 4 for a mere $54.

Better yet, there’s a way to get the first tutorial for free! If you sign up for the Ray Wenderlich newsletter, they’ll give you the first iOS Apprentice tutorial, which will show you how to build this game:

The AppCoda Blog and its Free iOS Programming Course

appcoda

AppCoda is a beautifully-designed blog devoted to the topic of iOS programming. They regularly post “how to” articles for developers, and a good number of these articles put together form a cohesive and free iOS development course. The iOS Programming Course listed on their Course page is currently made up of 28 tutorial articles, a good number of which introduce iOS development through the building of a recipe app.

Local Hero: Ash Furrow and Your First iOS App

your first ios app

Your First iOS App is an ebook created by Ash Furrow, creator of 500px’s iPad app and an iOS developer at the Toronto-based (and world-famous) design firm Teehan+Lax. Written as a book for people with experience programming but who are new to iOS development, the book introduces iOS development topics by walking you through the development of an app called “Coffee Timer”, from rudimentary program that simply displays a blank screen like this…

blank ios app

…to a fully-fledged app ready for submission to the App Store like this:

completed coffee timer app

…and all in just over 200 pages. It’s well-written and explains iOS programming quite clearly. You can see for yourself; chapter 1 is posted online.

Ash raised the funds for writing the book with an Indiegogo campaign, beat his CDN$5,000 goal by raising $5,542, and published it on LeanPub in DRM-free PDF, ePub and Mobi formats. Your First iOS App is available at a variable price, starting at the low, low, low price of $9.99…

9.99

…with a suggested price of $14.99. I bought my copy at the suggested price to show my appreciation for Ash’s work.

Categories
Uncategorized

On Vacation – Back Monday, July 8th

Once again, I’m on vacation — with the same lovely lady as last time, even! — and will return with regular postings on Monday, July 8th.

Categories
Uncategorized

Should You Use a QR Code?, Part 2

Here’s a little promo that Pete Ashton found in the Yellow Pages. It explains two ways to get their app: via QR code or typing in an URL. Guess which one is simpler:

yellow pages qr code

Click the photo to see the full-size original.

Pete calls it “the most damning piece of anti-QR code copy ever”, and I think he’s got a point. At the very least, you shouldn’t use a QR code when a simple, easy-to-remember URL is available.

Again, I remind you:

Categories
Uncategorized

Oh, CSS, How You Try My Patience Sometimes…

It’s funny because it’s true:

Found via Glenn Cameron.

Categories
Uncategorized

iOS 7 Development: Getting Xcode 5 Developer Preview 2 and iOS 7 Beta 2

Apple’s been working hard on iOS 7 and its developer tools over the past little while, and the result is a couple of new versions of their beta software:

In this article, we’ll show you how to get both.

Getting iOS 7 Beta 2 the Easy Way (if it’s already on your iPhone / iPod Touch)

If you have the first beta on your iPhone or iPod Touch, you can get it the easy way: the built-in Software Update. Fire up Settings, choose General, and then choose Software Update. You should see a screen that looks like this:

ios7 beta 2 update

Tap the Download and Install button to do just that, and follow the screen prompts.

Getting iOS 7 Beta 2 the Hard Way (if your iPhone / iPod Touch doesn’t have iOS 7 beta on it, or if you’re installing on an iPad)

Getting the Package

Point your browser at the iOS Dev Center. If you’re properly registered in the iOS Developer Program, you should have the options of looking at resources for iOS 6.1 and iOS 7. Naturally, you should select iOS 7 SDK beta, after which the page should look like the screen capture below:

developing for ios 7 beta

You can click on the Downloads link under the Resources for iOS 7 beta heading, or simply scroll down. Either way, you’ll end up in the same place, where you’ll see this:

ios 7 beta 2

Download the one that’s appropriate for your iDevice. I’ve included direct links to the available packages below:

Installing the Package

The file that you’re downloading is a disk image. Double-click it to mount the image. You should see one file that looks something like this:

ipsw

Connect your iDevice via USB to your Mac and start up iTunes. Let the sync complete. Click the iPhone or iPad button near the upper right-hand corner of the iTunes window:

iphone button

The iTunes window should look something like this:

itunes 01

If you haven’t done so already, back up your iPhone.

And now, the important part of the process. I’m going to spell this out in large text:

While holding down the option or alt key on your keyboard, click the Restore iPhone… button. This allows you to choose a specific file to use when restoring your iPhone or iPod Touch. Choose the .ipsw file contained within the disk image you just mounted.

(That’s how you get iOS 7 on your iPhone or iPod Touch at this early point in the game: you’re restoring it from an image that has iOS 7 on it.)

Once you’ve done that, the uploading and installing process will take about 10 to 15 minutes. Your iPhone or iPod Touch will reboot once or twice during this time.

Getting Xcode 5 Developer Preview 2 and the iOS 7 Beta 2 SDK

If you want to develop for iOS 7 Beta 2, you’ll need the latest version of Xcode 5 and the iOS 7 Beta 2 SDK. Here’s how you get it:

Point your browser at the iOS Dev Center. If you’re properly registered in the iOS Developer Program, you should have the options of looking at resources for iOS 6.1 and iOS 7. Naturally, you should select iOS 7 SDK beta, after which the page should look like the screen capture below:

developing for ios 7 beta

You can click on the Downloads link under the Resources for iOS 7 beta heading, or simply scroll down. Either way, you’ll end up in the same place, where you’ll see this:

xcode 5 developer preview 2

Click the Xcode 5 and iOS 7 SDK beta 2 link to start the download. It’s a .dmg file that’s about 1.7 GB in size, and when double-clicked, mounts a disk image and opens the window shown in the screen capture below:

It’s a straight-forward drag-the-app-to-the-Applications-folder-alias install, and you’re done!

Categories
Uncategorized

A Little Cellular Reception Humour

too many bars

Click the comic to see it at its source, Buni.

Categories
Uncategorized

8 Simple Rules for Bringing Your Own Device (or: Comprehensive BYOD and its Benefits)

8 simple rules for bringing your own device

Cisco have come up with a term called “Comprehensive BYOD” as well as the eight things it comprises, and the idea’s so good that we’re going to borrow it. We’ve taken their eight points — they called them “foundational capabilities” — improved on them with a little re-ordering, re-wording and a jauntier name because we think that doing so makes them more effective. Here are our 8 Simple Rules for Bringing Your Own Device, or what organizations implementing BYOD need to do:

  1. Automatically enforce mobile device policies for usage and corporate resource access
  2. Monitor and remotely “wipe” corporate data from managed devices
  3. Give users secure access to the corporate network through wired, wifi, remote and mobile means
  4. Give users the ability to simultaneously log in on multiple devices, because it’s now a multi-screen world
  5. Give users the ability to move between networks seamlessly and securely, because we’re all “on the go” now
  6. Provide simple, user-friendly user authentication for various mobile device makes and models
  7. Provide corporate collaboration tools that work on all end-user devices
  8. Support separate “work” and “personal” personas to keep corporate data separate

Through the strategic and judicious use of mobile device management (MDM), container applications, back office integration, and good practices and policies, you can follow the 8 Simple Rules, give your company’s employees the ability to use the devices they know and love, and get the most out of your BYOD program.

According to Cisco’s survey of 2,415 mobile users in 6 countries (Brazil, China, Germany, India, United Kingdom, and United States), as much as $3,150 per employee can be saved through “Comprehensive BYOD”. Cisco says that under a Comprehensive BYOD plan, employees will spend an average of $965 on their devices, plus another $734 in annual data plans, or a total of $1699 that they no longer have to spend since they’ve offloaded that cost onto their employees.

We beg to differ with Cisco. While there are some cost savings that can come from BYOD, we feel that employers should help employees cover the costs of work-related use of their devices through stipends or some other compensation plan. In our opinion, the really big wins that come from BYOD are employee productivity (up to 81 minutes of time saved every week, for every employee, according to Cisco’s survey) and satisfaction.

this article also appears in mobilize the cts blog