storyboard的调整属性

来源:互联网 发布:地震能被预测吗 知乎 编辑:程序博客网 时间:2024/05/16 14:21
Secure Text Entry暗文

Clear Button Appears while editing 编辑时出现大删除

Enabled属性, 表示按钮可用

Disabled Adjusts Image 不可用的时候不要调整图片

User Interaction Enabled 用户能不能进行交互

Mide Aspecified 自适应
Made Scale To Fill 拉伸

Lines 0 表示不限制你换行
Lines 1  表示1行

Custom Class

Class 所属类

Button:

Type System 默认

Type Custom 点击后无阴影

State Config Default 正常

State Config Highlighted 高亮

Title 名字

Font 文字大小

Text Color 文字颜色

image 图片

Background 背景图片

Inset 内边距 left top bottom right  内边距不会控制背景的,内边距会影响Image


xib

Status Bar None状态栏关闭

Size FreeForm 自由格局

重写set方法,一定要先给属性赋值
重写init方法,必须if(self = [super init]) return self

MVC模式
M-Model 描述数据 处理数据
V - View   展示界面
C - Controller 用户交互的逻辑处理,管理View的生命周期

plist文件

info文件不以工程文件名开头,如:Info.plist

表示长按按钮会变灰色

透明度

T

表示背景颜色为透明

Pages 表示总共有多少页

Current 表示默认第几页


Current Page 当前页颜色

Tint Color 默认页颜色

UITable的2种样式

0 0
原创粉丝点击