如何使用cocoaPods的第三方库

时间:2015-07-18 06:35:15

标签: ios cocoapods

我成功安装了第三方库。 enter image description here

我尝试使用第三方库。所以我在RootViewController.h中编码:

#import "DDCollectionViewFlowLayout.h"

发生错误:

DDCollectionViewFlowLayout.h file not found

1 个答案:

答案 0 :(得分:0)

问题出在第三方图书馆之外。 我尝试使用cocoaPods的AFNetworking并编写代码:

#import "AFNetworking.h"

效果很好。