Explorar o código

Add Podfile example for WatchKit extension

Evgenii Neumerzhitckii %!s(int64=10) %!d(string=hai) anos
pai
achega
51ad291d79
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  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**