News for hackers. Stuff that matters.
Re:How does the Twitter iPhone App implement a custom tab bar? by naz on Tuesday January 04, 2011 @06:40AM (#2066613)
I've been working on something[1] very similar for some of my own apps. It is available under the MIT license. What license are these recipes released under?

I decided not to mask the icons and opted for pre-masked PNGs because I couldn't match the style as well as I could in Photoshop. Yours is looking very good though. Maybe we should merge?

[1] https://github.com/briancollins/BCTabBarController

Re:How does the Twitter iPhone App implement a custom tab bar? by boctor on Wednesday January 05, 2011 @06:40PM (#2073079)
All the iDevRecipes code is now available under the MIT License: https://github.com/boctor/idev-recipes
Re:How does the Twitter iPhone App implement a custom tab bar? by ryanpetrich on Tuesday January 04, 2011 @08:04AM (#2066771)
Alternatively, one could apply the mask on the GPU by setting CALayer's mask property.
Re:How does the Twitter iPhone App implement a custom tab bar? by naz on Tuesday January 04, 2011 @08:27AM (#2066814)
Do CALayer masks support gradient borders?
Re:How does the Twitter iPhone App implement a custom tab bar? by ryanpetrich on Tuesday January 04, 2011 @05:57PM (#2068933)
Not sure what you mean by "gradient borders"
Re:How does the Twitter iPhone App implement a custom tab bar? by ttjervaag on Tuesday January 04, 2011 @08:05AM (#2066773)
Not being able to modify even the highlight tint colour of the UITabBar is a mini peeve of mine. To me it doesn't make much sense to force blue when a lot of the other UI elements have a tintColor property which works great.

I didn't have the time to do a custom one for my last project so we stayed with the standard blue in the end.

Edit: nice work though! Nice to see a thorough explanation of your thinking.

Re:How does the Twitter iPhone App implement a custom tab bar? by _neil on Tuesday January 04, 2011 @09:21AM (#2066980)
I wrote something similar for an app that used Titanium. All javascript, of course, with select-state images and a 1x42 pixel background. I'll see if the company I wrote it for will let me release it as a snippet.