这是来自stack overflow上的一个回答,更多回答请查看: http://stackoverflow.com/questions/24002369/how-to-call-objective-c-code-from-swift Using Objective-C Classes in Swift * If you have an existing class that you'd like to use, perform Step 2 and then skip to Step 5. (