zoukankan      html  css  js  c++  java
  • reveal使用方法

    1首先下载reveal工具:

    链接: http://pan.baidu.com/s/1eQGkI5O 密码: yne4

    2 把他解压直接拖到应用文件夹下面。

    3 在用户主页面下用vim新建一个隐藏文件

    vim .lldbinit

    4文件中放入如下内容:

    command alias reveal_load_sim expr (void*)dlopen("/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/libReveal.dylib",0x2);
    command alias reveal_load_dev expr (void*)dlopen([(NSString*)[(NSBundle*)[NSBundle mainBundle] pathForResource:@"libReveal" ofType:@"dylib"] cStringUsingEncoding:0x4],0x2);
    command alias reveal_start expr (void)[(NSNotificationCenter*)[NSNotificationCenter defaultCenter] postNotificationName:@"IBARevealRequestStart" object:nil];
    command alias reveal_stop expr (void)[(NSNotificationCenter*)[NSNotificationCenter defaultCenter] postNotificationName:@"IBARevealRequestStop object:nil"];

    5保存。然后运行一个ios项目。在appdelegate文件中做如下设置:

    6 运行程序,然后启动这个应用就可以了。

  • 相关阅读:
    1026. 程序运行时间(15)
    C语言字符串/数组去重
    1025. 反转链表 (25)
    1024. 科学计数法 (20)
    1023. 组个最小数 (20)
    1022. D进制的A+B (20)
    1021. 个位数统计 (15)
    1020. 月饼 (25)
    前端001/正则表达式
    SSM001/构建maven多模块项目
  • 原文地址:https://www.cnblogs.com/NSNULL/p/4347915.html
Copyright © 2011-2022 走看看