Quantcast
Channel: Blog
Browsing all 9 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Visualizing Grand Central Dispatch

Apple's Grand Central Dispatch api can be hard to visualize so I created a diagram that I could refer back to later. It’s been useful to me so I thought I’d share it.

View Article



A Pattern For Using Blocks as contextInfo

One of the more useful tips I saw at WWDC was a pattern for converting any callback method that takes a selector and contextInfo parameter into a block callback. Just to review, a block is simply an...

View Article

Image may be NSFW.
Clik here to view.

A solution for the iPhone Ringer Switch

About a month ago, there was a story going around about an iPhone going off during a symphony performance. It became a hot topic among blogs and podcasts alike but most dealt with the issue of what the...

View Article

Image may be NSFW.
Clik here to view.

Learning Rake - Dependency-Based Programming

I've recently used Jim Weirich's Ruby-based Rake tool to automate a variety of tasks: building software, processing game assets, or simply moving files within a git-repository. It's changed the way I...

View Article

Learning Rake - What is Rake? (The Library)

Last time we looked at using Promises to implement Dependency-Based Programming. Today we are going to look at what exactly Rake is, and what it provides that is so useful. "Rake" refers to both an...

View Article


Learning Rake - What is Rake? (The DSL)

Last time, we talked about Rake's Task class, how it implements a Promise construct and how we could write our simple "vacation" script in it. Today, we are going to introduce Rake's signature feature:...

View Article

Learning Rake - What is Rake? (The Application)

At this point, we've looked at Dependency-Based Programming, Rake's Task class, and using Rake's DSL to make writing scripts easier. Rake - The Application In each case, we've been using the ruby...

View Article

Splitting functions for fast ASM.js compilation

When developing an app with Emscripten and compiling with ASM.js, occasionally, you'll find a function that causes the ASM.js compiler to take a long time. The ASM.js compiler can process functions in...

View Article


UIView category to easily add a parallax effect

iOS 7 recently introduced a feature called "UIMotionEffects" which allows the developer to change the UI in response to changes in the phone's viewing angle. Apple has provided some heuristics to...

View Article

Browsing all 9 articles
Browse latest View live




Latest Images