当在CocoaPods同时添加Swift和OC的库,使用use_frameworks!后,在Bridging-Header.h中的确是无法import OC的库,也无需import。 只需要在swift文件头部,添加import OCLibraryName,即可使用。stackoverflow链接:http://stackoverflow.com/questions/24122914/how-to-integrate-cocoapods...
当在CocoaPods同时添加Swift和OC的库,使用use_frameworks!后,在Bridging-Header.h中的确是无法import OC的库,也无需import。
只需要在swift文件头部,添加import OCLibraryName,即可使用。stackoverflow链接:http://stackoverflow.com/questions/24122914/how-to-integrate-cocoapods...