From 93761f68a0c55e56ebc50c8dfab3463dd030c13a Mon Sep 17 00:00:00 2001 From: Xavier Schott Date: Sat, 15 Apr 2017 09:35:42 -0700 Subject: [PATCH] Release version 4.0.0 --- README.md | 14 +++++++------- TGPControls.podspec | 4 ++-- TGPControls/Info.plist | 2 +- .../TGPControlsDemo.xcodeproj/project.pbxproj | 5 ++--- TGPControlsDemo/TGPControlsDemo/Info.plist | 2 +- 5 files changed, 13 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 1759a85..a7df26a 100644 --- a/README.md +++ b/README.md @@ -104,26 +104,26 @@ self.stepper.value = Double(sender.value) | Tick | | |:-----| ----- | | `tickSize` | absolute dimension | -| `tickImage` | Resource name as string, fits in `tickSize` | +| `tickImage` | a `UIImage`, fits in `tickSize` (†) | | `tickCount` | discrete steps, must be 2 or greater | | `ticksDistance` | horizontal spacing _(calculated)_ | | Track | | |:------| ----- | | `trackThickness` | height | -| `trackImage` | resource name as string, ignores `trackThickness` | +| `trackImage` | a `UIImage`, ignores `trackThickness` (†) | | `minimumTrackTintColor` | track lower side | | `maximumTrackTintColor` | track higher side | | Thumb | | |:------| ----- | | `thumbSize` | absolute size | -| `thumbImage` | dictates `thumbSize` | +| `thumbImage` | a`UIImage`, dictates `thumbSize` (†) | | `thumbTintColor` | background | | `thumbShadowRadius` | breaking the _flat design concept_ | | `thumbShadowOffset` | applied to `thumbShadowRadius`, may affect control bounds | - +(†) Introduced in version 4.0.0. Former versions used a resource name as a `string`. ![image](https://cloud.githubusercontent.com/assets/4073988/5910789/e102af28-a572-11e4-9169-b18555e20eab.png) @@ -154,10 +154,10 @@ Most of the customization can be done inside **Interface Builder**. |:------------------| ----- | | `offCenter` | **leftmost and righmost labels only**: relative inset expressed as a proportion of individual label width: 0: none, +0.5: nudge in by a half width (fully fit) or -0.5: draw completely outside | | `insets` | **leftmost and righmost labels only**: absolute inset expressed in pixels | -| `emphasisLayout` | emphasized (_selected_) labels vertical alignment ; `.top`, `.centerY` or `.bottom`. Default is `.top` (†) | -| `regularLayout` | regular labels vertical alignment ; `.top`, `.centerY` or `.bottom`. Default is `.bottom` (†) | +| `emphasisLayout` | emphasized (_selected_) labels vertical alignment ; `.top`, `.centerY` or `.bottom`. Default is `.top` (‡) | +| `regularLayout` | regular labels vertical alignment ; `.top`, `.centerY` or `.bottom`. Default is `.bottom` (‡) | -(†) No camel animation will occur when `emphasisLayout` = `regularLayout`, i.e. `.centerY`. +(‡) No camel animation will occur when `emphasisLayout` = `regularLayout`, i.e. `.centerY`. | Emphasized labels | | |:------------------| ----- | diff --git a/TGPControls.podspec b/TGPControls.podspec index 6e46a4c..a82c16f 100644 --- a/TGPControls.podspec +++ b/TGPControls.podspec @@ -2,7 +2,7 @@ Pod::Spec.new do |spec| # ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # spec.name = "TGPControls" - spec.version = "3.0.0" + spec.version = "4.0.0" spec.summary = "Custom animated iOS controls: Animated discrete slider, animated labels" spec.description = <<-DESC @@ -25,7 +25,7 @@ Pod::Spec.new do |spec| spec.requires_arc = true # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # - spec.source = { :git => "https://github.com/SwiftArchitect/TGPControls.git", :tag => "v3.0.0" } + spec.source = { :git => "https://github.com/SwiftArchitect/TGPControls.git", :tag => "v4.0.0" } spec.source_files = "TGPControls/**/*.{swift}" spec.exclude_files = "TGPControlsDemo/*" diff --git a/TGPControls/Info.plist b/TGPControls/Info.plist index d5752d7..d69dcdf 100644 --- a/TGPControls/Info.plist +++ b/TGPControls/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 3.0.1 + 4.0.0 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass diff --git a/TGPControlsDemo/TGPControlsDemo.xcodeproj/project.pbxproj b/TGPControlsDemo/TGPControlsDemo.xcodeproj/project.pbxproj index 8e84583..31022c3 100644 --- a/TGPControlsDemo/TGPControlsDemo.xcodeproj/project.pbxproj +++ b/TGPControlsDemo/TGPControlsDemo.xcodeproj/project.pbxproj @@ -123,7 +123,6 @@ TargetAttributes = { DC56BDC21E46DEB900AAD0D9 = { CreatedOnToolsVersion = 8.2.1; - DevelopmentTeam = 55K7THBUV8; ProvisioningStyle = Automatic; }; }; @@ -340,7 +339,7 @@ buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)"; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - DEVELOPMENT_TEAM = 55K7THBUV8; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = TGPControlsDemo/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.swiftarchitect.TGPControlsDemo; @@ -355,7 +354,7 @@ buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)"; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - DEVELOPMENT_TEAM = 55K7THBUV8; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = TGPControlsDemo/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.swiftarchitect.TGPControlsDemo; diff --git a/TGPControlsDemo/TGPControlsDemo/Info.plist b/TGPControlsDemo/TGPControlsDemo/Info.plist index d052473..ee3c849 100644 --- a/TGPControlsDemo/TGPControlsDemo/Info.plist +++ b/TGPControlsDemo/TGPControlsDemo/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.0 + 4.0.0 CFBundleVersion 1 LSRequiresIPhoneOS