View Full Version : Open/Free iPhone UI Library on Github
spin-docta
Jul 5, 2009, 01:16 AM
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?
kainjow
Jul 5, 2009, 10:46 PM
Screenshots would be nice.
I just glanced at this: http://github.com/tapku/tapkulibrary/blob/f5b150ec7b08f56f29fd22452d4be29b7b95be16/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).
spin-docta
Jul 6, 2009, 03:09 PM
Screenshots would be nice.
I just glanced at this: http://github.com/tapku/tapkulibrary/blob/f5b150ec7b08f56f29fd22452d4be29b7b95be16/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?
Hey,
Thanks for looking at the library. Could you explain how I would create a category for the rounded rectangle? Thanks for your tips!.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.