views:

2842

answers:

11

Are there any repositories around for open sourced iPhone and iPad components?

For instance, I have found myself needing to create several new types of table cells to mimic some of Apple's existing functionality (for instance, all the different types of table cells present in the Settings application). I can't imagine I'm alone here.

Where do you go to find open sourced reusable components, or do you just write and hoard your own?

Update: I know there are open source full projects around (see this question), but rummaging through them and picking and choosing still leads to significant duplication of effort.

Ongoing List

Here are some libraries that I've found or been told about (even answered here) since asking this question:

+1  A: 

I don't know of any control-specific repositories, but there are a number of open-source iPhone projects around that can be helpful for mimicking behavior.

Andrew Grant
+2  A: 

code.google.com has too many to name.

Also WordPress released their iPhone app open source here

John Fricker
A: 

I was thinking about this just yesterday, there are so many Open Source projects out there that could be ported to the iphone but they aren't, obviously a most of it is not relevant to the iphone (anything use X for example) :)

I think the community needs something like Macports but for the iphone (iphonePorts??) of course many of the existing open source applications won't be relevant but the libraries can be extremly useful. I am currently looking into porting TTS library to iphone (see my question here )

hhafez
+9  A: 

Not many people build open-sourced components for iPhone because they would use their time to build up applications and sell them on AppStore. :-) But lots of people are kind enough to give all their efforts for free. As John Fricker suggested, you will get a huge number of iPhone projects by taking: http://code.google.com/search/#q=UIKit

If you want a "Settings Table"-liked component, it's here: http://code.google.com/search/#q=UIPreferencesTable (UIPreferencesTable is one of unofficial APIs in iPhone SDK). First result is worth to read: http://code.google.com/p/iphone-placemaps/

instcode
+3  A: 

cocos2d-iphone is a great 2D game engine with a built-in physics engine.

Dana Holt
+4  A: 

UIView that allows you to build Rating components to provide the same kind of experience AppStore or Youtube applications on iPhone do.

http://code.google.com/p/s7ratingview/

Aleks N.
+1  A: 

Sweet and simple to use. Straighforward iPhone way: http://code.google.com/p/s7graphview/

Aleks N.
A: 

To eisernWolf s7graphview is great! do you think on the future that will be possible to add zoom capability?

nebula
A: 

I've been working on a library of re-usable components which can be found at http://github.com/huddletech/HTFramework

Andy Waite
+1  A: 

Make sure you double-check the component's license.

If it's MIT or Apache then most of the times you're OK, but if it's GPL, you need to either release the source code of the application you're writing or ask the original author for an permission to use the component.

Linas
A: 

Core Plot - a plotting framekwork for iOS and Mac development. It's open source and very flexible.

xmr