views:

11780

answers:

9

Are there any open source coverflow-like API's/libraries available for the iPhone?

I've found one implementation that is licensed per application, however, I'd much prefer to go the open source route.

Also, I'm interested in libraries that use only public API's as others may keep an app from getting published into the App Store.

A: 

I am not aware of any open-source libraries for what you describe above. However, if you are familiar with core animation, it wouldn't be too hard to implement what you describe.

Check out the links below for some more information:

  1. Blog post about implementing coverflow using core animation
  2. Core animation reference guide from Apple iPhone Dec Center
zPesk
> However, if you are familiar with core animation, it wouldn't be too hard to implement what you describe.I'm not sure that it true. Coverflow is a reasonably complex animation.Sadly, I don't think there are any public domain implementations.
Roger Nolan
A: 

The last chapter on Erica Sadun's The iPhone Developer's Cookbook is about Cover Flow. You can grab the source code from the sample repository of the book on Google Code: cookbooksamples

Alexandre L Telles
Unfortunately, Erica's solution uses aspects of the iPhone API that are not public.
John
+16  A: 

The nice people at Chaosinmotion have got the following available:

http://www.chaosinmotion.com/flowcover.m

It's BSD licensed.

oldbeamer
The link generates a page load error...can you verify it's correct? Thanks
John
oldbeamer
Very cool, thanks for the link!
John
link is working right now... and it is good example for coverflow image view...
mihirpmehta
+25  A: 

You might also want to check out a library I released at iPhoneDevCamp -- OpenFlow. http://apparentlogic.com/openflow

It is all core animation-based, so it's easy to understand and customize to your needs. AFOpenFlowView is a subclass of UIView.

I included a demo application, and check out the blog entry on my personal website for a bit more information about its use. fajkowski.com

Drop me a line if you have any questions or comments! -Alex

thefaj
Very cool, nice work.
John
hi alex finding u frm long... you havent yet released the opensource which includes flip animation when the image is selected... Please look at it i am suffering from great prob due to it... Thanks in advance
Suriya
I'm looking to Alex
fyasar
A: 

The book "SAMS Teach Yourself Cocoa Touch Programming in 24 Hours" shows you how to make your own in the CoreAnimation chapter (complete implementation).

ansemond
A: 

I have tried all the libraries for coverflow. But it takes more memory. Is there any way to decrease the memory usage?

Manoj Kumar
+4  A: 

I like this better, http://github.com/thefaj/OpenFlow easy to implement and integrate in your code.

Underdog
A: 

How about extending openflow with this idea:

Each image item is just button, like menus,double click on it will enter into new view, and in the new view there is "back" button to come back. Is that easy to do ?

Forrest
A: 

I like OpenFlow. However, it doesn't scale at all on the larger iPad screen or when you change the orientation. I'm trying to discover where it would be best to have the view resized. Right now, it takes the size from the xib file and sticks with it no matter what happens or where it is run. Too bad but I guess nothing comes free...

nemesys
Definitely not true. I am the author and have seen it used successfully on many iPad projects. Your implementation is incorrect if this isn't working for you.
thefaj