- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2021-07-25T00:50:21+00:00","default:wikiadmin","wikiadmin")
-iOS開発知識のまとめ
#contents
*初期化前に実施すること [#a249f567]
+iPhoneを探すOFF
+ApplePayからクレジットカード情報削除
+二段階認証移行
+カメラデータバックアップ
+カメラデータバックアップ(itunes必要なクソ!)
+podcastはあきらめる
*用語集 [#n4af5d90]
|Bundle ID|ドメイン逆順のアプリ固有ID|
|App ID|ADPアカウントごとに与えられる英数字のID。App ID Prefix(Team ID)とも書かれていて、APP ID + Bundle IDでユニークとなるようだ|
*Swift 4.0 [#s007a36c]
**extension [#kaff95ff]
-クラスの継承に似ているが、オーバーライドは出来ない。
-基本クラスにutil的なメソッドを追加したいときによく使う
*開発ライブラリ関連 [#x3c53890]
**cocoapods [#wfbf1f1b]
-iOSのライブラリ管理システム
-PodfileをProject ROOTに配置して、pod installを実施
-xcworkspaceができるのでそちらを開く
**Carthage [#sdc7d161]
-XCodeの内部構造までは面倒を見ないのでXCodeのバージョンアップの影響を受けづらい。
https://qiita.com/temoki/items/e3c05ee7e0f7a37b87e9
brew install chathage
echo 'github "SwiftyJSON/SwiftyJSON"' > Cartfile
-ビルドしてみるがエラー
carthage update --platform iOS --no-use-binaries
*** Cloning SwiftyJSON
*** Checking out SwiftyJSON at "5.0.1"
*** xcodebuild output can be found in /var/folders/r1/2w1s0rtx4zlcfdwx5t764x4504bh74/T/carthage-xcodebuild.gCiWnX.log
A shell task (/usr/bin/xcrun xcodebuild -workspace /Users/uu121543/Documents/xcode/CarthageTest/Carthage/Checkouts/SwiftyJSON/SwiftyJSON.xcworkspace CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES -list) failed with exit code 72:
xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH
-xcode-selectでコマンドラインツールを指定
sudo xcode-select -switch /Applications/Xcode12.4.app/Contents/Developer/
**Swift Package Manager (SPM) [#y0873885]
-Apple純正のパッケージマネージャー
**ライブラリ関連 [#uc7f8653]
-PromiseKit(Promise パターン)
-Moya(ネットワークアクセスライブラリ)
*デザインパターン [#bbcdb65a]
**VIPER [#ja36eff2]
**Clean Architecture [#gfbfe22b]
*記事一覧 [#k665186b]
#ls2(iOS)
#counter