abujj

oc Swift 调用不同 macos 版本的 同一 header 的接口.

  •  
  •   abujj · Jul 30, 2022 · 1524 views
    This topic created in 1441 days ago, the information mentioned may be changed or developed.

    例如, 我如果调用系统 api, 比如 xxx 里面的, xxx.header

    毕竟 macos 多个版本,每个版本 xxx.header 里面的方法等 都有些出入, 有新的,也有被删除的方法.

    这时候, oc 咋调用呢?

    把不同时期的 xxx.header 合并成一个大而全的 xxx.header 调用?

    还是有啥其他好办法?

    搜了一圈,没搜到.

    大神们求指点而已..

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3272 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 69ms · UTC 03:16 · PVG 11:16 · LAX 20:16 · JFK 23:16
    ♥ Do have faith in what you're doing.