上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 19 下一页

2014年5月20日

IOS PUSH

摘要: 第一阶段:.net应用程序把要发送的消息、目的iPhone的标识打包,发给APNS。 第二阶段:APNS在自身的已注册Push服务的iPhone列表中,查找有相应标识的iPhone,并把消息发到iPhone。 第三阶段:iPhone把发来的消息传递给相应的应用程序, 并且按照设定弹出Pus... 阅读全文

posted @ 2014-05-20 14:01 景树园 阅读(332) 评论(0) 推荐(0)

2014年5月19日

KVO KVC

摘要: @interface FoodData : NSObject{ NSString * foodName; float foodPrice; }@end/////////////////////////////////////////////////////////////////////////... 阅读全文

posted @ 2014-05-19 21:35 景树园 阅读(221) 评论(0) 推荐(0)

IOS NSNotificationCenter 通知的使用

摘要: 1.注册通知[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(notify) name:@"myNotify" object:nil];-(void)notify{ NSLog(@"notify");}... 阅读全文

posted @ 2014-05-19 19:59 景树园 阅读(194) 评论(0) 推荐(0)

2014年5月18日

IOS UIActivityIndicatorView 等待指示器

摘要: 自己做的一个 等待指示器 #import @interface RockIndicatorView : UIView{ }@property(nonatomic,strong) UIView * indBgView;@property(nonatomic,strong) UIActivityIndi... 阅读全文

posted @ 2014-05-18 23:17 景树园 阅读(298) 评论(0) 推荐(0)

UILabel 自适应大小

摘要: NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStylealloc]init]; paragraphStyle.lineBreakMode = NSLineBreakByWordWrapping; NSDict... 阅读全文

posted @ 2014-05-18 23:15 景树园 阅读(255) 评论(0) 推荐(0)

CGAffineTransformScale

摘要: [UIViewbeginAnimations:nilcontext:nil]; [UIViewsetAnimationDuration:0.5]; _imgView.transform = CGAffineTransformScale(CGAffineTransformIdentity, 0.... 阅读全文

posted @ 2014-05-18 10:13 景树园 阅读(455) 评论(0) 推荐(0)

2014年5月8日

CAKeyframeAnimation

摘要: 之所以叫做关键帧动画是因为,这个类可以实现,某一属性按照一串的数值进行动画,就好像制作动画的时候一帧一帧的制作一样。一般使用的时候 首先通过animationWithKeyPath方法 创建一个CAKeyframeAnimation实例,CAKeyframeAnimation 的一些比较重要的属性1... 阅读全文

posted @ 2014-05-08 21:51 景树园 阅读(838) 评论(0) 推荐(0)

CABasicAnimation

摘要: 几个可以用来实现热门APP应用PATH中menu效果的几个方法+(CABasicAnimation*)opacityForever_Animation:(float)time//永久闪烁的动画{ CABasicAnimation*animation=[CABasicAnimationanimatio... 阅读全文

posted @ 2014-05-08 15:21 景树园 阅读(386) 评论(0) 推荐(0)

IOS 动画

摘要: ////////////////////////////////////////////////////////////////////////////////////////////最普通动画://开始动画[UIView beginAnimations:nil context:nil];//设定动... 阅读全文

posted @ 2014-05-08 10:46 景树园 阅读(494) 评论(0) 推荐(0)

2014年5月6日

xcode 怎么样在发布release版本的时候 不输出log

摘要: 我们平时在开发应用的时候,经常会用到 NSLog 来调试我们的程序,而随着项目越来越大,这些用于调试的日志输出就会变得很难管理。 发布正式版的时候一定要屏蔽掉所有后台输出,因为这些输出还是比较消耗系统资源的。 往往到了这个时候,我们不得不去一行一行的找到 NSLog 调用,然后注释掉。 这样做在项目... 阅读全文

posted @ 2014-05-06 15:32 景树园 阅读(598) 评论(0) 推荐(0)

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 19 下一页

导航