swfit-pod使用
2024-10-10 18:30:16
一、查询第三方版本号
pod search SDWebImage
二、项目添加pod
1、在终端打开项目路径
2、输入 pod init 生成Podfile
三、在Podfile输入需要的第三方
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'use_frameworks!
pod 'Alamofire', ‘3.0’
pod 'SDWebImage'
target 'httpsTest' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for httpsTest
target 'httpsTestTests' do
inherit! :search_paths
# Pods for testing
end
end
四、下载第三方
pod install
五、项目中输入头文件
import Alamofire
import SDWebImage
六、使用三方方法
最新文章
- Failed to connect to JobMonApp on port 13491
- 使用Robomongo 连接MongoDB 3.x 报 Authorization failed 解决办法(转)
- JVM内存区域与内存溢出异常
- Qt 控件随窗口缩放
- mysql 复杂的查询语句,工作中用到的记录下
- Python 替换字符串
- CF Amr and Pins (数学)
- 【译】 AWK教程指南 3计算并打印文件中指定的字段数据
- 到目前为止,Linux下最完整的Samba服务器配置攻略
- e = e || window.event用法细节讨论
- 怎么样eclipse发达国家多重聚合关系maven项目和使用git管理
- ActiveMQ 503错误
- html5 textarea 文本框根据输入内容自适应高度
- 用 Go 编写一个简单的 WebSocket 推送服务
- Redis开启远程登录连接
- 使用 Emmet 生成 HTML 的语法详解
- eclipse能正常启动tomcat,但是网页访问不了
- Project facet jst.web.jstl has not been defined.
- vertx 从Tcp服务端和客户端开始翻译
- memcached 安装使用
热门文章
- hadoop机架感知
- Quartus 软件的使用之PLL的使用
- tomcat The file is absent or does not have execute permission
- C#环境datagidview添加删除操作
- 5.AsyncHttp、post
- HTML-Geolocation API
- 记忆化搜索(DP+DFS) URAL 1183 Brackets Sequence
- BZOJ3931 [CQOI2015]网络吞吐量(最大流)
- POJ3764 The xor-longest Path(Trie树)
- POJ3177 Redundant Paths(边双连通分量+缩点)