自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(63)
  • 资源 (4)
  • 收藏
  • 关注

ios 开发技术

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

2015-01-09 11:59:54 143

ios 错误合集(updated!)

[quote]错误: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][/quot...

2015-01-09 11:57:14 133

几个不错的xcode插件

1、代码补全插件[url]http://alcatraz.io[/url]2、快速搜索[url]http://codepilot.cc[/url]3、PackageMaker[url]https://developer.apple.com/downloads/index.action?name=PackageMaker[/url]4、补全UIImage图片的插件...

2014-09-11 13:33:15 138

xcode 插件目录

[code="none"]~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins[/code]

2014-09-11 13:14:17 150

GCD 倒计时

[code="oc"]-(void)startTime{ __block int timeout=30; //倒计时时间 dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); dispatch_source_t _timer = dispatc...

2014-08-19 10:00:12 135

Eventkit使用案例

[code="oc"]- (void)createNewEventAndNewReminder{ EKEventStore *es = [[EKEventStore alloc] init]; NSDate *now = [NSDate date]; //事件 [es requestAccessToEntityType:EKE...

2014-02-15 16:06:28 216

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

如下是跳转到系统设置诸多界面的url[code="key"]prefs:root=General&path=Aboutprefs:root=General&path=ACCESSIBILITYprefs:root=AIRPLANE_MODEprefs:root=General&path=AUTOLOCKprefs:root=General&path=USAGE/CELL...

2013-04-24 11:43:58 136

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

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

2013-04-17 13:50:37 340

pod update/install git pull 443错误解决

自从12306.cn抢票插件搞爆github服务器以后,我就再也不能pod update了。于是有了下面的方法。向/private/etc/hosts 中加入如下代码[code="shell"]#github207.97.227.239 github.com www.github.com207.97.227.252 nodeload.github.com207.97...

2013-01-22 18:38:48 1215

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

本文转自[url]http://ishalou.com/blog/2012/10/16/how-to-create-a-cocoapods-spec-file/[/url],版权归作者所有。CocoaPods命令介绍在[url]上一篇文章[/url]中,已经介绍过CocoaPods的几条基本命令。[b][u]pod setup[/u][/b]用于初始化本地第三方库的Spec描述文件...

2012-12-27 16:25:32 125

原创 [转]How to use NSAttributedString in iOS 6

本文转自:[url]http://soulwithmobiletechnology.blogspot.com/2012/07/how-to-use-nsattributedstring-in-ios-6.html[/url],版权归作者所有。[code="oc"]infoString=@"This is an example of Attributed String";NSMu...

2012-12-25 16:09:19 87

mac上的小工具(updated)

mac上显示隐藏文件的命令,如果要隐藏则 -bool false[code="bash"]defaults write com.apple.finder AppleShowAllFiles -bool true[/code]

2012-12-24 18:05:35 90

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

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

2012-12-18 11:39:02 131

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

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

2012-11-29 12:45:02 110

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

介绍:开发应用的时候第三方的库是不可缺少的,它能提高开发的效率。一些经常用到的库,在新的项目里用是,你又得手工的Add到项目里,用的到库多起来了,就不方便管理了。CocoaPods这个软件,可以方便的帮你管理Xcode里的第三方的库。CocoaPods维护着一群庞大的库,可以方便使用。[url]https://github.com/CocoaPods/Specs[/url]...

2012-11-26 14:53:52 86

原创 转载:用HTML5/CSS3/JS开发Android/IOS应用框架大全

现在,用js调用本地代码已经不是一件新鲜事,已经有成熟的库来做这些事情。比如[u][b]phonegap[/b][/u][url]http://phonegap.com[/url]原文[url]http://buildmobile.com/android-development-do-you-know-your-options/#fbid=N_l-mCvl6bl[/url]译文...

2012-11-22 15:16:51 129

原创 core data 分页查询

[code="oc"]NSFetchRequest *request = [[NSFetchRequest alloc] init];NSEntityDescription *entity = [NSEntityDescription entityForName:@"RSSEntryModel" inManagedObjectContext:_managedObjectContext];...

2012-11-07 11:26:23 118

原创 [转]从Flurry导出数据

有时我们需要一些详细的数据,而不只是看看网页上的图表。那么Flurry通过API提供给我们从Flurry获取详细数据的功能。具体的使用参考下面官方链接。我要说它的大概使用过程。官方使用说明上会给你一个链接格式,比如:http://api.flurry.com/eventMetrics/Summary?apiAccessCode=APIACCESSCODE&apiKey=AP...

2012-10-17 10:51:55 164

AFNetworking multipart upload

[code="objective-c"]+ (NSDictionary*)parametersOfUser:(User*)user{ if (user) { NSMutableDictionary *returnDict = [NSMutableDictionary dictionaryWithCapacity:0]; if (user.userI...

2012-10-12 14:52:22 173

IOS openssl rsa encrypt/decrypt

[b]对OpenSSL RSA加解密的封装请移步到:[/b][b][url]https://github.com/reference/OpenSSLRSAWrapper[/url][/b]本例子只是一个说明。大家都清楚在ios上是存在加解密api,库是调用security,一般只用来公钥加密,私钥解密。用途局限,但是一旦反过来便不支持了。也便是大家常说的数字认证签名功能(很容易...

2012-09-29 15:15:02 248

AVAudioPlayer没声音

在播放之前加上如下代码[code="objective-c"]AVAudioSession *session = [AVAudioSession sharedInstance]; [session setCategory:AVAudioSessionCategoryPlayback error:nil];[/code]

2012-09-13 19:54:05 202

原创 [转]Mac OS/iOS 多线程编程

转自:[url]http://willonboy.tk/?tag=dispatch_async[/url]

2012-09-10 18:37:40 89

获取汉字首字母

[code="c"]/* * pinyin.c * Chinese Pinyin First Letter * * Created by George on 4/21/10. * Copyright 2010 RED/SAFI. All rights reserved. * */#define HANZI_START 19968#define H...

2012-08-26 21:39:05 5978

IOS 代码片段 (Update!)

[b]1、分享到Facebook连接。[/b][code="web"]http://m.facebook.com/sharer.php?u=URL&t=标题[/code][b]2、移除ABPeoplePickerNavigationController右边的Cancel按钮[/b][code="oc"] ABPeoplePickerNavigationContro...

2012-08-24 13:57:38 75

当UITableView的style是grouped时UITableViewCell selectedBackgroundView 圆角问题

当tableview为grouped时点击cell要想换个选中颜色是一件麻烦的事情,大多时候selectedBackgroundView的颜色是一个没有圆角的矩形,在group边缘点击时会把默认的圆角遮住。[url]http://stackoverflow.com/questions/400965/how-to-customize-the-background-border-colors-...

2012-08-23 10:04:25 137

Country code table

[code="java"]//The country name and URL comes from the links: //http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 //http://countrycode.org/ //there are several countries no prefix code: //Brit...

2012-08-09 10:51:00 1103

IOS获取函数调用堆栈信息

导入头文件[code="c"]#include #include [/code]如下代码放到方法里即可知道该方法调用的堆栈信息[code="oc/c"] void* callstack[128]; int frames = backtrace(callstack, 128); char **strs = backtrace_symbols(...

2012-08-03 09:40:24 1135

openfire 学习总结

简单说下自己学习openfire的过程。目的是想用mac搭建一个im即时通讯的服务端。openfire来自于一个开源的项目,项目地址是:[url]http://www.igniterealtime.org/projects/openfire/[/url]它需要依赖数据库,本身自带了一个数据库,但是推荐是用外部数据库,所以我选择了时下流行的mysql.openfire要求my...

2012-08-03 01:26:47 144

原创 [转]安装openfire后admin无法登录管理控制平台

安装完openfire登录管理控制提示:[code="e"] Login failed:make sure your username and password are correct and that you’re an admin or moderator[/code] 解决方案如下: 1.使用Mysql查看工具进入数据库,进入表“ofuser”...

2012-08-03 00:46:57 186

UIImage等比缩放图像,按最大尺寸缩放,这才叫真正的缩放

[code="Objective-c"]+ (UIImage*)scaleImage:(UIImage*)img toSize:(CGSize)size{ int h = img.size.height; int w = img.size.width; if(h

2012-08-01 12:09:10 479

原创 [摘]error: failed to launch /Users/padsoftware/Library/Developer/Xcode/DerivedDat

原帖地址:[url]http://stackoverflow.com/questions/8547201/xcode-error-failed-to-launch[/url]I encounter this problem every once in a while. Like the others mentioned, these are the steps I take:1. ...

2012-07-30 14:50:54 134

原创 [转]iOS 友盟发布渠道自动化脚本

[url]https://gist.github.com/3180771[/url][table]|git clone git@gist.github.com:3180771.git[/table][code="script"]## iOS 友盟发布渠道自动化脚本# # - 在 Archive 的 "Post-action" 添加脚本去执行 "/bin/...

2012-07-26 15:36:09 128

国际长途号码怎么打

International prefix:[url]http://wikitravel.org/en/International_dialling_prefix[/url]Country code:[url]http://wikitravel.org/en/List_of_country_calling_codes[/url]下面地址是全世界两百多个国家的国家代码表[u...

2012-07-26 14:56:21 299

原创 [转]Mask的用法

[code="Objctive-C"]//mask方法+ (UIImage*) maskImage:(UIImage*)image withMask:(UIImage*)mask { CGImageRef imgRef = [image CGImage]; CGImageRef maskRef = [mask CGImage]; CGImageRef actualMask ...

2012-05-31 12:12:24 366

小工具(Update!)

1。mac 软件下载地址:[url]http://www.macupdate.com/[/url]

2012-05-08 17:25:31 72

原创 [转]深入了解字符集和编码问题

一、什么是字符集?什么是编码? 字符(Character)是文字与符号的总称,包括文字、图形符号、数学符号等。 一组抽象字符的集合就是字符集(Charset)。 字符集常常和一种具体的语言文字对应起来,该文字中的所有字符或者大部分常用字符就构成了该文字的字符集,比如英文字符集。 一组有共同特征的字符也可以组成字符集,比如繁体汉字字符集、日文汉字字符集。 字符集的子集也是字符...

2012-05-08 16:29:41 75

原创 [转]在iphone中使用自定义字体

1、确定你的项目工程的resouce下有你要用的字体文件(.ttf,.odf)。2、然后在你的工程的Info.plist文件中新建一行(Add Row),添加key为:UIAppFonts(在我的机子上尝试了,它会自动转换成Fonts provided by application),类型为Array或Dictionary都行;添加Value为XXX.ttf(你字体的名字)。忘说了,是在建...

2012-05-08 01:10:59 108

Error in registration. Error: Error Domain=NSCocoaErrorDomain Code=3000 UserInfo

[code="apple doc"]Verify that the entitlements in the provisioning-profile file are correct. To do this, open the .mobileprovision file in a text editor. The contents of the file are structured in X...

2012-05-04 19:31:26 146

原创 [转] AudioToolbox使用方法总结

转自:http://blog.csdn.net/ch_soft/article/details/7381976整理一些网络资源第一部分 之前公司做的是音乐播放器,用到了AudioToolbox这个音频接口,总结下,希望对需要的朋友有帮助。AudioToolbox这个库是C的接口,偏向于底层,用于在线流媒体音乐的播放,可以调用该库的相关接口自己封装一个在线播放器类,Audio...

2012-05-03 22:21:43 192

github一些开源的工具(Updated!)

1.快速配置表格,不需要写很多item[url]https://github.com/escoz/quickdialog[/url][url]https://github.com/migueldeicaza/MonoTouch.Dialog[/url][url]http://escoz.com/open-source/quickdialog[/url]2.开源项目[url]...

2012-04-23 17:48:17 879

Design Patterns中英文版

Design Patterns中英文版,内容清晰明了,是读者首选!

2010-04-14

servlet API实用英文帮文挡

servlet API实用英文帮文挡,很好用

2010-04-11

SQLServer2000PPT

这是SQLServer2000高级教程的PPT

2010-04-11

java连接数据库JDBC

这个包里有java连接数据库源码和驱动包

2010-04-11

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除