프로젝트
GitHub에서 보기
cyndibaby905/TumblrMenu
소개
Tumblr iOS app like menu view completely created using core animation.
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalCHTumblrMenuView
Tumblr iOS app like menu view.
Completely created using core animation.
Easy to drop into your project.
You can add as many items as you want, the CHTumblrMenuView will layout them automatically.
Requirements
CHTumblrMenuView requires Xcode 5, targeting either iOS 5.0 and above, ARC-enabled.
How to use
Drag CHTumblrMenuView.h amd CHTumblrMenuView.m files to your project.
No other frameworks required.
#import "CHTumblrMenuView.h"
CHTumblrMenuView *menuView = [[CHTumblrMenuView alloc] init];
[menuView addMenuItemWithTitle:@"Text" andIcon:[UIImage imageNamed:@"post_type_bubble_text.png"] andSelectedBlock:^{
NSLog(@"Text selected");
}];
[menuView addMenuItemWithTitle:@"Photo" andIcon:[UIImage imageNamed:@"post_type_bubble_photo.png"] andSelectedBlock:^{
NSLog(@"Photo selected");
}];
[menuView addMenuItemWithTitle:@"Quote" andIcon:[UIImage imageNamed:@"post_type_bubble_quote.png"] andSelectedBlock:^{
NSLog(@"Quote selected");
}];
[menuView addMenuItemWithTitle:@"Link" andIcon:[UIImage imageNamed:@"post_type_bubble_link.png"] andSelectedBlock:^{
NSLog(@"Link selected");
}];
[menuView addMenuItemWithTitle:@"Chat" andIcon:[UIImage imageNamed:@"post_type_bubble_chat.png"] andSelectedBlock:^{
NSLog(@"Chat selected");
}];
[menuView addMenuItemWithTitle:@"Video" andIcon:[UIImage imageNamed:@"post_type_bubble_video.png"] andSelectedBlock:^{
NSLog(@"Video selected");
}];
[menuView show];
How it looks
![CHTumblrMenuView] (https://raw.github.com/cyndibaby905/TumblrMenu/master/tumblrMenu.gif)
Lincense
CHTumblrMenuView is available under the MIT license. See the LICENSE file for more info.
관련 프로젝트 살펴보기
불러오는 중…