ODMSwipeSelector 1.0.3

ODMSwipeSelector 1.0.3

测试已测试
Lang语言 Obj-CObjective C
许可 MIT
发布上次发布2015年6月

Oscar De Moya 维护。




  • Oscar De Moya

使用

要运行示例项目,请克隆仓库,然后首先从 Example 目录运行 pod install

从界面构建器

要使用界面构建器中的此控件,请添加一个 UIView 并将其设置为自定义类。默认属性可以设置在界面构建器的属性检查器中。

通过编程

创建 ODMSwipeSelector 的实例,将其添加到您的视图中,并设置您想要自定义的属性值。

ODMSwipeSelector *heightSelector = [[ODMSwipeSelector alloc] initWithFrame:CGRectMake(0, 20, 320, 50)];
heightSelector.backgroundColor = [UIColor whiteColor];
heightSelector.title = @"Height";
heightSelector.unit = ODMMeasureFormatInch;
heightSelector.value = 5.5;
[self.view addSubview:heightSelector];

要求

安装

作者

Oscar De Moya @odm

许可

ODMSwipeSelector 在 MIT 许可下可用。有关更多信息,请参阅 LICENSE 文件。