Procházet zdrojové kódy

Add Podfile example for WatchKit extension

Evgenii Neumerzhitckii před 10 roky
rodič
revize
51ad291d79
1 změnil soubory, kde provedl 9 přidání a 0 odebrání
  1. 9 0
      README.md

+ 9 - 0
README.md

@@ -33,6 +33,15 @@ If you are using CocoaPods add this text to your Podfile and run `pod install`.
     use_frameworks!
     pod 'KeychainSwift', '~> 3.0'
 
+Here is how to use KeychainSwift in a *WatchKit extension* with CocoaPods.
+
+    use_frameworks!
+
+    target 'YourWatchApp Extension Target Name' do
+      platform :watchos, '2.0'
+      pod 'KeychainSwift', '~> 3.0'
+    end
+
 
 **Setup in Swift 1.2 project**