Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/109.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios Cocoapods/Swift:哪种进口声明?_Ios_Swift_Cocoapods - Fatal编程技术网

Ios Cocoapods/Swift:哪种进口声明?

Ios Cocoapods/Swift:哪种进口声明?,ios,swift,cocoapods,Ios,Swift,Cocoapods,我正在将我的Swift项目迁移到Swift 1.2,我已经选择切换到使用use\u框架选项 在我的豆荚中: source 'https://github.com/CocoaPods/Specs.git' use_frameworks! platform :ios, '8.0' pod 'Alamofire', '~> 1.2' pod 'SCLAlertView-Objective-C', '~> 0.3' 我的问题是,使用第二个pod名称如何导入它 对于一个没有破折号的名字来说

我正在将我的Swift项目迁移到Swift 1.2,我已经选择切换到使用
use\u框架选项

在我的豆荚中:

source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
platform :ios, '8.0'

pod 'Alamofire', '~> 1.2'
pod 'SCLAlertView-Objective-C', '~> 0.3'
我的问题是,使用第二个pod名称如何导入它

对于一个没有破折号的名字来说,这很明显,
导入Alamofire
,但对于另一个名字来说,它更难。。。遵循什么规则

我知道,
SCLAlertView
也以迅捷的风格发货,我的问题不是针对那个特定的包,而是更一般的