• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






&清风&

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 5 下一页

2016年12月17日

将mac上的项目上传到oschina,进行代码托管。
摘要: 1.首先看一下自己是否有公钥, 在 我的资料-->SSH公钥 查看,如果没有,添加自己的SSH 公钥: SSH key 可以让你在你的电脑和 Git @ OSC 之间建立安全的加密连接。 2.如果没有公钥。你可以按如下命令来生成sshkey $ ssh-keygen -t rsa -C "xxxxx 阅读全文
posted @ 2016-12-17 11:27 &清风& 阅读(160) 评论(0) 推荐(0)
 

2016年12月15日

iOS 利用for循环创建九宫格
摘要: 1 // 利用for循环创建九宫格 2 - (void)createScratchableLatex{ 3 4 // 总列数 5 int totalColumns = 3; 6 // 每一格的尺寸 7 CGFloat cellW = (self.frame.size.width-40)/totalColumns; 8 CGFl... 阅读全文
posted @ 2016-12-15 11:27 &清风& 阅读(293) 评论(0) 推荐(0)
 
iOS 判断字符串是否为空
摘要: 写一个字符串的扩展,实现判断字符串是否为空- (BOOL) isBlankString { if ([self isEqualToString:@"(null)"]) { return YES; } if ([self isEqualToString:@""]) { return YES; } ... 阅读全文
posted @ 2016-12-15 09:32 &清风& 阅读(140) 评论(0) 推荐(0)
 

2016年11月10日

应用内的控件显示汉语,如复制粘贴
摘要: 阅读全文
posted @ 2016-11-10 14:13 &清风& 阅读(107) 评论(0) 推荐(0)
 

2016年10月31日

app跳转openURL,兼容方法
摘要: - (void)openScheme:(NSString *)scheme { UIApplication *application = [UIApplication sharedApplication]; NSURL *URL = [NSURL URLWithString:scheme]; if  阅读全文
posted @ 2016-10-31 08:46 &清风& 阅读(316) 评论(0) 推荐(0)
 

2016年8月17日

信鸽 推送
摘要: 配置所需的推送证书。参考 http://www.apblog.cn/blog/2013/09/14/ios-push-notification-prepare/。 导出.p12证书 将导出的证书转pem格式 参考 http://weibo.com/ttarticle/p/show?id=230940 阅读全文
posted @ 2016-08-17 15:19 &清风& 阅读(118) 评论(0) 推荐(0)
 

2016年7月19日

textview 弹出键盘上面添加完成按钮,并设置输入内容的格式。
摘要: - (void)setContentView{ self.contentTextView = [[UITextView alloc]initWithFrame:CGRectMake(11, 70, ScreenWidth-22, ScreenHeight-70)]; self.contentText 阅读全文
posted @ 2016-07-19 10:35 &清风& 阅读(623) 评论(0) 推荐(0)
 

2016年4月14日

项目中可能用到的demo
摘要: 1. 轮播图 https://github.com/codingZero/XRCarouselView 2. 图表 https://github.com/Zirkfied/ZFChart 阅读全文
posted @ 2016-04-14 17:09 &清风& 阅读(145) 评论(0) 推荐(0)
 

2016年3月25日

通过今天的日期,获得本周,本月,上月,本年的开始结束日期
摘要: //获取本周 本月 本年的 开始结束日期 - (void)getMonthBeginAndEndWith:(NSDate *)newDate{ if (newDate == nil) { newDate = [NSDate date]; } double interval = 0; NSDate * 阅读全文
posted @ 2016-03-25 19:40 &清风& 阅读(494) 评论(0) 推荐(0)
 

2016年3月19日

改变状态栏的颜色
摘要: iOS7默认状态栏文字颜色为黑色 修改为白色的方法: 1. 在Info.plist中设置UIViewControllerBasedStatusBarAppearance 为NO 2. 在需要改变状态栏颜色的ViewController中在ViewDidLoad方法中增加: [UIApplicatio 阅读全文
posted @ 2016-03-19 09:00 &清风& 阅读(190) 评论(0) 推荐(0)
 
上一页 1 2 3 4 5 下一页