![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
苹果系统
doorxp
演译至上经典,静候不凡目光
展开
-
glAlphaFunc
已将部分信息通过以下控件隐藏,如果无法使用,请不要限制脚本或ActiveX控件。右击上面的安全提示,选择允许阻止的内容。glAlphaFunc 设置图形透明度的显示规则参数说明:glAlphaFunc(GLenum func,GLclampf ref)GLenum 是unsigned int类型GLclampf 是float类型func转载 2013-03-07 12:43:39 · 2407 阅读 · 0 评论 -
coreText
https://developer.apple.com/library/mac/documentation/TextFonts/Conceptual/CocoaTextArchitecture/FontHandling/FontHandling.html#//apple_ref/doc/uid/TP40009459-CH5-SW18Querying Font MetricsNSFont翻译 2013-08-29 08:55:02 · 617 阅读 · 0 评论 -
Ituns与iphone的通信协议usbmuxd解析
最开始研究与iphone通信, 都会想当然的google下usb协议, 必经iphone是通过usb线连接到电脑. 其实不然, iTunes是通过TCP协议与iPhone通信的usbmuxdiTunes使用一种叫”usbmux”的东西与iphone通信, 这个东西提供了一个USB - TCP的转换服务. 这个服务在Mac端是由/System/Library/PrivateFramewo转载 2013-09-02 13:18:34 · 2333 阅读 · 0 评论 -
iOS 6.1 evasi0n jailbreak
iOS 6.1 evasi0n jailbreakThe latest jailbreak is out, and it’s time to dissect it and document all the exploits and techniques it contains. These days, jailbreaks are so well tested that it’s easy转载 2013-09-13 09:01:31 · 674 阅读 · 0 评论 -
MethodSwizzle
void MethodSwizzle(Class aClass, SEL orig_sel, SEL alt_sel){ Method orig_method = nil, alt_method = nil; // First, look for the methods orig_method = class_getInstanceMethod(aClass, orig_se转载 2013-11-13 11:16:17 · 535 阅读 · 0 评论 -
Shell脚本简单总结及编写脚本中的小技巧
主要从以下几个方面进行bash入门级的总结:1、命令历史、命令补全2、管道、重定向3、命令别名和命令替换4、命令行编辑5、文件名通配6、Bash的相关配置文件及变量7、编程(条件判断、循环控制)8、bash中的数组9、shell编程技巧和编程规范 1、命令历史、命令补全 查看命令历史:history-c:清空命令历史-d OFFSET [n]: 删除指定位置的命令-w:保存命令历史至历史文件中,这转载 2013-12-20 09:01:14 · 690 阅读 · 0 评论 -
kill application from other application on ios 6 using void kill dont work
kill application from other application on ios 6 using void kill dont workup vote2down votefavoritei got jailbreak iphone ios 6in my tweak on ios 4&5转载 2014-05-06 12:26:34 · 884 阅读 · 0 评论 -
IOS高级开发~开机启动&无限后台运行&监听进程
非越狱情况下实现:开机启动:App安装到IOS设备设备之后,无论App是否开启过,只要IOS设备重启,App就会随之启动;无限后台运行:应用进入后台状态,可以无限后台运行,不被系统kill;监听进程:可获IOS设备运行除系统外的App(包括正在运行和后台运行);配置项目 plist文件添加:UIBackgroundModes转载 2014-05-06 09:29:01 · 519 阅读 · 0 评论 -
记几个IOS工具网站
记几个IOS工具网站http://www.scoop.it/t/ios-dev ios 工具推荐网站http://blog.devtang.com/blog/2012/12/02/use-cocoapod-to-manage-ios-lib-dependency/ ios包依赖管理http://sparkinspector.com/ IOS动态运行时分析转载 2014-05-06 12:37:18 · 674 阅读 · 0 评论 -
objc 禁止 deprecated 函数 警告
#pragma clang diagnostic push#pragma clang diagnostic ignored "-Wdeprecated-declarations" //deprecated 函数调用#pragma clang diagnostic pop原创 2013-05-13 09:28:07 · 721 阅读 · 0 评论 -
在cocos2d-x2.0上用shader实现灰度图
简述情况:·游戏运行平台:Android·Cocos2d-x引擎版本:cocos2d-2.0-x-2.0.2·注意:目前cocos2d-x 2.0运行时如果按home键再返回游戏,shader显示会有问题,估计是因为Android将游戏切到后台时释放纹理所导致,这个问题如果我能解决就解决,解决不了的话只能待哲哥他们修复后再用shader吧。 之前在用cocos2d-x 1.0的转载 2013-05-06 19:26:26 · 915 阅读 · 0 评论 -
xcode 环境变量
Variable ExamplePATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"转载 2013-03-13 09:23:30 · 1367 阅读 · 0 评论 -
3DES 返回数据不对
size_t 返回数据字节长度 = (数据字节长度 + kCCBlockSize3DES-1) & ~(kCCBlockSize3DES - 1);des求返回数据长度,就是求比原数据长度大的最小的8的倍数的数注意红色部分,否则解出的数据后面会多几个字节的数据,内容不定原创 2013-04-01 18:10:41 · 498 阅读 · 0 评论 -
自定义的高效加密解密算法
相同的key每一次加密的密文都不一样.难于破解.整个密文相关.修改其中一段后,以后的数据解密不正确typedef unsigned int Unit;std::string encrypt(const std::string &src,Unit key){ Unit seed = 0; const size_t unitlen = sizeof(Unit);原创 2013-04-05 23:56:29 · 4190 阅读 · 0 评论 -
迅雷优惠码
treE7tzCdumhkUTf原创 2013-04-05 18:55:04 · 773 阅读 · 0 评论 -
删除 Mac OS X 中“打开方式”里重复或无用的程序列表
如果右键菜单的「打开方式」里出现了已不存在的应用程序或者重复的项目,打开终端,执行以下命令:/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local转载 2013-03-27 16:24:42 · 1867 阅读 · 0 评论 -
解决安装macports,不能更新的问题
执行命令 sudo port -v selfupdate,出现超时68-245-171-115:var fanshulin$ sudo port -v selfupdatePassword:---> Updating MacPorts base sources using rsyncrsync: failed to connect to rsync.macports.org:转载 2013-03-27 16:28:34 · 2870 阅读 · 0 评论 -
命令行编译iPhone版的Objective-C程序
开发环境Mac OS X 10.6.7XCode 4.2 /iOS5 SDK源文件hello.m#import int main(int argc, const char *argv[]){ NSLog (@"hello, objective-c!"); return 0;}在命令行编译/Developer/Platforms/iPh转载 2013-04-13 19:29:59 · 660 阅读 · 0 评论 -
__cyg_profile_func_enter print function nam
#include #import void __cyg_profile_func_enter (void *, void *) __attribute__((no_instrument_function));void __cyg_profile_func_exit (void *, void *) __attribute__((no_instrument_function));原创 2014-08-10 00:02:15 · 1956 阅读 · 0 评论