SNFSegmentedViewController:使用分段控件在视图控制器之间切换的最简单方法

时间:2021-05-14 21:47:44
【文件属性】:
文件名称:SNFSegmentedViewController:使用分段控件在视图控制器之间切换的最简单方法
文件大小:22KB
文件格式:ZIP
更新时间:2021-05-14 21:47:44
Objective-C SNFSegmentedViewController SNFSegmentedViewController是使用UISegmentedControl在视图控制器之间进行切换的最简单方法。 您不必担心视图控制器的约束或设置大量的自定义空序列。 SNFSegmentedViewController可以正常工作。 用法 由于SNFSegmentedViewController是UITabBarController的子类,所以您要做的就是: 将UITabBarController拖出到情节提要中,并将其嵌入到UINavigationController 。 将其适当地连接到您的视图。 将其类更改为SNFSegmentedViewController 。 就这么简单。 安装 添加SNFSegmentedViewController您Podfile如果你使用 ,或添加SNFSegmented
【文件预览】:
SNFSegmentedViewController-master
----SNFSegmentedViewController()
--------main.m(365B)
--------Default.png(6KB)
--------SNFAppDelegate.h(306B)
--------SNFSegmentedViewController-Info.plist(2KB)
--------SNFAppDelegate.m(2KB)
--------Default-568h@2x.png(18KB)
--------SNFSegmentedViewController-Prefix.pch(355B)
--------Default@2x.png(16KB)
--------SNFSegmentedViewController.h(343B)
--------SNFSegmentedViewController.m(2KB)
--------en.lproj()
----LICENSE(1KB)
----.gitignore(232B)
----README.md(1KB)
----SNFSegmentedViewController.xcodeproj()
--------project.pbxproj(14KB)
----SNFSegmentedViewController.podspec(607B)

网友评论