This slide show you how to create a keyboard-extension, that is the new feature for expanding iOS system, by using Xcode 6. And in this slide also explain how keyboard-extensions working and connecting.
This slide show you how to create a keyboard-extension, that is the new feature for expanding iOS system, by using Xcode 6. And in this slide also explain how keyboard-extensions working and connecting.
A Watch app for watchOS 2 consists of two separate bundles that work together to deliver your content to the user. The Watch app itself contains the storyboards and resource files needed to display your interface, and the WatchKit extension contains the code and resources needed to update that interface.
In watchOS 2, the extension runs on the user’s Apple Watch instead of on the user’s iPhone, as was the case in watchOS 1. Moving the extension to Apple Watch makes communication between the Watch app and extension much faster and makes it possible for your app to run when the user’s iPhone is not present.
16. 更新Library
• $ pod outdated (檢查Library是否過期)
– No updates are available.
• $ pod update (更新Library)
– Analyzing dependencies
– Downloading dependencies
– Using AFNetworking (2.2.1)
– Generating Pods project
– Integrating client project
17. 增加Library & 改版Librabry
• $ vi Podfile (使用VIM編輯名為Podfile的檔案)
– platform :ios, '6.0'
– pod 'AFNetworking', '~>2.1.0'
– pod 'MBProgressHUD'
• $ pod update (更新Library)
– Analyzing dependencies
– Downloading dependencies
– Installing AFNetworking (2.1.0)
– Using MBProgressHUD (0.8)
– Generating Pods project
– Integrating client project
18.
19. 使用有用CocoaPods的開源
• 例:Canvas – Animate in Xcode without code
– https://github.com/CanvasPod/Canvas
– http://canvaspod.io/
• 說明:
– The demo app in this project uses CocoaPods,
please run pod install after you download this
project, then open Canvas.xcworkspace.
Commands:
* help Show help for the given command.
* init Generate a Podfile for the current directory.
- install Install project dependencies
* ipc Inter-process communication
* lib Develop pods
* list List pods
* outdated Show outdated project dependencies
* push Push new specifications to a spec-repo
* repo Manage spec-repositories
* search Searches for pods
* setup Setup the CocoaPods environment
* spec Manage pod specs
* try Try a Pod!
* update Update outdated project dependencies
Options:
--silent Show nothing
--version Show the version of CocoaPods
--no-ansi Show output without ANSI codes
--verbose Show more debugging information
--help Show help banner of specified command
-> AFNetworking (2.2.1)
A delightful iOS and OS X networking framework.
pod 'AFNetworking', '~> 2.2.1'
- Homepage: https://github.com/AFNetworking/AFNetworking
- Source: https://github.com/AFNetworking/AFNetworking.git
- Versions: 2.2.1, 2.2.0, 2.1.0, 2.0.3, 2.0.2, 2.0.1, 2.0.0-RC3, 2.0.0-RC2,
2.0.0-RC1, 2.0.0, 1.3.3, 1.3.2, 1.3.1, 1.3.0, 1.2.1, 1.2.0, 1.1.0, 1.0RC3,
1.0RC2, 1.0RC1, 1.0.1, 1.0, 0.9.2, 0.9.1, 0.9.0, 0.7.0, 0.5.1, 0.10.1, 0.10.0
[master repo]
- Sub specs:
- AFNetworking/Serialization (2.2.1)
- AFNetworking/Security (2.2.1)
- AFNetworking/Reachability (2.2.1)
- AFNetworking/NSURLConnection (2.2.1)
- AFNetworking/NSURLSession (2.2.1)
- AFNetworking/UIKit (2.2.1)
-> AFNetworking+AutoRetry (0.0.2)
Auto Retries for AFNetworking requests
pod 'AFNetworking+AutoRetry', '~> 0.0.2'
- Homepage: https://github.com/shaioz/AFNetworking-AutoRetry
- Source: https://github.com/shaioz/AFNetworking-AutoRetry.git
- Versions: 0.0.2, 0.0.1 [master repo]
-> AFNetworking-MUJSONResponseSerializer (1.0.0)
Automatically serialize JSON response to your object model
pod 'AFNetworking-MUJSONResponseSerializer', '~> 1.0.0'
- Homepage: https://github.com/Ulianko/AFNetworking-MUJSONResponseSerializer
- Source:
https://github.com/Ulianko/AFNetworking-MUJSONResponseSerializer.git
- Versions: 1.0.0 [master repo]
-> AFNetworking-RACExtensions (0.1.2)
AFNetworking-RACExtensions is a delightful extension to the AFNetworking
classes for iOS and Mac OS X.
pod 'AFNetworking-RACExtensions', '~> 0.1.2'
- Homepage: https://github.com/CodaFi/AFNetworking-RACExtensions
- Source: https://github.com/CodaFi/AFNetworking-RACExtensions.git
- Versions: 0.1.2, 0.1.1, 0.0.1 [master repo]
-> AFNetworking-ReactiveCocoa (0.0.2)
Make AFNetworking reactive.
pod 'AFNetworking-ReactiveCocoa', '~> 0.0.2'
- Homepage: https://github.com/uasi/AFNetworking-ReactiveCocoa
- Source: https://github.com/uasi/AFNetworking-ReactiveCocoa.git
- Versions: 0.0.2, 0.0.1 [master repo]
-> AFNetworking-Synchronous (0.2.0)
Synchronous requests for AFNetworking
pod 'AFNetworking-Synchronous', '~> 0.2.0'
- Homepage: https://github.com/paulmelnikow/AFNetworking-Synchronous
- Source: https://github.com/paulmelnikow/AFNetworking-Synchronous.git
- Versions: 0.2.0, 0.1.0 [master repo]
-> AFNetworking2-RACExtensions (0.0.1)
AFNetworking-RACExtensions is a delightful extension to the AFNetworking
classes for iOS and Mac OS X.
pod 'AFNetworking2-RACExtensions', '~> 0.0.1'
- Homepage: https://github.com/knshiro/AFNetworking-RACExtensions
- Source: https://github.com/knshiro/AFNetworking-RACExtensions.git
- Versions: 0.0.1 [master repo]