vicpenap / PrettyKit

PrettyKit for iOS is a small set of new widgets and UIKit subclasses that gives you a deeper UIKit customization. You will be able to change their background color, add gradients, shadows, etc.
http://vicpenap.github.com/PrettyKit
Other
1.22k stars 155 forks source link

PrettyToolbar #4

Closed sethgho closed 12 years ago

sethgho commented 12 years ago

I needed to prettify a toolbar on a modal window, but didn't want to mess with creating a dummy UINavigationController xib just so I can specify a custom UINavigationBar subclass (the only way I know how, and I found no alternatives). I added a PrettyToolbar and a modal window in the example project.

vicpenap commented 12 years ago

Thanks!

I've modified it just a little bit. On the modal window I've changed your toolbar with a navigation bar, and added a new toolbar at the bottom of the screen.

The navigation bar behaves just as yours, with the difference that the title is now centered.

The toolbar is placed just as example of bottom toolbar with a bunch of icons.

I've also added the MIT license to both the .h and .m of PrettyToolbar.

Cheers!

vicpenap commented 12 years ago

I haven't tagged it yet, though. I'll wait for more new features or bug fixes :)

sethgho commented 12 years ago

Thanks, Victor. I was clearly confused and over complicating the UINavigationBar. :)