How do you create hybrid Xcode projects for Mac & iPhone?

前端 未结 4 784
旧巷少年郎
旧巷少年郎 2020-12-24 08:58

I\'m working on a project which shall contain two targets. One for building a Framework to use in Mac development and another to create a static library to use in iPhone dev

4条回答
  •  庸人自扰
    2020-12-24 09:58

    Can't you use the PIMPL idiom? And/or have a common header for both but use different implementation file based on the target architecture or SDK?

提交回复
热议问题