![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
IOS基础
u010120090
这个作者很懒,什么都没留下…
展开
-
IOS常用宏定义
1.获取屏幕宽度与高度 #define SCREEN_WIDTH [UIScreen mainScreen].bounds.size.width #define SCREENH_HEIGHT [UIScreen mainScreen].bounds.size.height 2.获取通知中心 #define LRNotificationCenter [NSNotificationCente转载 2016-07-04 21:27:05 · 218 阅读 · 0 评论 -
UIButton详解
//这里创建一个圆角矩形的按钮 UIButton *button1 = [UIButton buttonWithType:UIButtonTypeRoundedRect]; // 能够定义的button类型有以下6种, // typedef enum { // UIButtonTypeCustom = 0, 自定义风格 // UIButtonTypeRoundedRect, 圆角矩形转载 2016-07-05 08:57:31 · 201 阅读 · 0 评论 -
UITableView详解
概述 在iOS开发中UITableView可以说是使用最广泛的控件,我们平时使用的软件中到处都可以看到它的影子,类似于微信、QQ、新浪微博等软件基本上随处都是UITableView。当然它的广泛使用自然离不开它强大的功能,今天这篇文章将针对UITableView重点展开讨论。今天的主要内容包括: 基本介绍数据源代理性能优化UITableViewCell常用操作UITableViewCo转载 2016-07-05 09:02:38 · 216 阅读 · 0 评论