• Stars
    star
    896
  • Rank 50,968 (Top 2 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created almost 10 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PopMenu is pop animation menu inspired by Sina weibo / NetEase app.

PopMenu

License Platform

PopMenu is pop animation menu inspired by Sina weibo / NetEase app.

Screenshots

image

Installation

CocoaPods

With CocoaPods, add this line to your Podfile.

pod 'PopMenu'

and run pod install, then you're all done!

Manually

  1. Download and drop /PopMenufolder in your project.
  2. Congratulations!

How to use

NSMutableArray *items = [[NSMutableArray alloc] initWithCapacity:3];
MenuItem *menuItem = [[MenuItem alloc] initWithTitle:@"Flickr" iconName:@"post_type_bubble_flickr" glowColor:[UIColor grayColor] index:0];
[items addObject:menuItem];
    
menuItem = [[MenuItem alloc] initWithTitle:@"Googleplus" iconName:@"post_type_bubble_googleplus" glowColor:[UIColor colorWithRed:0.000 green:0.840 blue:0.000 alpha:1.000] index:0];
[items addObject:menuItem];
    
menuItem = [[MenuItem alloc] initWithTitle:@"Instagram" iconName:@"post_type_bubble_instagram" glowColor:[UIColor colorWithRed:0.687 green:0.000 blue:0.000 alpha:1.000] index:0];
[items addObject:menuItem];
    
menuItem = [[MenuItem alloc] initWithTitle:@"Twitter" iconName:@"post_type_bubble_twitter" glowColor:[UIColor colorWithRed:0.687 green:0.000 blue:0.000 alpha:1.000] index:0];
[items addObject:menuItem];
    
menuItem = [[MenuItem alloc] initWithTitle:@"Youtube" iconName:@"post_type_bubble_youtube" glowColor:[UIColor colorWithRed:0.687 green:0.000 blue:0.000 alpha:1.000] index:0];
[items addObject:menuItem];
    
menuItem = [[MenuItem alloc] initWithTitle:@"Facebook" iconName:@"post_type_bubble_facebook" glowColor:[UIColor colorWithRed:0.687 green:0.000 blue:0.000 alpha:1.000] index:0];
[items addObject:menuItem];
    
PopMenu *popMenu = [[PopMenu alloc] initWithFrame:self.view.bounds items:items];
popMenu.menuAnimationType = kPopMenuAnimationTypeNetEase; // kPopMenuAnimationTypeSina
popMenu.perRowItemCount = 3; // or 2
[popMenu showMenuAtView:self.view];

Requirements

  • iOS 7.0+
  • ARC

License

PopMenu is available under the MIT license, see the LICENSE file for more information.

More Repositories

1

MessageDisplayKit

An IM App like WeChat App has to send text, pictures, audio, video, location messaging, managing local address book, share a circle of friends, drifting friends, shake a fun and more interesting features.
Objective-C
4,255
star
2

XHRefreshControl

XHRefreshControl 是一款高扩展性、低耦合度的下拉刷新、上提加载更多的组件。
Objective-C
736
star
3

PinterestAnimator

PinterestAnimator like Pinterest 3.0++ App transition animation.
Objective-C
658
star
4

iOS8SelfSizingCells

This is instagram app feed tableView demo use iOS8 Self Sizing Cells.
Objective-C
356
star
5

XHTwitterPaggingViewer

A twitter like navigation bar, page viewer.
Objective-C
223
star
6

XHRealTimeBlur

RealTimeBlur applies to the view, transitions, background.
Objective-C
199
star
7

TagView

High efficiency Tag components.
Objective-C
197
star
8

XHAmazingLoading

XHAmazingLoading indicators or load view based on CAReplicatorLayer class and CoreAnimation, like skype / music.
Objective-C
176
star
9

PlayerKit

High efficiency Audio/Video Player,Support MP4、MOV、M3U8、3GP,Custom UI for AVPlayer.
Objective-C
145
star
10

XHXcodePlugin

收集xcode常用的插件和最新的插件,仅供参考,请不要吐槽。
86
star
11

XHNewsParsingSwift

XHNewsParsing is sina news client, use swift.
Swift
78
star
12

AssistYou

At first glance you would think are not used, but it can protect you
23
star
13

XHMultipleStyleCheckBoxKit

MultipleStyleCheckBoxKit have multiple style check box, due with multiple line text, network photo, local photo, useful on news vote. 拥有对多种媒体类型进行勾选,比如本地图片、网络图片、本地文本,多用于新闻投票或者答题App里面。
Objective-C
18
star
14

XHPrepare

Prepare 是记录一些总结,比如在换新电脑的时候,配置锋利的开发环境、配置命令行友好环境、一些关于自己的经验等等。
11
star
15

XHAppStoreApp

Inspired by the Apple AppStore apps, XHAppStoreApp provide modular UI
Objective-C
10
star
16

jobs

iOS开发招聘
5
star
17

XHLearnEnglish

To learn English at ordinary times
C
4
star