ITeye博客

re_reference的博客

re_reference · 共 63 篇文章

[置顶] ios 错误合集(updated!)

错误:dyld: Library not loaded 例子:dyld: Library not loaded: @rpath/SenTestingKit.framework/Versions/A/SenTestingKit 解决方案:[url]http://blog.sina.com.cn/s/blog_3c255a5b0101412v.html[/url]

2015-01-09 11:57 · iphone · ipad · 评论(0)

ios 开发技术

主题:xcode 6制作动态&静态库 连接:[url]http://www.cocoachina.com/ios/20141126/10322.html[/url] 主题: ios8 CLLocationManager的变化 连接:[url]http://www.cocoachina.com/bbs/read.php?tid-237203.html[/url]

2015-01-09 11:59 · iphone · 评论(0)

几个不错的xcode插件

1、代码补全插件 http://alcatraz.io 2、快速搜索 http://codepilot.cc 3、PackageMaker https://developer.apple.com/downloads/index.action?name=PackageMaker 4、补全UIImage图片的插件 https://github.com/ksuther/KSImageNamed-Xcode 5、代码map https://github.com/stefanceriu/SCXcodeMiniMap 6、文档式注释生成插件 https://github.com/onevcat/VVDo…

2014-09-11 13:33 · iphone · ipad · ipod touch · 评论(0)

xcode 插件目录

~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins

2014-09-11 13:14 · iphone · 评论(0)

GCD 倒计时

-(void)startTime{ __block int timeout=30; //倒计时时间 dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); dispatch_source_t _timer = dispatch_source_create(DISPATCH_SOURCE_TYPE_TIMER, 0, 0,queue); dispatch_source_set_timer(_timer,dispatch_walltime(NULL, 0),1.0*NSEC_P…

2014-08-19 10:00 · iphone · ipad · ipod touch · 评论(0)

Eventkit使用案例

- (void)createNewEventAndNewReminder { EKEventStore *es = [[ekeventstore alloc] init]; NSDate *now = [nsdate date]; //事件 [es requestaccesstoentitytype:ekentitytypeevent completion:^(bool granted, nserror *error) { if (granted) { ekalarm *alarm = [EKAlarm alarmWithAbsoluteDate:[now dateByAddingTimeI…

2014-02-15 16:06 · iphone · ipad · ipod touch · 评论(0)

ios 应用内跳转到系统设置界面的最好写法

如下是跳转到系统设置诸多界面的url prefs:root=General&path=About prefs:root=General&path=ACCESSIBILITY prefs:root=AIRPLANE_MODE prefs:root=General&path=AUTOLOCK prefs:root=General&path=USAGE/CELLULAR_USAGE prefs:root=Brightness prefs:root=General&path=Bluetooth prefs:root=General&path=DATE_AND_TIME prefs:root=FACE…

2013-04-24 11:43 · iphone · ipad · ipod touch · 评论(0)

beeframework "___gxx_personality_sj0", referenced from:错误解决

到Bee_Precompile.h 找到如下一行: #define __BEE_UNITTEST__ (1) // 是否UnitTest 关闭它. #define __BEE_UNITTEST__ (0) // 是否UnitTest 解决.

2013-04-17 13:50 · iphone · ipad · ipod touch · beeframework · bee-framework · 评论(0)

pod update/install git pull 443错误解决

自从12306.cn抢票插件搞爆github服务器以后,我就再也不能pod update了。于是有了下面的方法。 向/private/etc/hosts 中加入如下代码 #github 207.97.227.239 github.com www.github.com 207.97.227.252 nodeload.github.com 207.97.227.243 raw.github.com 204.232.175.78 documentcloud.github.com

2013-01-22 18:38 · iphone · ipad · ipod touch · 评论(0)

[转]如何编写一个CocoaPods的spec文件

本文转自 http://ishalou.com/blog/2012/10/16/how-to-create-a-cocoapods-spec-file/ ,版权归作者所有。 CocoaPods命令介绍 在<上一篇文章>中,已经介绍过CocoaPods的几条基本命令。 pod setup 用于初始化本地第三方库的Spec描述文件,所有的spec文件存都存放在 ~/.cocoapods **目录中。 pod install 用来安装或删除Podfile文件声明中的第三方依赖库。下面继续介绍其它一些命令。 $ pod list # 列出所有可用的第三方库 $ pod search query 搜索…

2012-12-27 16:25 · iphone · ipad · ipod touch · 评论(0)

[转]How to use NSAttributedString in iOS 6

本文转自: http://soulwithmobiletechnology.blogspot.com/2012/07/how-to-use-nsattributedstring-in-ios-6.html ,版权归作者所有。 infoString=@"This is an example of Attributed String"; NSMutableAttributedString *attString=[[nsmutableattributedstring alloc] initWithString:infoString]; NSInteger _stringLength=[infost…

2012-12-25 16:09 · iphone · ipad · ipod touch · 评论(0)

mac上的小工具(updated)

mac上显示隐藏文件的命令,如果要隐藏则 -bool false defaults write com.apple.finder AppleShowAllFiles -bool true

2012-12-24 18:05 · iphone · ipad · ipod touch · mac · 评论(0)

github README.md 编辑技巧小结 (updated)

1.文字连接 (http://ace.ajax.org/) 2.栏目标题 标题 3.加入代码 代码写在这里 4.显示图片 !(https://raw.github.com/faceleg/ACEView/master/Collateral/ace-xib.jpg)

2012-12-18 11:39 · iphone · ipad · ipod touch · 评论(0)

iOS 怎样更方便使用第三方框架

管理第三方库越来越成为每个程序员的基本工作,因为每次都要去加入源码是一件低效的事情。所以高人们就想出了一些办法,比如如下几种。 1.把第三方框架生成可持续使用的.framework框架,有利有弊。 https://github.com/kstenerud/iOS-Universal-Framework 2.麻烦告诉我这个和第一个有什么区别 https://github.com/jverkoey/iOS-Framework 3.使用一款工具CocoaPods http://re-reference.iteye.com/admin/blogs/1735367

2012-11-29 12:45 · iphone · ipad · ipod touch · 评论(0)

CocoaPods:管理 Objective-C 專案裡頭各種 Library 關聯性最棒的方式

介绍: 开发应用的时候第三方的库是不可缺少的,它能提高开发的效率。一些经常用到的库,在新的项目里用是,你又得手工的Add到项目里,用的到库多起来了,就不方便管理了。CocoaPods这个软件,可以方便的帮你管理Xcode里的第三方的库。 CocoaPods维护着一群庞大的库,可以方便使用。 https://github.com/CocoaPods/Specs 另外如果没有加入到维护中的第三方库,可以fork一份,然后加上去。 https://github.com/CocoaPods/CocoaPods 官网 http://cocoapods.org 参看如下链接 http://www.coc…

2012-11-26 14:53 · iphone · ipad · ipod touch · 评论(0)