Mar 21

MBRequest — A simple networking library for iOS and OS X

In which an open source library for making network requests is released.

Making network requests is one of the most common activities apps perform, especially on mobile devices that are always connected to the internet. While Apple gives us some classes and tools to help us perform these requests, it is left as an exercise to the developer to do so in a clean, reusable way.

Today, we at Mobiata are announcing MBRequest, a simple, open source networking library for iOS and Mac OS X. It uses a blocks-based API built on top of NSURLConnection and NSOperation. MBRequest follows the style of Apple’s CLGeocoder class to create simple, easy-to-use classes that encapsulate the entire network request. The goals of MBRequest are as follows:

  • Create the simplest possible API for making network requests. With only a few lines of code, developers should be able to start a network request and pass along a single block of code for handling the results of that request.
  • Give developers an extremely simple way to create their own CLGeocoder-like classes. These subclasses should only need to worry about setting up the request and parsing the response.

We hope you like it! Be sure to check it out over on its GitHub project page.

Mar 05

Subclassing Those Hard-to-Reach Classes

In which I use NSKeyedUnarchiver to change the class of an object.

Ah, read-only properties. They are the bane of my existence when I find myself trying to think outside of the box as an iOS developer. Oh, UINavigationController, why must you...

Read More

Feb 08

Twine: String Management for iOS and Mac OS X

In which I lament the pain of localization on iOS.

I just wrote a lengthy post over at the Mobiata blog announcing the release of a new open source project called Twine. I discuss exactly what I think is broken...

Read More

Dec 28

Trending Toward Simplicity

In which I consider the benefits of static website generation.

I find it very interesting that as we enter 2011, and buzzwords like Web 2.0 and HTML5 are sounding like yesterday's news, both programming and design are trending more and...

Read More

Dec 21

Adding a Background Image to UINavigationBar

In which I swizzle for great justice!

Updated 2012/03/05: I have found a better way to solve this problem without method swizzling. Please take a look at my post titled Subclassing Those Hard-to-Reach Classes as well as...

Read More

Dec 05

Epicure 1.0.1 Released

In which a minor update is posted to the app store.

I am happy to announce that the first minor update to Epicure (and Epicure Lite) has hit the iTunes Application Store. This version should fix a couple of crashes which...

Read More

Nov 16

A zsh prompt for Git users

In which I attempt to create a fast, informative Git prompt.

After starting to use Git a few months ago, I thought it would be useful to show the branch of the current repository in my zsh prompt. I did some...

Read More

Oct 28

Welcome!

In which a blog is created for random technobabble.

In programming, if you want to learn about something, use it. And just like that I decided that I needed to put together a blog built on top of Django....

Read More