07 2014 档案

摘要:一、代码布局一键规范1、快速打开(Command + Shift + O)CTCardCell.m,记得进入Dev Mode(Command .)2、看下 CTCardCell.m 顶部凌乱的属性列表@property(weak,nonatomic)IBOutletUILabel*locationL... 阅读全文
posted @ 2014-07-31 15:43 燕羽天空 阅读(296) 评论(0) 推荐(0)
摘要:路径可以修改build Settings的other linker flags 加入:-force_load$(SRCROOT)/xxx.a 阅读全文
posted @ 2014-07-30 18:56 燕羽天空 阅读(136) 评论(0) 推荐(0)
摘要:一、添加SystemConfiguration和MobileCoreServices 框架二、下载AFNetworking资源包https://github.com/AFNetworking/AFNetworking三、在工程的Supporting File群组中打开预编译头文件XXX-Prefix... 阅读全文
posted @ 2014-07-28 15:23 燕羽天空 阅读(493) 评论(0) 推荐(0)
摘要:一、根据日期获得周- (NSString*)getInforFromTime:(NSString*)time{ if (time.length == 0) { return @""; } NSString* winInfor = @""; NSDateFormatter * dateF... 阅读全文
posted @ 2014-07-25 14:36 燕羽天空 阅读(126) 评论(0) 推荐(0)
摘要:@literals(简写)在xcode4.4以前NSNumber所有的[NSNumber numberWith…:]方法都可以简写了:● [NSNumber numberWithChar:‘X’]简写为 @‘X’;● [NSNumber numberWithInt:12345] 简写为 @12345... 阅读全文
posted @ 2014-07-25 14:19 燕羽天空 阅读(646) 评论(0) 推荐(0)
摘要:(原文:http://www.cnblogs.com/sell/archive/2013/02/16/2913341.html)1. Terms and conditions(法律与条款)1.1As a developer of applications for the App Store you ... 阅读全文
posted @ 2014-07-25 11:44 燕羽天空 阅读(281) 评论(0) 推荐(0)
摘要:APNS是ApplePushNotificationService(ApplePush服务器)的缩写,是苹果的服务器。上图可以分为三个阶段。第一阶段:Push服务器应用程序把要发送的消息、目的iPhone的标识打包,发给APNS。第二阶段:APNS在自身的已注册Push服务的iPhone列表中,查找... 阅读全文
posted @ 2014-07-25 11:11 燕羽天空 阅读(493) 评论(0) 推荐(0)
摘要://添加所有的手势-(void)addGestureRecognizerToView:(UIView*)view{//旋转手势UIRotationGestureRecognizer*rotationGestureRecognizer=[[UIRotationGestureRecognizerallo... 阅读全文
posted @ 2014-07-10 18:18 燕羽天空 阅读(320) 评论(0) 推荐(0)
摘要:从上至下依次为:CCLabelTTF阴影效果、CCLabelTTF描边和UILabel描边。CCLabelTTF阴影:其实现并不是简简单单添加的两层文字加上一点偏移。CCLabelFX *label1 = [CCLabelFX labelWithString:@"Hello World" fontN... 阅读全文
posted @ 2014-07-10 17:20 燕羽天空 阅读(1234) 评论(0) 推荐(0)