|
1 | 1 | Pod::Spec.new do |s| |
2 | 2 | s.name = "ICInputAccessory" |
3 | 3 | s.version = "1.0.0" |
4 | | - s.summary = "Customized text fields used in the iCook app." |
| 4 | + s.summary = "A customized token text field used in the iCook app." |
5 | 5 | s.description = <<-DESC |
6 | 6 | ICKeyboardDismissTextField: |
7 | 7 | * An input accessory view with a button to dismiss keyboard. |
8 | 8 |
|
9 | 9 | ICTokenField: |
10 | 10 | * A horizontal scrolling UI that groups input texts. |
11 | | - * Easy to add and delete tokens. |
| 11 | + * Easy to add, select and delete tokens. |
12 | 12 | * Customizable icon and colors. |
| 13 | + * Supports storyboard. |
13 | 14 | DESC |
14 | 15 |
|
15 | | - s.screenshots = "https://raw.githubusercontent.com/polydice/ICInputAccessory/gh-pages/screenshots/ICKeyboardDismissTextField.png", |
16 | | - "https://raw.githubusercontent.com/polydice/ICInputAccessory/gh-pages/screenshots/ICTokenField.png" |
| 16 | + s.screenshots = "https://polydice.github.io/ICInputAccessory/screenshots/ICTokenField.png", |
| 17 | + "https://polydice.github.io/ICInputAccessory/screenshots/ICKeyboardDismissTextField.png" |
17 | 18 | s.homepage = "https://github.com/polydice/ICInputAccessory" |
18 | 19 | s.license = { type: "MIT", file: "LICENSE" } |
19 | 20 | s.authors = "bcylin", "trisix" |
20 | | - |
21 | 21 | s.platform = :ios, "8.0" |
22 | 22 | s.source = { git: "https://github.com/polydice/ICInputAccessory.git", tag: "v#{s.version}" } |
23 | | - s.source_files = "Source/*.swift" |
24 | | - s.resources = "Source/*.xcassets" |
25 | 23 | s.requires_arc = true |
| 24 | + |
| 25 | + s.default_subspecs = "KeyboardDismissTextField", "TokenField" |
| 26 | + |
| 27 | + s.subspec :KeyboardDismissTextField do |sp| |
| 28 | + sp.source_files = "Source/KeyboardDismissTextField/*.swift" |
| 29 | + sp.resources = "Source/KeyboardDismissTextField/*.xcassets" |
| 30 | + end |
| 31 | + |
| 32 | + s.subspec :TokenField do |sp| |
| 33 | + sp.source_files = "Source/TokenField/*.swift" |
| 34 | + end |
26 | 35 | end |
0 commit comments