Images dimensions in QuickLook

I’m often looking for images dimensions, and most of the time I hit the spacebar to trigger QuickLook to see them, and each time I’m disappointed because it only displays the name of the file, which, we TOTALLY do NOT care. Finally I end up opening the image with preview, just for some dimensions, it’s teh sux. So it was time to create a new Xcode project.
Continue reading

NYXImagesUtilities becomes NYXImagesKit

Few months ago I released NYXImagesUtilities, a set of categories to perform various operations on UIImage objects such as resizing, applying filters and more. Since then I didn’t update it, but today I’m proud to announce that I’ve been working a lot on it lately to add new stuff and to focus on performances. For this occasion I decided to rename it NYXImagesKit
Continue reading

Automatic Network Activity Indicator with NSURLConnection

It’s very common to use networking APIs on mobile devices because of their nature. On iOS I’m sure every programmer is familiar with NSURLConnection and the network activity indicator, which we are suppose to show when we do networking, and managing it is a pain in the ass. Let’s correct this.
Continue reading

Understanding misaligned images in Instruments

I attended the Berlin Tech Talk conference on november 2. The last talk was given by Michael Jurewitz and was titled Your iOS App Performance Hitlist. This talk was excellent, the best in my opinion (But that’s because I love talking about performances), and it was focused on using Instruments.
Continue reading

[iOS 5] Bug fix for CGImageSourceCreateIncremental

In a previous post I showed how to create a progressive image download using ImageIO.framework available since iOS 4. In that post I said that there was a problem concerning the progressive display of non-PNG images because they were malformed. Fortunately the fix was easy and consisted to simply render the partial image in a bitmap context and get it back, but well, it consumes CPU for nothin’.
Continue reading

[iOS 5] Twitter integration framework

One of the new feature that comes with iOS 5 is the native Twitter integration. You just have to register your account(s) in the Settings application and you are done, you can easily tweet your photos, links… with a nice looking interface. What’s even better for us developers, is that it’s really easy to take advantage of this feature.
Continue reading