会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
吃饭了吗
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
40
41
42
43
44
45
46
下一页
2015年11月5日
NavigationController
摘要: NavigationControllernavigationItem.title导航标题navigationItem.titleView标题图片navigationItem.leftBarButtonItem 左上角标题
阅读全文
posted @ 2015-11-05 19:58 吃饭了吗
阅读(136)
评论(0)
推荐(0)
2015年11月3日
控件悬停
摘要: #import "ViewController.h"@interface ViewController () /** 价格view */@property (nonatomic, weak) UIView *priceView;@property (weak, nonatomic) IBOutlet...
阅读全文
posted @ 2015-11-03 23:56 吃饭了吗
阅读(204)
评论(0)
推荐(0)
UIView convertRect
摘要: CGRectnewRect = [self.view.windowconvertRect:self.blueView.framefromView:self.redView];NSLog(@"%@",NSStringFromCGRect(newRect));结果:2015-11-03 19:30:37...
阅读全文
posted @ 2015-11-03 20:14 吃饭了吗
阅读(285)
评论(0)
推荐(0)
2015年10月28日
addSubview和insertSubview 区别
摘要: 子视图是以栈的方式存放的。每次addsubview时都是在最后面添加。每次在addsubview前和addsubview后可以看看[self.view.subViews count];你看看你的子视图是被添加到哪个位置了。另外[self.view addSubView:xx.view] 其实就等于[...
阅读全文
posted @ 2015-10-28 20:16 吃饭了吗
阅读(324)
评论(0)
推荐(0)
NSDate 格式化 及 互转
摘要: /* NSDateFormatter的作用 1.NSString -> NSDate 2.NSDate -> NSString */void fmt_date_to_string();void fmt_string_to_date();void fmt_string_to_date2();void ...
阅读全文
posted @ 2015-10-28 17:29 吃饭了吗
阅读(380)
评论(0)
推荐(0)
NSDate 工具
摘要: #import "NSDate+XMGExtension.h"@implementation NSDate (XMGExtension)/** * 是否为今天 */- (BOOL)isToday{ NSCalendar *calendar = [NSCalendar currentCalen...
阅读全文
posted @ 2015-10-28 16:59 吃饭了吗
阅读(236)
评论(0)
推荐(0)
UIAlertController
摘要: 专题 UIAlertController// iOS8之前 // UIAlertView // UIActionSheet; // iOS8开始 // UIAlertController == UIAlertView + UIActionSheet UIAler...
阅读全文
posted @ 2015-10-28 16:34 吃饭了吗
阅读(157)
评论(0)
推荐(0)
UIScrollView的属性总结
摘要: UIScrollView的属性总结属性 TableView作用separatorStyle分割线rowHeight行高属性作用CGPoint contentOffSet监控目前滚动的位置CGSize contentSize滚动范围的大小UIEdgeInsets contentInset视图在scro...
阅读全文
posted @ 2015-10-28 16:02 吃饭了吗
阅读(332)
评论(0)
推荐(0)
2015年10月27日
UITableView和UITableViewCell的几种样式
摘要: UITableView和UITableViewCell的几种样式转至 http://blog.csdn.net/crazyzhang1990/article/details/12503163一、系统自己的UITableView样式有两种:1.UITableViewStylePlain:Plain样式...
阅读全文
posted @ 2015-10-27 23:10 吃饭了吗
阅读(351)
评论(0)
推荐(0)
willRotateToInterfaceOrientation 屏幕旋转
摘要: /* 1.屏幕发生旋转后, 这个旋转事件会先传递给window的rootViewController(窗口的根控制器) 2.rootViewController又会将这个旋转事件传递给它的子控制器 *//** * 屏幕即将旋转的时候调用 */- (void)willRotateToInterfac...
阅读全文
posted @ 2015-10-27 19:52 吃饭了吗
阅读(973)
评论(0)
推荐(0)
上一页
1
···
40
41
42
43
44
45
46
下一页
公告