About This
I am Michael Tyson, and I run A Tasty Pixel. I write on a variety of technology and software development topics as I travel around Europe in a motorhome.
-
Subscribe to updates 244 feed subscribers
Follow me on Twitter 439 followers
Newsletter
Let us keep you informed about important updates, special offers, and new products. Just type in your email address below and hit enter to sign up!
My Products
Popular Posts
Author Archives: Michael
iPhone debugging tip: Breaking on exceptions and reading their content
Just a quick one: This may be obvious to many devs, but it’s worth noting. One common and useful debugging technique is breaking on exceptions, so that you can see exactly where in your app’s flow a breakpoint occurs. This can be done by adding -[NSException raise] and objc_exception_throw to your breakpoints list. Once an [...]
Tagged Cocoa, Debugging, Development, iPhone, Mac Leave a comment
Galleria for WordPress
This plugin is based upon the Galleria javascript gallery, and displays your Flickr photos in a slideshow-like gallery. It also displays your groups and photosets in a clickable list, to display photosets in the gallery. This is a plugin I wrote for my own use (see it in action here), but I have received several [...]
Tagged Wordpress, Wordpress Plugins 7 Comments
A trick for capturing all touch input for the duration of a touch
If you’ve ever tried to implement an interactive control that makes use of gestures within a UITableView, or tried to implement a view that you can drag around, like pins on a MKMapView, you’ll know that you’re either generally thwarted by the scroll view (and the table view will just scroll, instead of your control [...]
Tagged Cocoa, Code, Interface, iPhone Leave a comment
iPhone/Mac animation for custom classes: Property animation for more than just CALayer
An Objective-C class that provides similar functionality to CABasicAnimation, but works on any object.
Tagged Animation, Cocoa, Code, Development, Graphics, iPhone, Mac Leave a comment
Links for May 30th through August 8th
Links for May 30th through August 8th: cufón – fonts for the people A very impressive framework that embeds any font into a website, via javascript and the canvas element. Great cross-browser support. mikeash.com: Method Replacement for Fun and Profit Method replacement and method swizzling in Objective-C. Core Data Tutorial: How To Use NSFetchedResultsController | [...]
Tagged Cocoa, database, Design, Development, fonts, iPhone, Links, Twitter, Web Leave a comment
Achieve smaller app downloads by replacing large PNGs with JPEG + mask
I’m using a transparent overlay on top of a fairly common interface element to make it look awesome. I originally did this with a transparent PNG, until I realised the PNG in question for the iPhone 4′s Retina display was truly massive, clocking in at 1 Mb. Why we don’t have common image format with [...]
Tagged Cocoa, Development, Graphics, iPhone, Optimisation Leave a comment
Easy Delayed Messaging using NSProxy and NSInvocation