Skip to content

Releases: whitesmith/WSTagsField

v3.1.0 (Swift 4.1)

09 Apr 23:10
47cccb0
Compare
Choose a tag to compare

Changes

  • By default, the return key is used to create a tag in the field. Now, you can change it and use the comma or the space key instead: tagsField.acceptTagOption = .space.
  • onDidEndEditing and onDidBeginEditing events were removed in favor of UITextFieldDelegate methods (textFieldDidBeginEditing(textField:) and textFieldDidEndEditing(textField:)). The delegate should be assigned to the textDelegate property and it's related with the input text field. It's also a nice way to have access to textFieldShouldReturn(textField:) where it's possible to change the first responder when the return key is free (i.e.: tagsField.acceptTagOption = .comma is set).

v3.0.0 (Swift 4.0)

09 Apr 18:27
ec4a1ad
Compare
Choose a tag to compare

Breaking changes

  • padding property is now using the standard contentInset property of UIView. So, padding has been deprecated.
  • displayDelimiter has been renamed to isDelimiterVisible.
  • tagCornerRadius has been renamed to cornerRadius.
  • placeholderAlwayVisible has been renamed to placeholderAlwaysVisible.

Changes

  • You can now define the size of the TagView by defining a margin of type UIEdgeInsets to layoutMargins property.
  • You can now define a max number of lines by using the numberOfLines property.
  • You can now define the space between lines using the spaceBetweenLines property.

Fixes

  • #65 layout issues in an UITableView.

Thanks 🎉💪🙌

@billzhou0223, @griffinmacias, @matsune, @nicol3a and @CharlesAbouYakzan for the amazing API improvements and fixes.
@krezzoid for the conversion and improvements for Swift 4.0.

v2.1.2 (Swift 3.0)

07 Jul 16:06
Compare
Choose a tag to compare
  • Fix #37: use WSTagsField in a static TableViewController Cell.

v2.1.1 (Swift 3.0)

07 Apr 14:01
Compare
Choose a tag to compare

v1.3.0 (Swift 2.3)

09 Apr 18:28
Compare
Choose a tag to compare

Please use the swift2.3 branch for now.

CocoaPods

pod 'WSTagsField', :git => 'https://github.com/whitesmith/WSTagsField.git', :branch => 'swift2.3'

or just add swift_version = '2.3' to your Podfile:

target 'AmazingProject' do
  swift_version = '2.3'
  pod 'WSTagsField', '~>1.2.0'
end

Carthage

github "whitesmith/WSTagsField" "swift2.3"

or just run carthage with Swift 2.3 toolchain:

carthage update WSTagsField --no-use-binaries --platform iOS --toolchain
com.apple.dt.toolchain.Swift_2_3

v1.2.5 (Swift 2.2)

07 Apr 12:25
Compare
Choose a tag to compare
  • Fix #39: solve retain cycle.

~~v1.2.4 (Swift 2.2)~~

07 Apr 12:10
Compare
Choose a tag to compare

⚠️ This release has an invalid podspec. Please update to 1.2.5.

v2.1.0 (Swift 3.0)

06 Jan 17:56
Compare
Choose a tag to compare
  • Fix #30: add keyboard return key type (ty @ShiWeiCN)
  • Fix #29: switching readonly on and off (ty @treyrich)
  • Fix #25: add inputFieldAccessoryView property
  • Fix #24: add onDidSelectTagView and onDidUnselectTagView event
  • Enhancement: add selectNextTag and selectPrevTag methods

~~v2.0.1 (Swift 3.0)~~

06 Jan 17:42
Compare
Choose a tag to compare

⚠️ Missed CocoaPod update.

  • Fix #30: add keyboard return key type (ty @ShiWeiCN)
  • Fix #29: switching readonly on and off (ty @treyrich)
  • Fix #25: add inputFieldAccessoryView property
  • Fix #24: add onDidSelectTagView and onDidUnselectTagView event
  • Enhancement: add selectNextTag and selectPrevTag methods

v2.0.0 (Xcode 8, Swift 3.0)

30 Sep 18:38
Compare
Choose a tag to compare

Instructions

Carthage

github "whitesmith/WSTagsField" ~> 2.0.0

CocoaPods

pod 'WSTagsField' '~> 2.0.0'

For more information please see the updated README.