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
- "Elegant Grunge" Wordpress theme
- UIImage, resolution independence and the iPhone 4's Retina display
- Using RemoteIO audio unit
- Smart 404 for Wordpress
- Connecting an iMac up to your TV
- Easy rounded corners on UITableViewCell image view
- Flickrpress: Wordpress Flickr widget
- Custom Permalinks
- Making UIToolbar and UINavigationBar's background totally transparent
- Galleria for Wordpress
Tag Archives: iPhone
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 [...]
Also tagged Cocoa, Debugging, Development, Mac Leave a comment
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 [...]
Also tagged Cocoa, Code, Interface 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.
Also tagged Animation, Cocoa, Code, Development, Graphics, 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 | [...]
Also tagged Cocoa, database, Design, Development, fonts, 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 [...]
Also tagged Cocoa, Development, Graphics, Optimisation Leave a comment
Easy Delayed Messaging using NSProxy and NSInvocation