会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
火星的蝈蝈
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2015年10月9日
Block
摘要: 1、用法1 传值B页面向A页面反向传值在B.h中 声明一个block属性@property(nonatomic,copy)void (^myBlock)(NSString *t);在b.m中- (IBAction)button:(id)sender { self.myBlock(@"fdslfjds...
阅读全文
posted @ 2015-10-09 08:50 火星的蝈蝈
阅读(169)
评论(0)
推荐(0)
编辑
2015年9月23日
使用第三方软件打开文件的情况
摘要: http://blog.sina.com.cn/s/blog_6d64a8df01015m6w.html
阅读全文
posted @ 2015-09-23 11:46 火星的蝈蝈
阅读(163)
评论(0)
推荐(0)
编辑
2015年9月18日
推送保存消息
摘要: 远程推送,在前台和后台时进入时 方法为 -(void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo{在完全退出时走得方法为- (BOOL)applicati...
阅读全文
posted @ 2015-09-18 11:37 火星的蝈蝈
阅读(166)
评论(0)
推荐(0)
编辑
2015年9月14日
NSURL下载
摘要: 参考文章 http://blog.csdn.net/xn4545945/article/details/37919697
阅读全文
posted @ 2015-09-14 15:19 火星的蝈蝈
阅读(119)
评论(0)
推荐(0)
编辑
2015年8月28日
json解析后的数组进行排序
摘要: NSSortDescriptor *sortDescriptor; sortDescriptor = [[NSSortDescriptor alloc]initWithKey:@"dtDateReal" ascending:NO]...
阅读全文
posted @ 2015-08-28 16:41 火星的蝈蝈
阅读(408)
评论(0)
推荐(0)
编辑
2015年8月27日
用sb来推出页面
摘要: UIStoryboard*sb=[UIStoryboard storyboardWithName:@"Main" bundle:nil]; LoginVC*loginVC=[sb instantiateViewControllerWithIdentifier:@"Log...
阅读全文
posted @ 2015-08-27 14:39 火星的蝈蝈
阅读(142)
评论(0)
推荐(0)
编辑
推送
摘要: http://blog.csdn.net/dalehui/article/details/16807157#
阅读全文
posted @ 2015-08-27 11:16 火星的蝈蝈
阅读(107)
评论(0)
推荐(0)
编辑
2015年8月26日
label宽度自适应
摘要: - (void)initUserInterface{ UILabel *label = [[UILabel alloc]init]; label.numberOfLines = 0; // 需要把显示行数设置成无限制 label.font = [UIFont systemFontO...
阅读全文
posted @ 2015-08-26 16:36 火星的蝈蝈
阅读(929)
评论(0)
推荐(0)
编辑
2015年8月25日
很赞的单击动画效果
摘要: UIView*view=sender.view; [UIView animateWithDuration:0.1f animations:^{ view.transform=CGAffineTransformMakeScale(0.8, 0.8); } completion:^(BOOL fini...
阅读全文
posted @ 2015-08-25 16:38 火星的蝈蝈
阅读(135)
评论(0)
推荐(0)
编辑
2015年8月11日
归档
摘要: 1、将要归档的对象遵守协议@interface Account : NSObject2、在m方法中实现2个方法//从文件中解析对象的时候调用- (id)initWithCoder:(NSCoder *)decoder{ self = [super init]; if (self)...
阅读全文
posted @ 2015-08-11 17:10 火星的蝈蝈
阅读(141)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
下一页