How can I import Swift code to Objective-C?

前端 未结 15 2441
南方客
南方客 2020-11-22 02:52

I have written a library in Swift and I wasn\'t able to import it to my current project, written in Objective-C.

Are there any ways to import it?

#i         


        
15条回答
  •  误落风尘
    2020-11-22 03:21

    #import 
    

    you will see when you enter from keyboard #import < and after automaticly Xcode will advice to you.

提交回复
热议问题