code

UIView+BlurFade

We made another nifty little extension!

UIView+BlurFade is an Objective-C category lets you take any UIView and make it blurry and greyscale. This is super useful for when you want to make a view look disabled, and looks really pretty to boot!

This category uses Core Image to perform the blurring and grey-scaling. Because you can't apply CIFilters to views on iOS, it actually cheats a little bit - instead of gradually blurring the view over time, it blurs it once, stores it in an image, and then fades that image over your original content.

To use this category, just drop the two files into your project and #import them. Then, when you want to make your view go blurry and faded out, you just do this:

To remove the blur effect, you call its counterpart:

We hope you find UIView+BlurFade useful! If you have any comments, either create an issue on GitHub, or shoot us an email!


PyCon Australia 2013

PyCon AustraliaOnce again PyCon Australia is being held in our hometown of Hobart, Tasmania, and one again we're sponsoring! We had an excellent time at PyCon Australia last year, and we're really looking forward to learning about the latest developments in Python, how to make games in Python, what not to do with Python, how to test with Python, security and Python, transitioning to Python, and much, much more! Congratulations to our friend and frequent collaborator, Chris Neugebauer (conference coordinator), for putting together such a a great show. PyCon Australia

If you haven't registered for PyCon Australia yet, we strongly recommend you do! It's sure to be a blast.