Latest 1.0
Homepage https://github.com/zeqinjie/ZQCuteView
License MIT
Platforms ios 7.0, requires ARC
Authors

ZQCuteView

基于UITextView,增加placeholder功能,增加限制text的输入字数功能

如何使用:

使用CocoaPods:

platform :ios, ‘7.0’

pod ‘ZQCuteView’


导入头文件:
#import "ZQCuteView.h"
申明变量:

@property (nonatomic, strong) ZQCuteView *zqCuteView;
根据需求实现对应功能:

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.

    [self initView];
}

- (void)initView{
    self.zqCuteView = [[ZQCuteView alloc]initWithPoint: CGPointMake(self.view.frame.size.width - 70, self.view.frame.size.height - 70) superView:self.view bubbleWidth:55 pic:[UIImage imageNamed:@"icon_Close_off_110"]color:[UIColor yellowColor]];
    [self.zqCuteView setZqCuteViewAlpha:0.9];
    self.zqCuteView.isOpenStickAnm = YES;
    self.zqCuteView.isShowShakeAnmation = YES;
    self.zqCuteView.tapCallBack = ^(void){
        NSLog(@"hello zzq");
    };
}

协议(Licenses)

ZQCuteView 被许可在 MIT 协议下使用。查阅 LICENSE 文件来获得更多信息。

Latest podspec

{
    "name": "ZQCuteView",
    "version": "1.0",
    "summary": "u7c98u7cd6u52a8u753bviewuff0cu80fdu54cdu5e94u4e8bu4ef6uff0cu8bbeu7f6eu80ccu666fu56feu3002",
    "description": "ZQCuteViewuff0cu80fdu54cdu5e94u4e8bu4ef6uff0cu8bbeu7f6eu80ccu666fu56feu3002",
    "requires_arc": true,
    "homepage": "https://github.com/zeqinjie/ZQCuteView",
    "license": "MIT",
    "authors": {
        "zhengzeqin": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/zeqinjie/ZQCuteView.git",
        "tag": "1.0"
    },
    "source_files": "ZQCuteViewDemo/ZQCuteView.{h,m}"
}

Pin It on Pinterest

Share This