<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                直接上代碼: ~~~ - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. Method m1 = class_getInstanceMethod([self class], @selector(testExchange1)); Method m2 = class_getInstanceMethod([self class], @selector(testExchange2)); IMP impM1 = method_getImplementation(m1); IMP impM2 = method_getImplementation(m2); [self testExchange1]; [self testExchange2]; method_setImplementation(m2, impM1); method_setImplementation(m1, impM2); [self testExchange1]; [self testExchange2]; } - (void) testExchange1 { NSLog(@"%s", __func__); } - (void) testExchange2 { NSLog(@"%s", __func__); } ~~~ 輸出: ~~~ 2015-11-02 13:54:12.646 02-runtime[2592:71972] -[ViewController testExchange1] 2015-11-02 13:54:12.647 02-runtime[2592:71972] -[ViewController testExchange2] 2015-11-02 13:54:12.648 02-runtime[2592:71972] -[ViewController testExchange2] 2015-11-02 13:54:12.649 02-runtime[2592:71972] -[ViewController testExchange1] ~~~ 另外還可以用method_exchangeImplementations? 運行時交換兩個方法的實現,[原文鏈接請點擊](http://blog.csdn.net/lvdezhou/article/details/49585439)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看