zoukankan      html  css  js  c++  java
  • [翻译] CNPGridMenu

    CNPGridMenu

    CNPGridMenu is a Mailbox style grid menu with a blurred background for iOS 7 & iOS 8.

    CNPGridMenu是一个邮箱网格风格的菜单,调出菜单的同时模糊背景,支持iOS7与iOS8.

    Usage - 使用

    You can create items for the grid menu using CNPGridMenuItem.

    你可以通过CNPGridMenuItem创建网格的items。

    @property (nonatomic, strong) NSString *title;

    @property (nonatomic, strong) UIImage *icon;

    @property (nonatomic, copy) SelectionHandler selectionHandler;

    Customization - 自定义

    You can choose the blur style. UIBlurEffectStyleDark UIBlurEffectStyleLight or UIBlurEffectStyleExtraLight

    你可以使用模糊背景的风格,支持3种,UIBlurEffectStyleDark,UIBlurEffectStyleLight 与 UIBlurEffectStyleExtraLight。

    @property (nonatomic, assign) UIBlurEffectStyle blurEffectStyle;

    Installation - 安装

    Requires iOS 7 or iOS 8

    需要iOS7或者iOS8

    Pod "CNPGridMenu"

    Or if you don't want to use Cocoapods #import "CNPGridMenu.h"

    如果你不想用Cocoapods,你可以直接导入头文件“CNPGridMenu.h”

  • 相关阅读:
    ThinkPHP中的__URL__或__URL__等
    如何输出其他模块的操作模板
    如何改变ThinkPHP默认访问模块
    C#中文件操作
    常见的网页技巧(转)
    JS实现验证码局部更新
    winform控件随窗体大小变化而变化
    php 观察者模式
    PHP生命周期
    Mac 安装redis
  • 原文地址:https://www.cnblogs.com/YouXianMing/p/4191019.html
Copyright © 2011-2022 走看看