开发日志
文章平均质量分 64
LG_刚刚好
刚刚好的一亩三分地
展开
-
第二天 iOS版本号
开源库 OnBoardhttps://github.com/mamaral/Onboard创建新文件OnBoardViewController.{hm}。根据官方Demo中的MyOnboardingViewController.{hm}完成OnBoardViewController。将AppDelegate.m中的实现改为StoryBoard形式。编辑 - (void)se转载 2016-06-03 09:13:11 · 554 阅读 · 0 评论 -
第三天 iOS自动更新
开源库https://github.com/nicklockwood/iVersion添加Configurations添加 宏定义编写自动更新代码编辑AppDelegate.m#pragma mark - iVersion#ifdef GITHUB+ (void)initialize { //configure iVersion. Thes转载 2016-06-03 09:18:04 · 1013 阅读 · 0 评论 -
第四天 结队开发之多storyboard
开源库https://github.com/rob-brown/RBStoryboardLink原文 http://www.ifun.cc/blog/2014/02/23/jie-dui-kai-fa-zhi-duo-storyboard/Storyboard的出现,让开发变得像讲故事一样,UI间的关系流程也一目了然。它其实是xib的升级版本,将多个xib统一管理了。任何事转载 2016-06-03 09:19:29 · 441 阅读 · 0 评论 -
第五天 iOS文本国际化
文本国际化一、获取系统所支持的国际化信息在国际化之前,你可以在iphone中的设置->通用->多语言环境->语言中来查看你的iphone支持哪些语言,当然也可以写一段代码测试一下你的iphone都支持哪些语言.测试代码如下:NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];NSArray转载 2016-06-03 09:20:38 · 743 阅读 · 0 评论 -
第六天 iOS中用Storyboard modal UINavigationController不能dismiss的问题
原文:http://www.cocoachina.com/bbs/read.php?tid=230841自己自定义一个Dismiss的UIStoryboardSegue类#import "Dismiss.h"@implementation Dismiss- (void)perform{ UIViewController *sourceViewController = se转载 2016-06-03 09:22:15 · 891 阅读 · 0 评论 -
第一天 cocoapods
CocoaPods - Official Sitehttps://cocoapods.orgcocoapods install and update$ sudo gem update --system // 先更新gem,国内需要切换源$ gem sources --remove https://rubygems.org/$ gem sources -a http://ruby转载 2016-06-03 09:10:42 · 450 阅读 · 0 评论 -
第七天 抽屉菜单(性能优化版)
开源库 RESideMenuhttps://github.com/romaonthego/RESideMenu使用CodeIn your AppDelegate’s - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launch转载 2016-06-03 09:25:00 · 1680 阅读 · 0 评论 -
第九天 iOS 绘图
开源库 ios-chartshttps://github.com/danielgindi/ios-charts https://github.com/PhilJay/MPAndroidChart使用iOS 8 以上可直接用pods安装。$ pod search charts-> CSChartsView (0.1.0)A light weight lin转载 2016-06-04 20:08:52 · 844 阅读 · 0 评论 -
iOS高效调试
写代码难免出现bug。 储备些调试技能绝对能够提高你的工作效率,让bug无所遁形。下面就和大家分享一些我在工作中常用的iOS调试小技能。1. 打印最简单,基础的调试方法就是打印日志了。贴出两段封装好的日志打印代码://swift版func DLog(message: T, file: String = #file, method: String = #function, li原创 2016-09-21 10:33:36 · 981 阅读 · 0 评论