theos/Logos常用命令

 %hook 用的最多,意思是钩住一个类。

 %hook SpringBoard
%end %new (v@:) 新建方法 v是返回值@代表参数名
%new(v@:@i)
- (void) alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex; %subclass:子类化一个类
如:%subclass Classname: Superclass <Protocol, Protocol> %group:分组
如:%group Groupname
%end %init:初始化分组和group相对应。 %ctor:构建一个初始化函数。 %log:打印系统日志,函数名参数值都能打印出来。 %orig:调用默认函数。

http://iphonedevwiki.net/index.php/Logos#.25init

http://brandontreb.com/beginning-jailbroken-ios-development-your-first-tweak

 Extension    Process order
.x will be processed by Logos, then preprocessed and compiled as objective-c.
.xm will be processed by Logos, then preprocessed and compiled as objective-c++.
.xi will be preprocessed as objective-c first, then Logos will process the result,
and then it will be compiled.
.xmi will be preprocessed as objective-c++ first, then Logos will process the result,
and then it will be compiled

最新文章

  1. 怎样在Dos里切换盘符
  2. MEF学习
  3. sed的应用
  4. Apache commons-configuration setDelimiterParsingDisable不生效的处理
  5. JavaMail发送邮件的笔记及Demo
  6. MySQL的基本知识 -- 函数
  7. Codeforces 260 C. Boredom
  8. MVC 项目 在前台使用DataTable
  9. NAND的一些相关概念
  10. (3)TXT转为XML
  11. HDU 4438 Hunters (数学,概率计算)
  12. Cocos开发中性能优化工具介绍之使用Windows任务管理器
  13. MySQL复制(三) --- 高可用性和复制
  14. python3实现的web端json通信协议
  15. Hibernate:组合模式解决树的映射
  16. 由chkconfig 引发的联想&mdash;&mdash;怎么查看程序是否已经安装/成功安装
  17. hdoj 2121 Ice_cream’s world II 【没有最低树的根节点】
  18. ES磁盘分配不均问题
  19. centos7 源码安装redis
  20. [2014亚马逊amazon] 在线笔试题 大于非负整数N的第一个回文数 Symmetric Number

热门文章

  1. C++标准库概述
  2. [lougu2243]双端队列搜索
  3. 【Django】实现跨域请求
  4. 【CS Round #39 (Div. 2 only) D】Seven-segment Display
  5. Android eclipse 提示java代码 快捷键
  6. 构建自己的AngularJS - 作用域和Digest(一)
  7. vmware-虚拟机播放器的下载、安装
  8. [NOI.AC#41]最短路 线性基
  9. HDU 1142 A Walk Through the Forest(最短路+dfs搜索)
  10. 网站新建移动站,做了link rel=&quot;canonical&quot; 等于主站URL后,全站被百度K了。