Faking network calls for iOS unit tests

by

If you have used XCode’s built in unit testing frame work , then you’ve likely hit one of the frustrating points of trying to test your application when making api calls over a network. (I’ll save you some time, and let you know the test dies before the call can finish). That’s not great, but it does not mean you can’t test your application and it’s ability to hit your api.

Loading an Image Asynchronously in iOS

by

If you had read thru Apple’s iOS Human Interface Guidelines, I’m sure you’d notice that it mentioned about how your app should provide a responsive user experience. If the app is processing a lengthy operation, it ought to provide a feedback as suggested by Apple, “Subtle animation can give people meaningful feedback..” Consider this lengthy operation:  loading image from a URL. This is a very common task. The problem is, UIImageView doesn’t have a built-in method that lets you load an image and at the same time give you a chance to provide a meaningful UI feedback such as a “subtle animation”.

Create an HTML Signature Including Image Links in Mac Mail (OS10.8)

by

You might imagine that this subject would be rather straight forward and hardly worthy of an article of any sort.  Unfortunately, you would indeed be imagining.  Adding an HTML signature to Mac Mail is not as simple as pasting the html directly into the signature field of the client like in Gmail or Outlook.  With Apple Mail pasting HTML or images directly into the signature field just doesn’t work very well. In fact, the process for setting an html signature with images in mac Mail is remarkably un-Mac-like.

Keeping up with web trends.

by

Being a designer in the tech/web industry, it is very important for me to stay up to date with trends. If you are new to the industry, you might be overwhelmed by the amount of information you find on the Internet.

I would like to share with you a handful of websites I frequently visit to learn as well as to find inspiration.

Rapidly Building Mock API Servers for Testing and Development

by

On my most recent project I was building the client-side of a mobile app. I was a few days ahead of the backend in terms of functionality, but what was really giving me issue was the absence of any kind of test data. Rather than kill my momentum and allow the backend to block my development, I decided to build a quick API “emulator” that would allow the client to perform actions and feed it randomized test data.

Ex2d: A helpful plugin for Unity3D

by

A lightweight plugin for Unity.

Our most recent in house project was a fun children’s game called Whack Attack, and was built with Unity 3D and released for iPhones and android devices.  Unity is a great tool, but it is definitely (and obviously) more geared for game crafting in the third dimension.  Our game deals mostly with two dimensional sprites, although they are set in a pseudo 3d environment to attain some basic perspective.

Facebook Photo Picker for Android

by

Select Album Screen

On a recent project, we needed a widget that would allow users to select a photo from their Facebook albums. “Surely the new Facebook Android SDK must support this.” I thought. Alas, my hopes were unfulfilled. “Well, I bet there is a third-party solution for this!”, I surmised, but again, my search was for naught. At this point I decided to roll up my sleeves and do it myself.

You Do What Android Want = Android Do What You Want ~ Part 1: The Mystical 9-Patch

by

The Mystical 9 patch

You Do What Android Want = Android Do What You Want
Part 1: The Mystical 9-Patch

I recently encountered some blank stares from some colleagues regarding certain aspects of the 9-patch.

Granted, there doesn’t seem to be all that much documentation out there explaining the ins and outs of nine patch, possibly adding to the mystique, but then again, maybe there isn’t all that much to explain.

Here I’ll outline the basics of the 9-patch, and you can comment as to whether it indeed makes simple sense… or instead, communicate your own blank stare with some scathing criticism below in the comments section.

Ways to Make Your Git Usage Enjoyable

by

As powerful and useful as Git is, it’s not all fun and games.  It can be down right intimidating and hard to use.

But with some customization on your part, and some changes to your team’s Git workflow, Git can become a far more tammer beast to conquer.