Get an RSS Feed
Use jQuery to get an RSS feed and then build an array of blog data

Overview

In this screencast we'll replace the hard-coded array of blog post data with one we build from an RSS feed. We learn:

  1. How to use $.get() to get data from a URL
  2. How to use jQuery's built-in XML parsing to get the data from the feed
  3. How to build an array with jQuery's map function
  4. How to asynchronously update a jQuery Mobile page with a Handlebars template
  5. How to use the HTTP Access-Control-Allow-Origin header to allow a cross-site GET

Latest Blog Posts

Does Objective-C Block Syntax Make F'n Sense?

You know the feeling. You're refactoring that old ViewController that’s still in Objective-C, and you get to that part where you need to extract an async call to a new class. And you’ve gotten so used to closures in Swift that you're using them to solve problems instead of delegates, even in Objective-C. And you say to yourself, “I know—I’ll use a block.”

Read more ...

Case Study: Contributing to Fastlane

I came into work Monday to see our builds failing with a problem that was unconnected to anything we merged recently. Reading the logs, I could see that fastlane's gym was claiming that our scheme was not found in the workspace, but I knew that it was definitely there.

Read more ...

A snapshot of the iOS and/xor Android Developer Market

When I wrote about whether iOS developers needed to know Android to be successful, I had an instinct that the answer was no, and I did a spot-check of job-boards to make sure I wasn’t way off. Here’s a more in-depth look with links so you can check to make sure it still holds at a later date (my numbers are as of February 2018).

Read more ...