As you may know, iPhone’s PNGs are crushed with a modified version of pngcrush, and so when you are trying to open them you get an error message. Of course, several tools exist to uncrush these files, but now with qlImageSize you can see their icon in the finder and also QuickLook them.
Continue reading
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
New class for NYXImagesKit : NYXProgressiveImageView
Some time ago, I showed how to progressively display an image while it was being downloaded using ImageIO.framework. Today I created a simple subclass of UIImageView in NYXImagesKit to take advantage of this feature.
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
SL-NTFS sources
Following my previous post on SL-NTFS several people asked me for the sources.
Consider the licence to something like Do what the fuck you want.
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
Efficiently build a gallery like Photos.app
Quite often people wants to build a gallery like Photos.app for their iOS application. The exercise is really not difficult, but it’s also easy to kill your device memory if you don’t take the time to think of an elegant way to do it.
Continue reading