Converting my Objective-C codes to Swift code

时间:2015-04-23 05:43:04

标签: objective-c swift

I have an existing App that was constructed using Objective-C.

My question is. How can I convert my App to use Swift code or do I have to recreate my App using Swift code?

1 个答案:

答案 0 :(得分:1)

您不能只将代码转换为Swift。你必须重写它。

请记住,您可以在同一个项目中同时使用Swift和Objective-C。

Swift and Objective-C in the Same Project