没有合适的资源?快使用搜索试试~ 我知道了~
AutoLayout:Swift 自动布局演示应用程序
共71个文件
swift:17个
h:17个
m:8个
需积分: 5 0 下载量 60 浏览量
2021-07-04
09:07:45
上传
评论
收藏 193KB ZIP 举报
温馨提示
自动布局 针对开发过程中出现的各种自动布局问题的演示应用程序和文档。 其他资源 使用带有大量 GIF 的 Interface Builder 来演示每个步骤的出色概述。 只是前半部分直接与 IB 打交道,后半部分更具体地处理尺寸类): : 一套很棒的自动布局高级工具(包括约束日志中的自定义名称): : 表视图 有几个关键点: 必须对 iOS 的contentView所有四个边缘都有约束才能计算正确的大小。 应将约束添加到contentView 在 iOS 8 中,使用estimatedRowHeight并确保没有设置rowHeight (使用NIB 时很困难) 文本视图 + 换行 UILabel很难调整大小,因为它们的宽度和高度可以交互。 通常,Auto Layout 系统只能在一次布局过程中计算一维。 但是对于标签,您需要做一些额外的工作才能使这项工作如您所愿。 这是最
资源推荐
资源详情
资源评论
收起资源包目录
AutoLayout-master.zip (71个子文件)
AutoLayout-master
AutoLayoutDemo
MyPlayground.playground
section-1.swift 173B
contents.xcplayground 247B
timeline.xctimeline 120B
AutoLayoutDemo
AutoLayoutExt.swift 1KB
IntrinsicViewController.swift 2KB
Info.plist 2KB
AppDelegate.swift 687B
MasterViewController.swift 401B
TextSizingViewController.swift 839B
KeyboardAvoider.swift 2KB
AutoAdjustingLabel.swift 375B
Base.lproj
Main.storyboard 74KB
Images.xcassets
GenericLogo.jpeg 91KB
LaunchImage.launchimage
Contents.json 1KB
AppIcon.appiconset
Contents.json 909B
Message.swift 2KB
MessageCell.swift 1KB
MessagesDemoTableViewController.swift 1KB
HidingViewController.swift 1KB
AmbiguousViewController.swift 861B
User.swift 1KB
AutoLayoutDemo-Bridging-Header.h 415B
KeyboardHidingViewController.swift 929B
AutoLayoutDemo.xcworkspace
contents.xcworkspacedata 312B
AutoLayoutDemo.xcodeproj
project.xcworkspace
contents.xcworkspacedata 159B
xcuserdata
shepting.xcuserdatad
UserInterfaceState.xcuserstate 18KB
xcuserdata
shepting.xcuserdatad
xcschemes
AutoLayoutDemo.xcscheme 5KB
project.pbxproj 33KB
Pods
Target Support Files
Pods-AutoLayoutDemo-DCIntrospect-ARC
Pods-AutoLayoutDemo-DCIntrospect-ARC.xcconfig 76B
Pods-AutoLayoutDemo-DCIntrospect-ARC-prefix.pch 92B
Pods-AutoLayoutDemo-DCIntrospect-ARC-dummy.m 176B
Pods-AutoLayoutDemo-DCIntrospect-ARC-Private.xcconfig 385B
Pods-AutoLayoutDemo
Pods-AutoLayoutDemo.release.xcconfig 327B
Pods-AutoLayoutDemo-dummy.m 142B
Pods-AutoLayoutDemo-environment.h 510B
Pods-AutoLayoutDemo-acknowledgements.plist 2KB
Pods-AutoLayoutDemo-resources.sh 3KB
Pods-AutoLayoutDemo-acknowledgements.markdown 1KB
Pods-AutoLayoutDemo.debug.xcconfig 392B
DCIntrospect-ARC
LICENSE 1KB
README.md 5KB
DCIntrospect-ARC
UIView+DCAdditions.h 221B
DCFrameView.m 10KB
DCCrossHairView.m 906B
DCStatusBarOverlay.h 612B
DCFrameView.h 1KB
DCStatusBarOverlay.m 4KB
DCIntrospect.h 5KB
DCCrossHairView.h 226B
UIView+DCAdditions.m 938B
DCIntrospectSettings.h 4KB
DCIntrospect.m 68KB
DCTextView.h 2KB
DCTextView.m 14KB
Headers
Public
DCIntrospect-ARC
UIView+DCAdditions.h 221B
DCStatusBarOverlay.h 612B
DCFrameView.h 1KB
DCIntrospect.h 5KB
DCCrossHairView.h 226B
DCIntrospectSettings.h 4KB
DCTextView.h 2KB
Pods.xcodeproj
project.pbxproj 36KB
ExperimentalViews
ExperimentalViews.h 585B
DemoView.swift 676B
Info.plist 819B
PaddedView.swift 1KB
Podfile 186B
.gitmodules 0B
LICENSE 1KB
README.md 2KB
.gitignore 204B
共 71 条
- 1
资源评论
每天痛苦与更好的
- 粉丝: 32
- 资源: 4536
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功