【文件属性】:
文件名称:HMSegmentedControl:UISegmentedControl的高度可定制的替代产品
文件大小:342KB
文件格式:ZIP
更新时间:2021-02-03 14:39:55
ios objective-c hmsegmentedcontrol iOSObjective-C
HMS分段控制
UISegmentedControl的高度可定制的替代产品,已被22,000多个应用程序使用,包括TikTok,PayPal,Imgur和Bleacher Report。
产品特点
:camera_with_flash: 支持文字和图像
:up-down_arrow_selector: 多种尺寸和选择样式
:scroll: 水平滚动无数段
:gear_selector: 带有字体,颜色,字距,阴影等文本属性的高级标题样式
:desktop_computer: 与Swift和Objective-C兼容
:mobile_phone: 已针对Xcode 11,iOS 13和Swift 5更新。支持自iOS 7起的所有版本!
安装
pod 'HMSegmentedControl'
还支持通过迦太基安装。
用法
下面的代码将创建具有默认外观的分段控件:
let segmentedControl = HMSegmentedControl ( sectionTitles : [
" Trending " ,
" News " ,
" Li
【文件预览】:
HMSegmentedControl-master
----Screenshot.png(73KB)
----Package.swift(936B)
----HMSegmentedControl()
--------HMSegmentedControl.h(9KB)
--------HMSegmentedControl.m(53KB)
----HMSegmentedControl.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(28KB)
--------xcshareddata()
----HMSegmentedControl.podspec(690B)
----Screenshots()
--------6.PNG(57KB)
--------7.PNG(40KB)
--------5.png(28KB)
--------8.jpeg(20KB)
--------1.png(16KB)
--------2.png(17KB)
--------4.png(18KB)
--------3.png(22KB)
----LICENSE.md(1KB)
----.gitignore(215B)
----Framework()
--------module.modulemap(131B)
--------HMSegmentedControl-umbrella.h(481B)
--------Info.plist(755B)
----README.md(3KB)
----HMSegmentedControlExample()
--------main.m(369B)
--------Images()
--------HMSegmentedControlExample-Prefix.pch(353B)
--------AppDelegate.h(399B)
--------AppDelegate.m(671B)
--------HMSegmentedControlExample-Info.plist(1KB)
--------HMSegmentedControlExample-Bridging-Header.h(135B)
--------ExampleViewController.swift(1KB)
--------ViewController.h(271B)
--------ViewController.m(9KB)
--------Launch Screen.xib(1KB)