From a444f17cffda8b1dca3ac702feae043b16978e56 Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 16 Apr 2018 23:15:09 +0800 Subject: [PATCH] Bump version to 0.9.1 [ci skip] --- .jazzy.yml | 2 +- CHANGELOG.md | 2 +- Example-iOS/Info.plist | 2 +- Example-iOSUITests/Info.plist | 2 +- QuickTableViewController-iOS/Info.plist | 2 +- QuickTableViewController-iOSTests/Info.plist | 2 +- QuickTableViewController.podspec | 2 +- README.md | 24 +++++++++----------- 8 files changed, 18 insertions(+), 20 deletions(-) diff --git a/.jazzy.yml b/.jazzy.yml index 3a1e95c4..1db54e3c 100644 --- a/.jazzy.yml +++ b/.jazzy.yml @@ -5,7 +5,7 @@ github_url: https://github.com/bcylin/QuickTableViewController github_file_prefix: https://github.com/bcylin/QuickTableViewController/blob/develop xcodebuild_arguments: [-project, QuickTableViewController.xcodeproj, -scheme, QuickTableViewController-iOS] module: QuickTableViewController -module_version: 0.9.0 +module_version: 0.9.1 output: docs/output theme: fullwidth skip_undocumented: true diff --git a/CHANGELOG.md b/CHANGELOG.md index a1aba85a..65f4081d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## `develop` branch +## v0.9.1 #### Fixes diff --git a/Example-iOS/Info.plist b/Example-iOS/Info.plist index 9b882036..f012d687 100644 --- a/Example-iOS/Info.plist +++ b/Example-iOS/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.9.0 + 0.9.1 CFBundleVersion 101 LSRequiresIPhoneOS diff --git a/Example-iOSUITests/Info.plist b/Example-iOSUITests/Info.plist index bbe19c41..7206a5fa 100644 --- a/Example-iOSUITests/Info.plist +++ b/Example-iOSUITests/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 0.9.0 + 0.9.1 CFBundleVersion 1 diff --git a/QuickTableViewController-iOS/Info.plist b/QuickTableViewController-iOS/Info.plist index 76d3d186..70b8293c 100644 --- a/QuickTableViewController-iOS/Info.plist +++ b/QuickTableViewController-iOS/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.9.0 + 0.9.1 CFBundleSignature ???? CFBundleVersion diff --git a/QuickTableViewController-iOSTests/Info.plist b/QuickTableViewController-iOSTests/Info.plist index 0c4fbf23..a4d76f18 100644 --- a/QuickTableViewController-iOSTests/Info.plist +++ b/QuickTableViewController-iOSTests/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 0.9.0 + 0.9.1 CFBundleSignature ???? CFBundleVersion diff --git a/QuickTableViewController.podspec b/QuickTableViewController.podspec index 6f99d539..90ae284d 100644 --- a/QuickTableViewController.podspec +++ b/QuickTableViewController.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "QuickTableViewController" - s.version = "0.9.0" + s.version = "0.9.1" s.summary = "A simple way to create a UITableView for settings." s.screenshots = "https://bcylin.github.io/QuickTableViewController/img/screenshot-1.png", "https://bcylin.github.io/QuickTableViewController/img/screenshot-2.png" diff --git a/README.md b/README.md index dde583c2..1585e46a 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,6 @@ NavigationRow(title: "UITableViewCellStyle", subtitle: .leftAligned(".value2")) #### Images * Images in table view cells can be set by specifying the `icon` of each row. -* The `Icon` carries info about images for both normal and highlighted states. * Table view cells in `UITableViewCellStyle.value2` will not show the image view. ```swift @@ -91,8 +90,8 @@ NavigationRow(title: "Cell with image", subtitle: .none, icon: icon) #### Disclosure Indicator -* A `NavigationRow` with an `action` will be displayed in a table view cell whose `accessoryType` is `.disclosureIndicator`. -* The `action` will be invoked when the related table view cell is selected. +* A `NavigationRow` with an `action` will be displayed in a table view cell with `.disclosureIndicator`. +* The `action` will be invoked when the table view cell is selected. ```swift NavigationRow(title: "Navigation cell", subtitle: .none, action: { (sender: Row) in }) @@ -111,8 +110,8 @@ SwitchRow(title: "Switch", switchValue: true, action: { (sender: Row) in }), ### TapActionRow * A `TapActionRow` is representing a button-like table view cell. -* The `action` will be invoked when the related table view cell is selected. -* `Icon` is disabled in `TapActionRow`. +* The `action` will be invoked when the table view cell is selected. +* The icon and subtitle are disabled in `TapActionRow`. ```swift TapActionRow(title: "Tap action", action: { (sender: Row) in }) @@ -120,17 +119,16 @@ TapActionRow(title: "Tap action", action: { (sender: Row) in }) ### OptionRow & RadioSection -* An `OptionRow` is representing a selectable table view cell. -* When the row `isSelected`, the table view cell shows `.checkmark` as its `accessoryType`. -* The `action` will be invoked when the selection is toggled. +* An `OptionRow` is representing a table view cell with `.checkmark`. +* The `action` will be invoked when the selected state is toggled. * The subtitle is disabled in `OptionRow`. ```swift OptionRow(title: "Option", isSelected: true, action: { (sender: Row) in }) ``` -* `OptionRow` can be used with or without `RadioSection`, which allows only one selection. -* `RadioSection` allows all options unselected by default. Set `alwaysSelectsOneOption` to true to keep one option selected. +* `OptionRow` can be used with or without `RadioSection`, which allows only one selected option. +* All options can be unselected in `RadioSection` by default. Setting `alwaysSelectsOneOption` to true will keep one of the options selected. ## Customization @@ -196,17 +194,17 @@ protocol RowStyle { } ``` -The `customize` closure overwrites the `Configurable` changes. +The `customize` closure overwrites the `Configurable` setup. ### UIAppearance -As discussed in issue [#12](https://github.com/bcylin/QuickTableViewController/issues/12), UIAppearance customization works when the cell is dequeued from the storyboard. One way to work around this is to register nib objects to the table view. Check out [AppearanceViewController](https://github.com/bcylin/QuickTableViewController/blob/develop/Example/ViewControllers/AppearanceViewController.swift) for the setups. +As discussed in issue [#12](https://github.com/bcylin/QuickTableViewController/issues/12), UIAppearance customization works when the cell is dequeued from the storyboard. One way to work around this is to register nib objects to the table view. Check out [AppearanceViewController](https://github.com/bcylin/QuickTableViewController/blob/develop/Example/ViewControllers/AppearanceViewController.swift) for the setup. ## Limitation > When to use **QuickTableViewController**? -QuickTableViewController is good for presenting static table contents, where the sections and rows don't need to change dynamically after `viewDidLoad`. +QuickTableViewController is good for presenting static table contents, where the sections and rows don't change dynamically after `viewDidLoad`. It's possible to update the table contents by replacing a specific section or row. Using different styles on each row requires additional configuration as described in the [Customization](#customization) section.