十一岁的加重songxing10000…… ------ 回到博主首页
摘要: 实现三个代理方法即可-(NSString *)tableView:(UITableView *)tableView titleForDeleteConfirmationButtonForRowAtIndexPath:(NSIndexPath *)indexPath { return @"删除"... 阅读全文
posted @ 2015-06-15 12:03 songxing10000 阅读(4710) 评论(0) 推荐(0) 编辑
摘要: 关于Xcode7 Beta报错 simulator runtime is not available.Unable to open liblaunch_sim.dylib Try reinstalling Xcode or the simulator runtime.解决办法一、找到目标文件/App... 阅读全文
posted @ 2015-06-13 22:25 songxing10000 阅读(3557) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-06-09 12:46 songxing10000 阅读(477) 评论(0) 推荐(0) 编辑
摘要: - (void)setUpGroup2{ ILGroupItem *group = [[ILGroupItem alloc] init]; // 结束时间 ILSettingItem *endTime = [ILSettingItem itemWithImage:nil title... 阅读全文
posted @ 2015-05-25 00:51 songxing10000 阅读(530) 评论(0) 推荐(0) 编辑
摘要: 使用前提调用某个对象的,一个无参数的方法如[self.view resignFirstResponder]注意[self.view endEdting:YES]就不行,要是无参数的 阅读全文
posted @ 2015-05-24 22:34 songxing10000 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 虽然xib内部启用了自动布局,但是当xib放入外界,xib自身的autoresizing是存在的 阅读全文
posted @ 2015-05-24 22:31 songxing10000 阅读(142) 评论(0) 推荐(0) 编辑
摘要: #define SXLog(FORMAT, ...) fprintf(stderr,"file --\t%s\nline --\t%d\nmethd --\t%s\noutput --\t\n\n%s\n",[[[NSString stringWithUTF8String:__FILE__... 阅读全文
posted @ 2015-05-24 22:29 songxing10000 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 0、需要终端生成的aps.cer和aps.p12文件。1、把.cer的SSL证书转换为.pem文件,执行命令:openssl x509 -in aps.cer -inform der -out PushChatCert.pem2、把私钥aps.p12文件转化为.pem文件:openssl pkcs1... 阅读全文
posted @ 2015-05-23 22:06 songxing10000 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 按 Ctrl+` 调出console粘贴以下代码到底部命令行并回车:import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp) if not... 阅读全文
posted @ 2015-05-23 21:47 songxing10000 阅读(274) 评论(0) 推荐(0) 编辑
摘要: - (BOOL) isEmail { NSString *emailRegEx = @"(?:[a-z0-9!#$%\\&'*+/=?\\^_`{|}~-]+(?:\\.[a-z0-9!#$%\\&'*+/=?\\^_`{|}" @"~-]+)*|\"(?:[\\x01-\... 阅读全文
posted @ 2015-05-23 20:55 songxing10000 阅读(150) 评论(0) 推荐(0) 编辑