LoginSignup
0
0

More than 5 years have passed since last update.

Xcodeでcocopad使い方

Posted at

CocoaPods設置

$ sudo gem install cocoapods
$ pod setup

テストプロジェクト生成

スクリーンショット 2017-06-21 10.17.47.png

cocopodsのinit実行

スクリーンショット 2017-06-21 10.18.45.png

ライブラリ検索及び設置

以下のサイトから必要なライブラリを検索
https://cocoapods.org
Alamofireを設置してみる。
##Alamofireで検索
スクリーンショット 2017-06-21 10.19.56.png

podfile編集

スクリーンショット 2017-06-21 10.20.33.pngスクリーンショット 2017-06-21 10.21.52.png

ライブラリ設置

スクリーンショット 2017-06-21 10.22.35.png

「test.xcworkspace」でXcode実行

スクリーンショット 2017-06-21 10.23.00.png

import追加

qiita.rb
import Alamofire     //非同期
import Alamofire_Synchronous   //同期
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0