
工具库
天占
这个作者很懒,什么都没留下…
展开
-
实时处理摄像头的图像 XBImageFilters
https://github.com/xissburg/XBImageFiltersXBImageFilters allows you to obtain filtered versions of any image or from the camera in realtime. It uses OpenGL ES 2 to filter the images through转载 2013-03-11 03:09:10 · 1050 阅读 · 0 评论 -
ios 中数组,字典 集合类型的几种常用枚举方法
http://blog.youkuaiyun.com/jidiao/article/details/8138665NSMutableArray *array=[[NSMutableArray alloc]initWithObjects:@"apple",@"ab",@"aa",@"aac",@"appd", nil]; //排序 [array sortUsingCompar转载 2013-03-15 18:13:20 · 1164 阅读 · 0 评论 -
webview 自定义重定向与缓存 利器 ~ 很简单,很好用
https://github.com/rnapier/RNCachingURLProtocolBACKGROUNDRNCachingURLProtocol is a simple shim for the HTTP protocol (that’s not nearly as scary as it sounds). Anytime a URL is downloaded, t转载 2013-03-20 23:51:29 · 2198 阅读 · 0 评论 -
判断NSString是否为数字,以及转换为数字
当NSString为纯数字的时候可以用下面的方法://判断是否为整形:- (BOOL)isPureInt:(NSString*)string{ NSScanner* scan = [NSScanner scannerWithString:string]; int val; return[scan scanInt:&val] && [sc转载 2013-03-21 21:25:08 · 895 阅读 · 0 评论 -
SQLite ios 加密
直接加密sql内容不大现实,不能模糊搜索。网上搜索了在 ios 上的加密处理。还没试,但是记下来先,等试了再补充结果。使用 http://sqlcipher.net/ios-tutorial/ 来做。这个还有收费版本SQLCipher for iOS¥987.49数量 A fully functional S原创 2013-04-10 09:33:45 · 814 阅读 · 0 评论 -
xcode 插件
https://wiki.jenkins-ci.org/display/JENKINS/Xcode+PluginThis plugin adds the ability to call Xcode command line tools to automate build and packaging iOS applications (iPhone, iPad,转载 2013-03-28 15:06:28 · 3175 阅读 · 0 评论 -
过滤 UILabel 显示时的网页字符串
@implementation LableTextFilter// + (void)initialize{ // 获取到UILabel中setText对应的method Method setText = class_getInstanceMethod([UILabel class], @selector(setText:)); Method setTextMySel原创 2013-07-24 09:05:47 · 923 阅读 · 0 评论 -
sqlite ORM(automatic database operation)
http://code4app.com/ios/LKDBHelper-Sqlite-ORM/5199e4136803fafa2a000001这是一个sqlite ORM(automatic database operation),能够根据 Model的属性自动生成表和进行增删改查操作。对于每个实体类 几乎是 零操作。 开发者不用再一行行写插入、修改、删除的SQL代码了,只要转载 2013-08-20 21:01:42 · 1198 阅读 · 0 评论 -
ios-开发者必知的-75-个工具(译文)
http://www.xiaojiayi.com/2013/08/25/ios-%E5%BC%80%E5%8F%91%E8%80%85%E5%BF%85%E7%9F%A5%E7%9A%84-75-%E4%B8%AA%E5%B7%A5%E5%85%B7%EF%BC%88%E8%AF%91%E6%96%87%EF%BC%89/原文地址:http://benschei转载 2013-08-30 14:47:50 · 724 阅读 · 0 评论 -
Object-c中如何打印函数调用栈Object-c中如何打印函数调用栈
打印当前的函数名可以使用__PRETTY_FUNCTION__宏,或者封装一下:#define NSSTRING_PRETTY_FUNCTION [NSString stringWithCString:__PRETTY_FUNCTION__ encoding:NSASCIIStringEncoding]打印:NSLog("Function Name:%@转载 2013-03-15 13:45:42 · 1498 阅读 · 0 评论 -
Selector Perform 扩展 多参
http://hi.baidu.com/ncudlz/item/f074c04b353d4fd0c1a592ebSelector是Objective-C一个非常强大的特性,合理使用Selector可以大大简化实现并避免重复代码。但NSObject提供 的performSelector最多只支持两个参数, 对于两个以上的参数就没有能力为力了。一番调查后针对NSObject增加了如下扩展转载 2013-03-13 15:31:33 · 792 阅读 · 0 评论 -
检测自己机器上安装了什么应用
https://github.com/danielamitay/iHasAppiHasApp FrameworkThe iHasApp iOS Framework allows you to detect installed apps on a user's device.Detection results can be in the form of an array转载 2013-03-11 00:58:46 · 751 阅读 · 0 评论 -
Essential Imager 图片处理,拍照block
https://github.com/Dillion/EssentialImagerEssential ImagerSummaryA painless solution forBlock based UIImagePickerController delegate in ARCResizing images, taking into account or转载 2013-03-11 02:46:01 · 736 阅读 · 0 评论 -
可以替换 UITextField 就可以达到校验目的的工具:US2FormValidator
https://github.com/ustwo/US2FormValidatorustwo™ iOS Form ValidatorThis framework allows you to validate inputs of text fields and text views in a convenient way.FeaturesSimply转载 2013-03-11 03:17:48 · 1069 阅读 · 0 评论 -
照片多选工具:AGImagePickerController
https://github.com/arturgrigor/AGImagePickerControllerAGImagePickerControllerAGImagePickerController is a image picker controller that allows you to select multiple photos and can be use转载 2013-03-11 03:20:13 · 3020 阅读 · 1 评论 -
xml 配置UI 的工具:pegasus
xml 配置UI 的工具:pegasus仔细看了一下原理,感觉再强大一点支持各种自定义,更灵活的再加入事件处理,砸门就可以用它了。因为可以动态更新了。https://github.com/jonathanellis/pegasus/wikiIntroductionPegasus is a lightweight open-source framework that转载 2013-03-11 03:35:07 · 1221 阅读 · 0 评论 -
代码统计
http://www.cfanz.cn/?c=article&a=read&id=48713http://exp99.diandian.com/post/2012-06-02/40028807537因项目汇报,需要统计代码规模。自然的想法是用Shell来统计各种文件(.php|js|css|html|xml|yaml)的代码规模> find转载 2013-03-11 14:42:52 · 754 阅读 · 0 评论 -
提供文字校验的工具
https://github.com/daniel-beard/DBValidatorDBValidatorGeneral purpose validation framework for objective-c / iOS.Supports adding validation rules to any keypath on an NSObject.ht转载 2013-03-11 00:27:25 · 1458 阅读 · 0 评论 -
在线格式化xml 工具
http://www.ostools.net/codeformat/xml在线代码格式化 FeedbackHTML格式化XML格式化CSS格式化JSON格式化JavaScript格式化Java格式化SQL格式化XML格式化采用OSChina会员dd分享的代码实现待格式化XML:格式化XML:转载 2013-03-12 13:21:01 · 3945 阅读 · 0 评论 -
增大/减少Mp3文件的默认音量—令其统一音量
http://www.pt80.net/thread-567373-1-1.html转载 2014-04-15 14:05:25 · 6071 阅读 · 0 评论