Swift UIStackView子视图控制器集成示例

UIStackView 的模块化布局能力,用起来是真的省心。你可以把每个功能模块包成一个子视图控制器,直接丢到堆栈里,结构清晰,维护也方便。嗯,最妙的是,Swift 下操作起来也不复杂,逻辑清楚,效果也还不错。

zip
swift-一个视图控制器在UIStackView中使用根视图的子视图控制器作为视图.zip 预估大小:67个文件
folder
ScrollingStackViewController-master 文件夹
file
.xcode-version 5B
file
.gitignore 736B
folder
Example 文件夹
folder
Pods 文件夹
file
Manifest.lock 344B
folder
Local Podspecs 文件夹
file
ScrollingStackViewController.podspec.json 1KB
folder
Pods.xcodeproj 文件夹
folder
project.xcworkspace 文件夹
folder
xcshareddata 文件夹
file
IDEWorkspaceChecks.plist 238B
file
contents.xcworkspacedata 135B
file
project.pbxproj 39KB
folder
Target Support Files 文件夹
folder
Pods-ScrollingStackViewController_Tests 文件夹
file
Pods-ScrollingStackViewController_Tests-resources.sh 6KB
file
Pods-ScrollingStackViewController_Tests-acknowledgements.markdown 133B
file
Pods-ScrollingStackViewController_Tests-umbrella.h 370B
file
Pods-ScrollingStackViewController_Tests.debug.xcconfig 655B
file
Pods-ScrollingStackViewController_Tests.release.xcconfig 655B
file
Info.plist 828B
file
Pods-ScrollingStackViewController_Tests-Info.plist 828B
file
Pods-ScrollingStackViewController_Tests-dummy.m 182B
file
Pods-ScrollingStackViewController_Tests-frameworks.sh 7KB
file
Pods-ScrollingStackViewController_Tests-acknowledgements.plist 805B
file
Pods-ScrollingStackViewController_Tests.modulemap 168B
folder
Pods-ScrollingStackViewController_Example 文件夹
file
Pods-ScrollingStackViewController_Example-dummy.m 186B
file
Pods-ScrollingStackViewController_Example-acknowledgements.plist 11KB
file
Pods-ScrollingStackViewController_Example-frameworks.sh 7KB
file
Pods-ScrollingStackViewController_Example.modulemap 172B
file
Info.plist 828B
file
Pods-ScrollingStackViewController_Example-Info.plist 828B
file
Pods-ScrollingStackViewController_Example-acknowledgements.markdown 10KB
file
Pods-ScrollingStackViewController_Example-resources.sh 6KB
file
Pods-ScrollingStackViewController_Example-umbrella.h 374B
file
Pods-ScrollingStackViewController_Example.debug.xcconfig 967B
file
Pods-ScrollingStackViewController_Example.release.xcconfig 967B
folder
ScrollingStackViewController 文件夹
file
ScrollingStackViewController-umbrella.h 348B
file
ScrollingStackViewController-dummy.m 160B
file
ScrollingStackViewController.modulemap 146B
file
Info.plist 828B
file
ScrollingStackViewController.xcconfig 489B
file
ScrollingStackViewController-prefix.pch 195B
file
ScrollingStackViewController-Info.plist 828B
folder
ScrollingStackViewController.xcworkspace 文件夹
folder
xcshareddata 文件夹
file
WorkspaceSettings.xcsettings 243B
file
IDEWorkspaceChecks.plist 238B
file
contents.xcworkspacedata 246B
folder
ScrollingStackViewController.xcodeproj 文件夹
folder
xcshareddata 文件夹
folder
xcschemes 文件夹
file
ScrollingStackViewController-Example.xcscheme 5KB
folder
project.xcworkspace 文件夹
file
contents.xcworkspacedata 173B
file
project.pbxproj 27KB
folder
ScrollingStackViewController 文件夹
file
ViewController.swift 3KB
file
Info.plist 1KB
folder
Images.xcassets 文件夹
folder
AppIcon.appiconset 文件夹
file
Contents.json 848B
file
SegmentController.swift 1KB
folder
Base.lproj 文件夹
file
LaunchScreen.xib 4KB
file
Main.storyboard 10KB
file
AppDelegate.swift 2KB
folder
Tests 文件夹
file
ScrollingStackViewInsertionLocationTests.swift 6KB
folder
Utilities 文件夹
file
Factory.swift 2KB
file
Info.plist 733B
file
ScrollingStackViewTests.swift 8KB
file
Podfile.lock 344B
file
Podfile 304B
file
.travis.yml 585B
file
_Pods.xcodeproj 27B
file
LICENSE 10KB
file
README.md 6KB
folder
ScrollingStackViewController 文件夹
folder
Assets 文件夹
folder
.gitkeep 文件夹
folder
Classes 文件夹
file
ScrollingStackViewController.swift 14KB
folder
.gitkeep 文件夹
file
Gemfile 73B
folder
img 文件夹
file
banner.png 297KB
file
demo.gif 996KB
file
ScrollingStackViewController.podspec 2KB
file
Gemfile.lock 2KB
...
zip 文件大小:1.14MB