摘要: -(void)judgeLocationServiceEnabled { if ([CLLocationManager locationServicesEnabled] && ([CLLocationManager authorizationStatus] == kCLAuthorizationSt 阅读全文
posted @ 2016-10-27 13:40 大朵的云彩 阅读(2358) 评论(0) 推荐(0) 编辑
摘要: 一、该功能是从Xcode4开始引入的。在Xcode中的位置如下图所示: 如上图,右边系统就定义很对的代码块,包括一些我们很常用的@interface 和@implementation的声明和实现。 二、自定义我们常用的代码块步骤 @property属性的定义是Cocoa程序开发中很常用的一个功能,下 阅读全文
posted @ 2016-10-27 11:56 大朵的云彩 阅读(261) 评论(0) 推荐(0) 编辑