会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
邢晓晓
博客园
首页
新随笔
联系
管理
订阅
2019年1月17日
应用程序过程、控制器生命周期以及main函数之前的过程
摘要: 应用程序的生命周期1.程序入口进入main函数,设置Appdelegate为代理函数UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]))2.程序加载完成进入- (BOOL)application:(UIA
阅读全文
posted @ 2019-01-17 17:16 邢晓晓
阅读(305)
评论(0)
推荐(0)
2019年1月16日
iOS 重写父类方法
摘要: 1.iOS 重写父类方法子类中重写父类中的方法,如果不调用父类中的方法,那么就不执行父类中的防范,就像新写了个名字一样的方法把父类中的方法覆盖掉了一样,如果调用,就会调用父类方法2. iOS 重写父类继承代理的方法(自定义代理) 先回调父类代理的方法,随后在进入子类的代理方法 4.OS 重写父类继承
阅读全文
posted @ 2019-01-16 17:53 邢晓晓
阅读(3458)
评论(0)
推荐(0)
2019年1月15日
Cocoapods的相关总结
摘要: 1.Cocoapods安装出现错误 1.1 不支持ruby2.2以下的版本,可以装多个ruby版本,但是得设置为默认的 1.2 镜像文件被屏蔽,需要移除之后,再重新设置 2.查询主要命令 2.1 pod install 安装 2.2 查询是否支持第三方库的命令 pod search AFNetwor
阅读全文
posted @ 2019-01-15 18:25 邢晓晓
阅读(111)
评论(0)
推荐(0)
2019年1月9日
AppStore被拒整理
摘要: 1.使用了私有API,就是项目中使用prefs:root以及App-Prefs:root的接口来做app内部和系统设置的跳转了。现在做app系统设置跳转,官方的只能使用UIApplicationOpenSettingURLString.一些网站上说使用prefs:root配合在info.plist上
阅读全文
posted @ 2019-01-09 17:38 邢晓晓
阅读(167)
评论(0)
推荐(0)
2019年1月8日
dispatch_source_create创建定时器和UIWindow创建类似处
摘要: dispatch_source_create创建定时器 //定时器 dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); // 创建定时器,本身也是个oc对象,必须设置为全局,不
阅读全文
posted @ 2019-01-08 11:33 邢晓晓
阅读(1348)
评论(0)
推荐(0)
2019年1月7日
UIProgressView的使用
摘要: 最近使用UIProgressView这个控件,设置了frame UIProgressView *progressView = [[UIProgressView alloc] initWithFrame:CGRectMake(0, progerssY, SCREEN_WIDTH, 1)]; progr
阅读全文
posted @ 2019-01-07 18:16 邢晓晓
阅读(1980)
评论(0)
推荐(0)
2018年3月7日
iOS系统自带弹框宏定义
摘要: #define Alert(_S_, ...) [[[UIAlertView alloc] initWithTitle:@"提示" message:[NSString stringWithFormat:(_S_), ##__VA_ARGS__] delegate:nil cancelButtonTi
阅读全文
posted @ 2018-03-07 09:56 邢晓晓
阅读(232)
评论(0)
推荐(0)
iOS中UISearchBar改变系统默认实现方法
摘要: _searchBar = [[UISearchBar alloc] init]; _searchBar.backgroundColor = [UIColor clearColor]; _searchBar.showsCancelButton = NO; _searchBar.tintColor =
阅读全文
posted @ 2018-03-07 09:53 邢晓晓
阅读(138)
评论(0)
推荐(0)
iOS根据模型获取模型字段以及字段的类型(用于创建数据库的表)
摘要: #pragma mark - base method/** * 获取该类的所有属性 */+ (NSDictionary *)getPropertys{ NSMutableArray *proNames = [NSMutableArray array]; NSMutableArray *proType
阅读全文
posted @ 2018-03-07 09:50 邢晓晓
阅读(1042)
评论(0)
推荐(0)
iOS创建新的window注意
摘要: 创建window设置为全局变量,局部的已创建就会被释放掉UIWindow *window=[[UIWindow alloc]initWithFrame:[[UIScreen mainScreen]bounds]]; window.backgroundColor=[UIColor greenColor
阅读全文
posted @ 2018-03-07 09:47 邢晓晓
阅读(587)
评论(0)
推荐(0)
下一页
公告