第三方库提示
xxxixxxx

1.像OC的pch文件一样导入第三方库

1
2
3
4
5
创建一个Swift文件,在导入的库前添加 @_exported
🌰

@_exported import Alamofire

2.Swift导入的第三方库代码没提示

1
2
3
4
1.选择target 
2.选择Build Settings
3.搜索 User Header Search Paths
4.填写 $(PODS_ROOT),并设置为“recursive”
  • Post title:第三方库提示
  • Post author:xxxixxxx
  • Create time:2020-11-11 00:00:00
  • Post link:https://xxxixxx.github.io/2020/11/11/100-Swift导入第三方库、代码不提示/
  • Copyright Notice:All articles in this blog are licensed under BY-NC-SA unless stating additionally.
 Comments