
Cover Flow is a technique that lets you browse and select album covers. Its used by iTunes and on the iPhone iPod player when the device is held horizontally.
It a gorgeous, visual and tactile technique that can have applicability in many places. Unfortunately, it is not part of the public SDK and can not be used without using private methods that are not allowed.
Luckily there are open source alternatives such as AFOpenFlow by Alex Fajkowsky which are allowed. For more information on OpenFlow check out his blog and the source code is available at GitHub.
OpenFlow does have a sample program and I suggest you study it to see how OpenFlow should be used. The sample can be get images three different ways.
In order to demonstrate the simplest possible example I've created a stripped down version of the 'load all at once' sample.
All of the interesting code is in the SimpleOpenFlowViewController. There is an AFOpenFlowView iVar declared which is set up in SimpleOpenflowViewController.xib file.

Then in the controllers viewDidLoad method all we need to do set the number of images and then add each image to the view.

You will eventually want to use the operation queue methods to keep memory usage down and maintain responsiveness but this is all you need to do to get this slick interface with a small number of images.
I have not included the OpenFlow source in this project so to get it to compile download it from GitHub and add the missing files to the Classes/OpenFlow directory.
I hope this simple sample project gets you started and you look at implementing the datasource protocol in your real apps with many images.
Comments
Omi (not verified)
Thu, 09/29/2011 - 05:44
Permalink
XMLParsing
I have made coverflow using openFlowView in my iPad application. My images comes through webservice and I have set it in Array in proper index. And Using asynchronous images I am setting the images on coverflow. All done successfully but there is one problem that my images set out of order on coverflow means first images will put sometime at 3rd position sometime at 4 and same for other images too. I want to put my images in proper order sequentially on coverflow. Please anyone can help me for this problem. I am quite stuck in this situation.
tomi (not verified)
Fri, 01/06/2012 - 10:27
Permalink
xml parsing
can you provide me open flow code with xml integration my e-mail address is tomi.jovanovski@gmail.com
Add new comment