23

There are quite a few reusable iPhone solutions/tricks on the web, mostly scattered on various blogs. However I could not find any single place where they would be collected together (something like what MacUpdate/VersionTracker is to applications).

Is there such a site already?

If not, I'm thinking to create one. What components would you like to see there, and what features do you think such a site needs? (I'm thinking about sharing non-visual classes as well as visual components, and maybe simple code snippets showing various techniques/tricks too.)

I'm aware of https://stackoverflow.com/questions/640805/open-source-iphone-components-reusable-views-controllers-buttons-table-cells.

Community
  • 1
  • 1
Andrey Tarantsov
  • 8,965
  • 7
  • 54
  • 58

7 Answers7

8

If you need to display some sort of activity indication while doing background tasks, you can take a look at MBProgressHUD for iPhone.

Matej Bukovinski
  • 6,152
  • 1
  • 36
  • 36
6

i think all the answers are missing a point here.

Here are the sites from were you can find reusable components.

1) http://cocoacontrols.com/

2) http://open.iphonedev.com/

3) http://cocoaobjects.com/

Here is the twitter account where you can find popular reusable components on github about iPhone or iPad

4) https://twitter.com/#!/github_objc

object2.0
  • 891
  • 1
  • 12
  • 12
5

The Three20 "library" helped me a lot with understanding how to create reusable components.

Perhaps you already know what functionality to implement. Plus, the library itself is already quite extensive.

Kriem
  • 8,666
  • 16
  • 72
  • 120
  • Yes, it's great. Unfortunately it kinda suffers from a “not invented here” syndrome, subclassing and extending the world. But it's a really good source of example code nevertheless. (Just *please* don't create reusable components that way. Self-contained Component.h/Component.m rules!) – Andrey Tarantsov May 09 '09 at 21:49
  • @Andrey: Could you explain a bit more about your last line? – Kriem May 09 '09 at 21:59
  • 1
    @Kriem: almost any class in Three20 brings a few other classes with it, so that you need to pull the whole library to use a component. If you want to create a component that's truly reusable and not a pain in the ass, your best choice is to constrain yourself to a single .h and a single .m file that can be added to any iPhone project. This also means your components should not rely on any custom utility categories on standard classes. – Andrey Tarantsov May 12 '09 at 16:23
3

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

Aleks N.
  • 6,051
  • 3
  • 42
  • 42
3

Kal implements a Calendar like the one in the Calendar app for you. http://github.com/klazuka/Kal

mclin
  • 3,599
  • 1
  • 20
  • 18
3

If you are looking for an iPhone UI for web page design, check out the free IUI on Google Code.

scunliffe
  • 62,582
  • 25
  • 126
  • 161
3

Great iPhone custom UI elements repository

zpesk
  • 4,343
  • 7
  • 39
  • 61