随笔分类 - iOS
iOS开发总结
摘要:Topics 官方文档资料分类 Audio & Video 音视频 Cocoa Touch Layer 可触摸层 Core OS Layer 核心操作系统层 Core Services Layer 核心服务层 Data Management 数据管理 General Graphics & Anima
阅读全文
摘要:https://github.com/garfieldc/NYT-Objective-C-Style-Guide-CN https://github.com/raywenderlich/objective-c-style-guide https://github.com/raywenderlich/
阅读全文
摘要:1、iOS开发环境 1.1、开发环境(XCode + MAC OS X) 1.1.1、xcode 1.1.2、Mac OS X: 1.2、账号、证书、上架等 2、语言学习 2.1、Objective-C 2.2、Swift 3、iOS开发 3.1、操作系统(参考书籍《深入解析Mac OS X & i
阅读全文
摘要:这时候就会影响了我们的界面。我们可以有两种的解决办法,如果你的tabbar高度是在49px而背景图没有超过这个高度的话可以使用[self.tabBar setClipsToBounds:YES];如果我们的高度是高于49的话,可以使用if ([[[UIDevice currentDevice] sy...
阅读全文
摘要:在浏览器中可以通过JS代码打开QQ并弹出聊天界面,一般作为客服QQ使用。而在移动端腾讯貌似没有公布提供类似API,但是却可以使用schema模式来启动手机QQ。以下为具体代码:Android:String url="mqqwpa://im/chat?chat_type=wpa&uin=123456"...
阅读全文
摘要:Grand Central Dispatch (GCD)是Apple开发的一个多核编程的解决方法dispatch queue分成以下三种:1)运行在主线程的Main queue,通过dispatch_get_main_queue获取。/*!* @function dispatch_get_main_...
阅读全文
摘要:Reveal集成指南http://support.revealapp.com/kb/getting-started/reveal集成Reveal:不修改您的Xcode工程并加载Revealhttp://support.revealapp.com/kb/getting-started/revealxc...
阅读全文
摘要:自定义titleViewUITextField *textField = [[UITextField alloc] initWithFrame:CGRectMake(0, 0, 150, 30)];[textField setBorderStyle:UITextBorderStyleRoundedR...
阅读全文
摘要:注释1、/**/多行注释, 也可以用于多个方法、字段的标注。2、//单行注释,单个字段或方法的说明。
阅读全文
摘要:类名转换成字符串NSClassFromString(@"class")字符串转换成类NSStringFromClass([self class]);实例id VC = [[NSClassFromString([self.sourceArray objectAtIndex:indexPath.row]...
阅读全文
摘要:1、[tableView dequeueReusableCellWithIdentifier:reuseIdentifier]和[tableView dequeueReusableCellWithIdentifier:reuseIdentifier forIndexPath:indexPath]区别...
阅读全文
摘要:代码[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://itunes.apple.com/cn/app/miao-miao-xi-yi/id1031061160?mt=8"]];应用的连接地址在itune...
阅读全文
摘要:self.tableView.tableFooterView = [[UIView alloc]init];
阅读全文
摘要:参考:http://blog.devtang.com/blog/2014/05/25/use-cocoapod-to-manage-ios-lib-dependency/ 安装 如果你的 gem 太老,可能也会有问题,可以尝试用如下命令升级 gem: 另外,ruby 的软件源 https://rub
阅读全文
摘要:http://www.cnblogs.com/fengtengfei/p/4831011.html
阅读全文
摘要:CoreBluetoothhttps://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CoreBluetooth_Framework/
阅读全文
摘要:Google后查证,iOS9引入了新特性App Transport Security (ATS)。详情:App Transport Security (ATS)新特性要求App内访问的网络必须使用HTTPS协议。解决办法在Info.plist中添加NSAppTransportSecurity类型Di...
阅读全文
摘要:http://mobile.51cto.com/iphone-463665.htm
阅读全文
摘要:一个加速度数据类,x、y、z三个方向上加速度数据。其中x(y、z)是以g(重力加速度)为单位。timestamp?
阅读全文
浙公网安备 33010602011771号