zoukankan      html  css  js  c++  java
  • ios越狱开发

     1 theos/Logos常用命令
     2 
     3 %hook 用的最多,意思是钩住一个类。
     4 
     5 %hook SpringBoard
     6 %end
     7 
     8 %new (v@:) 新建方法 v是返回值@代表参数名
     9 %new(v@:@i)
    10 - (void) alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex;
    11 
    12 %subclass:子类化一个类
    13 如:%subclass Classname: Superclass <Protocol, Protocol>
    14 
    15 %group:分组
    16 如:%group Groupname
    17     %end
    18 
    19 %init:初始化分组和group相对应。
    20 
    21 %ctor:构建一个初始化函数。
    22 
    23 %log:打印系统日志,函数名参数值都能打印出来。
    24 
    25 %orig:调用默认函数。

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

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

    1 Extension    Process order
    2 .x           will be processed by Logos, then preprocessed and compiled as objective-c.
    3 .xm          will be processed by Logos, then preprocessed and compiled as objective-c++.
    4 .xi          will be preprocessed as objective-c first, then Logos will process the result, 
    and then it will be compiled.
    5 .xmi will be preprocessed as objective-c++ first, then Logos will process the result,
    and then it will be compiled
  • 相关阅读:
    jsonrpc
    第十章:多线程
    第九章:IO流
    第八章:集合
    第七章:常用类
    第六章:异常机制
    第四章:数组
    第三章:流程控制语句
    第二章:数据类型和运算符
    第五章:面向对象4
  • 原文地址:https://www.cnblogs.com/wangshengl9263/p/3461605.html
Copyright © 2011-2022 走看看