• 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
  • 相关阅读:
    可持久化BCJ
    Codeforces 911 三循环数覆盖问题 逆序对数结论题 栈操作模拟
    找不同
    最接近的三数之和
    找到所有数组中消失的数字
    三数之和
    小程序中的变量
    二叉树的最近公共祖先
    深拷贝和浅拷贝
    下载安装JDK
  • 原文地址:https://www.cnblogs.com/wangshengl9263/p/3461605.html
Copyright © 2020-2023  润新知