• This repository has been archived on 06/Apr/2020
  • Stars
    star
    1,384
  • Rank 32,833 (Top 0.7 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 11 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

Customizable popup menu for iOS.

QBPopupMenu

Customizable popup menu for iOS.

QBPopupMenu version 2.0 is now available.
Its appearance is similar to UIMenuController of iOS 7, and it has several new features.

Screenshot

screenshot01.png

screenshot02.png

Installation

QBPopupMenu is available in CocoaPods.

pod 'QBPopupMenu'

If you want to install manually, download this repository and copy files in QBPopupMenu directory to your project.

Feature

Customizable Appearance

QBPopupMenu is highly customizable, so you can create your own popup menu.

The simple way to customize is set color and highlightcolor property of QBPopupMenu.
If you want to customize deeply, you should create a subclass of QBPopupMenu and override some drawing methods.

QBPlasticPopupMenu class in this repository is a good example of subclassing.

Auto Pagenation

If you add many items to QBPopupMenu, it create pages and pagenator automatically.

Auto Bounding

QBPopupMenu automatically adjust its frame depending on the frame of target view.

Example

QBPopupMenuItem *item = [QBPopupMenuItem itemWithTitle:@"Text" target:self action:@selector(action:)];
QBPopupMenuItem *item2 = [QBPopupMenuItem itemWithImage:[UIImage imageNamed:@"image"] target:self action:@selector(action:)];

QBPopupMenu *popupMenu = [[QBPopupMenu alloc] initWithItems:@[item, item2]];

[popupMenu showInView:self.view targetRect:... animated:YES];

License

QBPopupMenu is released under the MIT License, see LICENSE.txt.

More Repositories

1

QBImagePicker

A clone of UIImagePickerController with multiple selection support.
Objective-C
1,780
star
2

Lin

Xcode plugin that provides auto-completion for NSLocalizedString.
Objective-C
1,229
star
3

Lin-Xcode5

A Localization Manager for Xcode 5
Objective-C
971
star
4

QBFlatButton

Flat-Style Button
Objective-C
266
star
5

QBRefreshControl

An abstract base class for creating a refresh control.
Objective-C
57
star
6

PopHub-Electron

GitHub activity & notification viewer. Made with Electron.
JavaScript
57
star
7

QBAnimationSequence

UIView Animation Sequencer
Objective-C
51
star
8

CacheKit

LRU on-memory/disk cache for Swift
Swift
34
star
9

QBValidator

A library for validating values easily.
Objective-C
28
star
10

QBTitleView

Title label and image view for 'titleView' property of UINavigationItem
Objective-C
15
star
11

SlideMenu

View controller container which provides the sliding menus.
Swift
10
star
12

Categories

Objective-C Categories
Objective-C
9
star
13

QBStatusItemView

Custom status item view that can be highlighted programmatically.
Objective-C
9
star
14

PageMenu

View controller container which provides the paged views with menus.
Swift
8
star
15

LiveTeX

PDF Previewer for TeX writing.
Swift
6
star
16

GitHubStatus

A today widget that displays GitHub Service Status
Swift
5
star
17

LaunchAtLoginExample

Code examples of launch at login implementation.
Objective-C
5
star
18

scrapboard

Sticky Notes for Scrapbox
TypeScript
5
star
19

MilkCocoa

A better way to drink Cocoa.
Objective-C
4
star
20

UICollectionViewTrackingDisplayDelegate

UICollectionView+willDisplayCell
Objective-C
4
star
21

QBTokenField

Objective-C
4
star
22

XcodeCrasher

Kill Xcode
Objective-C
4
star
23

kdtree

kdtree module for C++
C++
4
star
24

dotfiles

dotfiles
Shell
4
star
25

LINEActivity

UIActivity subclass for sharing text, URL and image via LINE.
Objective-C
3
star
26

QBSpringButton

UIButton subclass with attractive bounce animation.
Objective-C
3
star
27

anchor

Tab switcher for Google Chrome.
TypeScript
3
star
28

PlugInSample

Objective-C
3
star
29

XcodeBuildSound

Xcode plug-in that plays a random sound when you have a compile error.
Objective-C
3
star
30

QBRateLimit

Rate limit controller.
Objective-C
2
star
31

CrashReporter

Tweet when Xcode died
Swift
2
star
32

capistrano-mackerel

Mackerel integration for Capistrano v3.
Ruby
2
star
33

QBUserDefaults

Objective-C
2
star
34

QBFeedback

QBFeedback is the library for getting feedbacks from the users easily.
Objective-C
2
star
35

PopHubSupport

PopHub issue tracker.
2
star
36

ConvertMovToMpeg

Objective-C
1
star
37

PocketActivity

UIActivity subclass for saving URL to Pocket.
Objective-C
1
star
38

XcodeBackgroundImage

Display a image behind the source text view in Xcode.
Objective-C
1
star
39

ShortMenu

Xcode plug-in which shortens menu titles.
Swift
1
star
40

RateLimit

A rate limit controller for preventing excessive actions.
Swift
1
star
41

KVCCollectionOperatorsExample

Code examples of KVC Collection Operators
Objective-C
1
star