Tutorial: Asynchronous HTTP Client Using NSOperationQueue

October 19th, 2012 Posted by: - posted under:Articles » Tutorials - 11 Comments

Introduction
Recently here at ELC, we’ve been working on an app that requires a lot of server interaction, which has been a learning experience for managing threading, server load and connectivity. In order to keep the app performant and responsive while sending a large number of requests and aggregating a large set of data, our team had to intelligently manage and prioritize network interactions.
This is where NSOperationQueue helps out. This class relies heavily on Grand Central Dispatch …

READ MORE

Adding an OpenGL ES view to your project using NinevehGL

September 7th, 2012 Posted by: - posted under:Tutorials - 5 Comments

Recently I came across an openGL ES 2.0 engine that made setup, displaying and animating of 3D objects a breeze, called NinevehGL.  This 3D engine has many great features including a full multithreading environment, to keep the main run loop free during object rendering,  motion tweening, object groupings, custom lighting, materials and textures, custom shader support,  and native support for augmented reality, just to name a few. Another major benefit is the ability to import both wavefront …

READ MORE

5 Third Party iOS Libraries I Have Found Useful Lately

August 24th, 2012 Posted by: - posted under:Uncategorized - 2 Comments

As I mature as a developer, I try to rely on other people’s code more an more. Why build something from scratch when a solution already exists that you can fit in your project. In Pocket MUD Pro, I used 13 3rd party libraries and am using quite a bit more in the project that I’m currently working on. I figured that I would share some of the libraries that I have been using so that …

READ MORE

5 Third Party iOS Libraries I Have Found Useful Lately

August 24th, 2012 Posted by: - posted under:Articles - 0 Comments

As I mature as a developer, I try to rely on other people’s code more an more. Why build something from scratch when a solution already exists that you can fit in your project. In Pocket MUD Pro, I used 13 3rd party libraries and am using quite a bit more in the project that I’m currently working on. I figured that I would share some of the libraries that I have been using so that it might save …

READ MORE

Unzipping Files In iOS Using ZipArchive

August 13th, 2012 Posted by: - posted under:Tutorials - 17 Comments

In this tutorial, I am going to demonstrate how you can zip and unzip files from within your iOS applications. We will be using a third party library called ZipArchive to achieve this. While there are a couple solutions out there to zip and unzip files, I feel that the ZipArchive library was the fastest and easiest way to get up and running.
Why Would I want To Unzip Files?
That’s a great question. There are a number of …

READ MORE

Using Method-Swizzling to help with Test Driven Development

August 8th, 2012 Posted by: - posted under:Articles » Tutorials - 1 Comment

Introduction
In this blog post I will demonstrate how to mock HTTP requests using an Objective-C runtime dynamic method replacement technique known as method swizzling. I will show how this can be used in tandem with some unit test technologies to help with development of iOS web-service client side code.
In this example, the actual work of the HTTP request is embodied in my AsyncURLConnection class. It uses NSURLConnection to perform an NSURLRequest in an asynchronous manner, using completion handler blocks to return …

READ MORE

How To Become An Indie Game Developer

June 13th, 2012 Posted by: - posted under:Articles - Comments Off

What programmer doesn’t want to be an indie game developer? A great article with tons of tips to help you on your way.

[Article Link]

READ MORE

How to Add GPS to Your iOS App – Part 1

June 4th, 2012 Posted by: - posted under:Tutorials - 8 Comments

In Part 1 of this series, I will introduce you to the very basics of CoreLocation services and getting the location of the device currently being used.
About CoreLocation
The CoreLocation framework provides your app with the ability to get a device’s current location, provided the user of the device has granted your app access to that information.
Location services are provided in two major ways using this framework:

Standard Location Services- This service provides the most accurate location information using a variety of …

READ MORE

If There Was Ever A Time To Submit A Show HN Article, It’s Right Now

June 1st, 2012 Posted by: - posted under:Articles - Comments Off

Earlier today a post titled ”I Try to Up Vote Every ‘Show HN’ Post and You Should Too” made it to the top of HN.  It basically talked about people posting “Show HN” posts are putting themselves out there and the least we can do is give them an up vote.  Well, people are listening and as of this posting, there are currently 15 Show HN posts in the top 30.  That’s incredible.

So, if you have recently …

READ MORE

Lua Scripting The UI For Pocket MUD Pro

May 29th, 2012 Posted by: - posted under:Articles - Comments Off

I have just updated my MUD client [Pocket MUD Pro] to be a universal library. It was surprisingly easy to add the iPad support as most of the application was comprised of UITableViews.
The main “MUD” view was the most challenging part as it contains a couple UIWebViews, UIButons, and a UITextField. However, I chose to do something I feel is pretty cool.
Scripting The UI With Lua
If I haven’t said it enough, I love lua. Especially in the context of …

READ MORE