会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
风过无痕CL
上一页
1
2
3
2016年3月15日
UIImageView组件
摘要: UIImageView组件专门用来显示图片内容的 UIImageView * imageView = [[UIImageView alloc] init]; [self.view addSubview:imageView]; imageView.frame = self.vi
阅读全文
posted @ 2016-03-15 20:35 风过无痕CL
阅读(170)
评论(0)
推荐(0)
常见的动画效果
摘要: UIViewAnimationOptionTransitionFlipFromLeft 向左旋转 UIViewAnimationOptionTransitionCurlUp 翻页效果 UIViewAnimationOptionShowHideTransitionViews 是的Fr
阅读全文
posted @ 2016-03-15 20:26 风过无痕CL
阅读(217)
评论(0)
推荐(0)
UIButton组件
摘要: 专门用来处理用户的点击交互事件的 1.创建UIButton组件 UIButton * btn = [[UIButton alloc] init]; 2.建立父子关系 [self.window addSubview:btn]; 3.设置正确的Frame值
阅读全文
posted @ 2016-03-15 20:18 风过无痕CL
阅读(135)
评论(0)
推荐(0)
九宫格
摘要: CGFloat bookViewW = 100; CGFloat bookViewH = 140; //(屏幕的宽度 - 一个小块的宽度 * 总的列数) / (总的列数 + 1) int totalColum = 3; int totalRow = 4; &
阅读全文
posted @ 2016-03-15 20:08 风过无痕CL
阅读(131)
评论(0)
推荐(0)
window对象的创建
摘要: 1.创建window对象 UIWindow * windown = [[UIWindow alloc] init]; 2.要在程序主页面想显示出来window对象 [windown makeKeyAndVisible]; 3.设置背景颜色 UIColor 专门用来创建R
阅读全文
posted @ 2016-03-15 20:03 风过无痕CL
阅读(373)
评论(0)
推荐(0)
UILabel的属性及方法
摘要: 1.文本标签,是专门用来显示文字内容的组件 UILabel * label = [[UILabel alloc] initWithFrame:CGRectMake(0, 100, 250, 80)]; 2.一个组件,如果想要正确的显示在屏幕上,要具备什么条件
阅读全文
posted @ 2016-03-15 19:59 风过无痕CL
阅读(162)
评论(0)
推荐(0)
上一页
1
2
3
导航
博客园
首页
新随笔
联系
订阅
管理
公告