自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(87)
  • 资源 (14)
  • 收藏
  • 关注

转载 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 3127

转载 自动部署 OTAD

Automating Over The Air Deployment for iPhonehttp://blog.octo.com/en/automating-over-the-air-deployment-for-iphone/Automating Over The Air Deployment for iPhoneSince the release of t

2013-03-28 12:23:49 9658

转载 PlistBuddy 命令行说明 -- 写脚本配置 plist 文件的时候可以用到

http://developer.apple.com/library/mac/#DOCUMENTATION/Darwin/Reference/ManPages/man8/PlistBuddy.8.htmlThis manual page is for Mac OS X version 10.7.4Choose a version: 10.510.61

2013-03-28 12:20:25 2639

转载 dispatch_async 与 dispatch_get_global_queue

#define kBgQueue dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)- (void)viewDidLoad{    [super viewDidLoad];    dispatch_async(kBgQueue, ^{        NSData* d

2013-03-21 23:06:24 871

转载 判断NSString是否为数字,以及转换为数字

当NSString为纯数字的时候可以用下面的方法://判断是否为整形:- (BOOL)isPureInt:(NSString*)string{    NSScanner* scan = [NSScanner scannerWithString:string];     int val;     return[scan scanInt:&val] && [sc

2013-03-21 21:25:08 841

原创 最简单的日志开关

#if 0// Set to 1 to enable debug logging#define MWLog(x, ...) NSLog(x, ## __VA_ARGS__);#else#define MWLog(x, ...)#endif

2013-03-21 10:27:03 1017

转载 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 2168

转载 淘宝客订单API获取订单代码

Trade 数据结构名称类型是否隐私描述seller_nickStringY卖家昵称buyer_nickStringY买家昵称titleStringY商品标题typeStringY交易类型

2013-03-16 20:57:58 24122 2

转载 ios 中数组,字典 集合类型的几种常用枚举方法

http://blog.csdn.net/jidiao/article/details/8138665NSMutableArray *array=[[NSMutableArray alloc]initWithObjects:@"apple",@"ab",@"aa",@"aac",@"appd", nil];    //排序    [array sortUsingCompar

2013-03-15 18:13:20 1124

原创 无线索的崩溃

今天下午模拟器运行都ok的,放到真机上就崩溃,崩溃在一些汇编句子上。没有其他线索,只知道调用了一个地址的方法,但是这个地址没有这个方法。只好通过注释代码来查。最后查到是因为 format 没有传参数引起 ,“%%@” 写到国际化文件里面,但是对应的值是 "%@",导致[NSString stringWithFormat:NSLocalizedString(@"%%@",nil)]

2013-03-15 18:07:01 711

转载 iOS 调试 crash breakpoint EXC_BAD_ACCESS SIGABRT

在调试程序的时候,总是碰到crash的bug,而且一追踪就是一些汇编的代码,让人特别疑惑。一般情况下可以通过增加两天断点来解决此问题,方法介绍如下:基本上有错误分为以下几种类型:signal(SIGABRT, MySignalHandler);signal(SIGILL, MySignalHandler);signal(SIGSEGV, MySignalHa

2013-03-15 17:53:01 1717

转载 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 1384

转载 Selector Perform 扩展 多参

http://hi.baidu.com/ncudlz/item/f074c04b353d4fd0c1a592ebSelector是Objective-C一个非常强大的特性,合理使用Selector可以大大简化实现并避免重复代码。但NSObject提供  的performSelector最多只支持两个参数, 对于两个以上的参数就没有能力为力了。一番调查后针对NSObject增加了如下扩展

2013-03-13 15:31:33 766

转载 在线格式化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 3843

转载 代码统计

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 728

转载 截图工具view BJImageCropper

https://github.com/barrettj/BJImageCropper

2013-03-11 04:03:50 696

转载 神奇的用 block 代替 drawRect ,所以不用继承 UIView 就可以绘制了

https://github.com/hsjunnesson/UIViewDrawRectBlockUIView+DrawRectBlockTired of subclassing UIView just to implement drawRect?This is a category on UIView to create an instance with a

2013-03-11 03:59:34 1073

转载 FlipTransform for iOS

http://www.cocoacontrols.com/controls/fliptransformiOS-Flip-TransformSummaryAnimation component for the effect of flipping as in a news/clock ticker, or a page turn.Structu

2013-03-11 03:56:51 910

转载 Android Pattern Lock on iPhone

http://blog.grio.com/2011/11/android-pattern-lock-on-iphone.htmlI’m a loyal user of iPhone. I’ve been using it since its first version and now I’m on 4S. Though I’m staying in iOS camp and

2013-03-11 03:54:20 1082

转载 BSKeyboardControls 系统键盘上的浮层

https://github.com/SimonBS/BSKeyboardControlsIntroductionBSKeyboardControls makes it easy to add an input accessory view above the keyboard which allows to go to the previous and next

2013-03-11 03:52:35 1125

转载 UIImage Sprite Additions

一种动画的实现方式 https://github.com/r3econ/UIImage-Sprite-AdditionsUseful UIImage category for handling sprite sheets. This add-on smoothes the way of extracting images from a sprite sheet

2013-03-11 03:49:42 768

转载 CoolUIViewAnimations 几种动画效果

https://github.com/pdetagyos/CoolUIViewAnimationsCoolUIViewAnimations 几种动画效果,翻页,弹出,变小消失等。

2013-03-11 03:46:42 639

转载 TextStepperField 有增减功能的 textfield

https://github.com/lolohouse/TextStepperFieldStepper control with numeric textfield. Supports resizing and adapts to the shape of the screen. It is based on control stepperTest

2013-03-11 03:42:44 990

转载 静态图-动态化的工具 JSAnimatedImagesView 。类似“新浪视野”

https://github.com/JaviSoto/JSAnimatedImagesViewDescription:Easy to use UIView subclass to quickly add a cool animated carrusel of pictures to your app.Sample:http://jsoto.es/x

2013-03-11 03:38:47 1320

转载 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 1173

转载 AcornCharts

https://github.com/honcheng/AcornCharts-for-iOSAcornCharts for iOSvideo demo video demoAcornCharts uses the Chipmunk Physics library. It is a fun way to show charts by drawing ba

2013-03-11 03:24:27 773

转载 照片多选工具: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 2962 1

转载 可以替换 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 1038

转载 轻量级的菜单弹出效果 - RNExpandingButtonBar

https://github.com/rnystrom/RNExpandingButtonBarRNExpandingButtonBarRNExpandingButtonBar is a simple iOS widget created by Ryan Nystrom. The widget is designed to be highly portable and

2013-03-11 03:16:49 999

转载 实时处理摄像头的图像 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 1025

转载 ADLivelyTableView 生动的表格cell 出场控件

https://github.com/applidium/ADLivelyTableViewADLivelyTableView - UITableView with styleADLivelyTableView is a drop-in subclass of UITableView that lets you add custom animations to any

2013-03-11 03:04:59 1302

转载 可以通过左右滑动来压弹页面栈的导航控制器 DYNavigationController

https://github.com/dyang/DYNavigationControllerDYNavigationControllerDYNavigationController is a Backboard inspired iOS control that enables navigation among UIViews based on swipe ges

2013-03-11 03:00:53 750

转载 PathMove - 沿着曲线运动的 demo

https://github.com/JoalahDesigns/PathMoveA demonstration of moving an object along a bezier path in iOSReleased under a BSD-3 license

2013-03-11 02:56:09 779

转载 JSNotifier - 简单的展示消息

https://github.com/jonahsiegle/JSNotifier

2013-03-11 02:55:08 917

转载 抓取服务图片的样例工具 grabKit

https://github.com/pierrotsmnrd/grabKitGrabKitGrabKit is an iOS Objective-C library offering simple and unified methods to retrieve photo albums on Facebook, Flickr, Picasa, iPhone/iPa

2013-03-11 02:48:23 783

转载 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 714

转载 FormKit - 表单工具 - 如果自定义要求不高的话,这个实现表单很快

https://github.com/brunow/FormKit.mFormKit.mFormKit.m is a library that helps building forms with a table view.It also handles synchronization of data between your model and the view

2013-03-11 02:41:17 1723

转载 UIBubbleTableView 聊天表格控件

UIBubbleTableViewhttps://github.com/AlexBarinov/UIBubbleTableView

2013-03-11 02:32:51 758

转载 图片特效处理 DLCImagePickerController

DLCImagePickerControllerhttps://github.com/gobackspaces/DLCImagePickerControllerAboutDLCImagePickerController is a fast, beautiful and fun way to filter and capture your photos with

2013-03-11 01:31:28 971

转载 文件夹访问页面

https://github.com/protosphere/PSDirectoryPickerControllerCompatibilityCompatible with iPhone/iPod Touch & iPad.Requires iOS 5 or higher.Sample usePSDirectoryPickerController *di

2013-03-11 01:27:42 819

okhttp3_justtrustme.zip

okhttp 和 justtrustme 源码,用于研究安卓网络安全的机制。对比代码,利于分析原理。上传资源,自己好找,也方便其他人查找。

2020-06-28

weo_autojs.zip

auto.js 脚本 脚本可以操作你的微信,自动搜索公众号,自动查找微信指数。 功能简单,有不少TODO。首个 auto.js 脚本,下载请谨慎哦。

2020-01-29

安卓开发环境切换工具

自己配置多个安卓 SDK NDK JAVA 环境路径。然后通过脚本批处理更换环境变量。以达到工作中快速切换环境的目的。附件里我放的两个 环境变量是我本机的 cocos2d-x android开发环境 和 react native 的安卓环境

2018-10-15

mac Android反编译

Android mac下反编译 apktool 反编译得到的是布局和资源文件。 dex2jar 反编译得到的代码字节码,利用jd gui就可以查看到源代码。 1.apktool安装 1)下载apktool,及mac下apk-install-macosx 2)解压这两个文件,把这3个文件拷到path路径下。(注意需要root权限) 3)使用apktool d xxx.apk进行反编译,得到一个同名的文件夹。里面就有我们需要的布局文件。 2.dex2jar反编译 1)将apk文件后缀名直接改为.zip,并解压。得到其中的classes.dex文件 ,它就是java源代码经过编译再通过dx工具打包而成的。 2)将classes.dex文件复制到dex2jar所在的文件夹。 3)命令行下定位到dex2jar目录,运行 sh dex2jar.sh classes.dex 生成 classes_dex2jar.jar 用jd gui打开就可以看到源代码了。 apktool的使用 1步可以忽略,只要你cd 到存放apktool的目录就好,和win一样 2、chmod +x apktool,修改为可执行 3、./apktool d xx.apk,执行 成功反编译出xml文件

2018-06-08

html 压缩使用的 js

html 压缩使用的 js

2016-09-02

react-native autocomplete 修改

react-native autocomplete 插件不能很好的支持自定义API和已封闭的节点的属性提醒,所以我对代码进行了修改。放置到自己的项目目录下,和多人共享,共同维护 api json 文件。 插件本身下载,请在 atom 里面 install react-native autocomplete

2016-03-27

mac os 多剪切板工具

每次复制或剪切一个内容,就会存到剪切板里随时可以粘贴(废话)。但如果你想粘贴前几次复制或剪切的文字或图片,就只能再浪费一遍时间 “找回去 — 选择 — 复制 — 切回来 — 粘贴” 。本资源是一款苹果电脑 Mac OS X 系统下的免费软件 ClipMenu,它能保存并显示剪切板内多次以前复制的内容,方便随时粘贴。

2014-10-10

Android cocos2d-x 批量打包脚本

本资源内包含给 Cocos2d-x 的安卓工程批量打包的脚本。具体可以查看我的博客。里面的多个脚本针对开发到发布的 debug , release , release to channels 都有实现。

2014-06-14

android剪切图片代码

该文件里面具备剪切图片的封装,有使用的样例。适合各个android厂商上调用。

2014-03-10

gif lib的库

用于 gif 的解码,解成 RGB 位图内存。 另外 RGB 位图内存可以转成其他格式的图片保存,或者直接显示到屏幕上去。

2014-02-27

ipa 应用包内 pngcrush 处理过的图片恢复

ipa的应用包内,一些图标在打包之后,会被 xcode 自带的 pngcrush 转换图片格式。通过本工具可以批量恢复。需要在 mac os 下运行。

2013-11-20

versions svn 工具

versions . mac 上比较好用的 svn 工具。 放置在百度网盘上。 可以直接点链接下载: http://pan.baidu.com/s/1glfc9

2013-11-11

BMFont 制作字体工具

BMFont 制作字体工具。在看别人的代码的时候,有时候会发现.fnt文件,这个文件是如何产生的呢,其实是使用这个位图处理工具生成的

2013-11-06

wii 的 wbfs管理器

wbfs管理器.可能会报有毒。有需求的下载吧。

2010-09-15

空空如也

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

TA关注的人

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