Latest 1.0.3
Homepage https://github.com/JagainChen/JagainLocationSelectView
License MIT
Platforms ios 8.0
Dependencies Masonry
Frameworks UIKit
Authors

LocationSelectView

简单实现了一个地址选择器,主要为了自己尝试git

使用方式

使用CocoaPods
`pod ‘CGHSelectView’
或者直接将CGHSelectView文件夹拖入到项目中
实现以下代理

#pragma mark - CGHSelectViewDelegete
/**
*@brief 得到对应page的index显示的内容
*@param index 当前展示的数据位置下标
*@param page 当前展示的页数下标
*/
- (NSString *)titleAtIndex:(NSInteger )index atPage:(NSInteger )page;
/**
*@brief 得到对应page的index数
*@param page 当前展示的页数下标
*/
- (NSInteger )numberOfRowsAtPage:(NSInteger )page;

实现的效果

CGHSelectView

联系方式

Email :[email protected]

Latest podspec

{
    "name": "CGHSelectView",
    "version": "1.0.3",
    "summary": "A SelectView.",
    "homepage": "https://github.com/JagainChen/JagainLocationSelectView",
    "license": "MIT",
    "authors": {
        "Jagain": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/JagainChen/JagainLocationSelectView.git",
        "tag": "1.0.3"
    },
    "source_files": "CGHSelectView/*.{h,m}",
    "frameworks": "UIKit",
    "dependencies": {
        "Masonry": [
            "~> 1.1.0"
        ]
    }
}

Pin It on Pinterest

Share This