- 博客(5)
- 收藏
- 关注
原创 iOS&OS X -- Alert 提示框实现
31st,May,2016iOS&OS X – Alert 提示框实现iOS实现UIAlert Important: UIAlertView is deprecated in iOS 8. (Note that UIAlertViewDelegate is also deprecated.) To create and manage alerts in iOS 8 and later, inst
2016-05-31 17:47:18 1404
原创 Mac--NSIndexSet学习笔记from Apple Documentation
26th,May,2016 介绍 NSIndexSet继承于NSObject。 是一个不可变的存放unique unsigned integers。 初始化方式 - init - initWithIndexesInRange - initWithIndexSet + indexSet // 创建一个空的indexSet 查找indexSet中的是否包含某一index - con
2016-05-26 18:46:23 478
原创 报错"Receiver 'EntitlementEntity' type for instance message is a forward declaration"
26th,May,2016 报错信息: 解决方法: 添加头文件#import "EntitlementEntity.h" 分析: 在.h文件中有@class EntitlementEntity; 因而在.m文件中有访问到该对象具体的属性,所以应引入头文件.
2016-05-26 14:21:15 1596
原创 UIScreen,UIWindow,UIView
12th,May,2016 CGPoint {x,y} 坐标信息 CGSize {width,height} 宽度和高度 CGRect {origin,size} CGPoint和CGSize UIScreen(屏幕): 父类是NSObject, 一般用来获取屏幕大小 CGRect screenBounds = [[UIScreen mainS
2016-05-12 15:25:17 529
原创 UIView学习笔记
10th,May,2016 前言 UIView职责: (1). 绘制和动画 (2). 布局和子视图管理 (3). 事件处理 初始化方法Method to override - initWithFrame: 从代码加载视图 - initWithCoder: 从xib文件加载视图.(先调用initWithCoder,然后发送-awakeFromNib消息给nib中的每个
2016-05-10 14:54:00 971
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人