Latest 1.0.1
Homepage https://github.com/YongWeiYun/KSXYSwitchView
License MIT
Platforms ios 8.0, requires ARC
Authors

一个酷炫的弹出式,快捷选择菜单

使用简单,一个函数全部搞定。

使用pods管理

pod ‘KSXYSwitchView’

//本地路径  图片名称

//@"person_info.png", @"make_call.png", @"make_audio_call.png", @"make_video_call.png"

[KSXYSwitchView showInView:self.view images:@[@"person_info.png", @"make_call.png", @"make_audio_call.png", @"make_video_call.png"] atPoint:point buttonClicked:^(NSInteger index) {
        if(index == 0) {
            NSLog(@"Click person button index = %ld", (long)index);
        } 
        else if(index == 1) {
            NSLog(@"Click call button index = %ld", (long)index);
        } 
        else if(index == 2) {
            NSLog(@"Click audio call button index = %ld", (long)index);
        } 
        else if(index == 3) {
            NSLog(@"Click video call button index = %ld", (long)index);
        }
}];

Latest podspec

{
    "name": "KSXYSwitchView",
    "version": "1.0.1",
    "summary": "u4e00u4e2au9177u70abu7684u5f39u51fau5f0fuff0cu5febu6377u9009u62e9u83dcu5355",
    "description": "KSXYSwitchView u4e00u4e2au9177u70abu7684u5f39u51fau5f0fuff0cu5febu6377u9009u62e9u83dcu5355",
    "homepage": "https://github.com/YongWeiYun/KSXYSwitchView",
    "license": "MIT",
    "authors": {
        "yunyongwei": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/YongWeiYun/KSXYSwitchView.git",
        "tag": "1.0.1"
    },
    "source_files": "KSXYSwitchView/KSXYSwitchView/**.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This