How can I create objective-C Framework for iOS Application

后端 未结 6 809
星月不相逢
星月不相逢 2020-12-15 01:13

I am in the middle of creating some generic classes that can be reusable for lot of application.

For Eg: Share Functions - if we need this functionality in a projec

6条回答
  •  误落风尘
    2020-12-15 02:01

    Objective-C consumer -> Objective-C dynamic framework

    Xcode version 10.2.1

    Create Objective-C framework

    Follow Create Objective-C framework

    Objective-C consumer with Objective-C framework

    Follow Swift consumer with Objective-C framework

    Import module to the Objective-C client code[module_name]

    @import module_name;
    

    Call a framework's code[Use of undeclared identifier]

    More examples here

提交回复
热议问题