UIDickBar, An Awful Idea.
#Dickbar, "Twitter's mainstream consumer client experience", now available for your iOS app too.
Update
On March 31, 2011, Twitter removed the UIDickBar from their iPhone client version 3.3.3.
Problems underlying the UIDickBar are analyzed and concluded here: Problems and the Solution for UIDickBar, read it if you're interested.
Requirement
- iOS 4.0 or later (Sample project was created from Xcode 4 GM 2)
- Use LLVM Clang 2.0 compiler
Usage
You simply init UIDickBar
with title, badge and an action block:
UIDickBar *dickBar = [[UIDickBar alloc] initWithDickTitle:@"#DickBar" dickBadge:@"Stupid" actionBlock:^{
// Anything you want to do after UIDickBar tapped
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://digdog.tumblr.com"]];
}];
[dickBar showInView:self.view];
[dickBar release];
Then you call -showInView:
to display UIDickBar
that originates from the specified view.
Features
- Look like real #dickbar.
- No fancy animations.
- Support rotation.
- Support Blocks.
- Use UIDickBar to get tons of one star reviews, priceless.
Screenshots
Credit
This project is created by Ching-Lan 'digdog' Huang. Alone with helps from following people:
Thanks!
License
UIDickBar is released under MIT License.