屏幕快照 2016-06-23 17.30.21.png
1.首先新建一個 Header 文件
2.通過cocoaPods 添加想要使用的第三方例如
Podfile中添加如下代碼
屏幕快照 2016-06-23 17.33.16.png
3.在創(chuàng)建的Header 中引用添加的第三方
#ifndef My_Bridging_Header_h
#define My_Bridging_Header_h
#import "UIImageView+WebCache.h"
#import "AFNetworking.h"
#import "SVProgressHUD.h"
#import "SDCycleScrollView.h"
#endif /* My_Bridging_Header_h */
-
最后在TARGETS 中的Build Settings 中搜索 bird 找到
82E6082F-14BB-452D-AA48-D5E1A40A3C2D.png
雙擊將我們創(chuàng)建的Header 拖進去 就OK了