Open/Free iPhone UI Library on Github

Discussion in 'iOS Programming' started by spin-docta, Jul 4, 2009.

  1. spin-docta macrumors newbie

    spin-docta

    Joined:
    Feb 2, 2009
    Location:
    NY
    #1
    Hey everyone,

    I've just posted a library of useful iphone ui classes to help speed up development. Take a look! Its still a work in progress, but I hope you'll like what's there already.

    http://github.com/tapku/tapkulibrary/tree/master

    Let me know your thoughts. Any places you'd like me to take the library?
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    Screenshots would be nice.

    I just glanced at this: http://github.com/tapku/tapkulibrar...d4be29b7b95be16/TapkuLibrary/LoadingHUDView.m

    You should put that rounded rect code in a function/category to make it reusable :)

    And call [super dealloc] last after you release everything else - see http://stackoverflow.com/questions/909856/why-do-i-have-to-call-super-dealloc-last-and-not-first

    Also, why the use of global variables?

    BTW I used to use the prefix _ as well, but it should be avoided. Apple has mentioned that they reserve this for their own code, and I've actually ran into conflicts with it before, and so with a framework you want to avoid potential problems like this down the road, so I'd either use a different prefix or drop it all together (the code isn't that complex for it to be needed anyways).
     
  3. spin-docta thread starter macrumors newbie

    spin-docta

    Joined:
    Feb 2, 2009
    Location:
    NY
    #3
    Hey,
    Thanks for looking at the library. Could you explain how I would create a category for the rounded rectangle? Thanks for your tips!.
     

Share This Page