Skip to content
This repository has been archived by the owner on Jun 11, 2022. It is now read-only.

Commit

Permalink
Updated readme and example
Browse files Browse the repository at this point in the history
  • Loading branch information
nekonora committed Sep 7, 2019
1 parent 5011bda commit 54f1779
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Example/TaggerKit/ViewController.swift
Expand Up @@ -37,7 +37,7 @@ class ViewController: UIViewController {
receiver: nil)

allTags = TKCollectionView(tags: [
"Cars", "Skateboard", "Freetime", "Humor", "Travel", "Music", "Places", "Journalism", "Music", "Sports"
"Cars", "Skateboard", "Freetime", "Humor", "Travel", "Music", "Places", "Journalism", "Sports"
],
action: .addTag,
receiver: productTags)
Expand Down
14 changes: 11 additions & 3 deletions README.md
Expand Up @@ -18,6 +18,11 @@ TaggerKit is writtern is compatible with Swift 4.2/5 and runs on iOS 11+.

## Changelog

### 0.6.1
• Added support for Swift Package Manager;
• Fixed a bug that was causing a tag view to not send tags to another one by tapping the button;
• Added a convenience init method to create a tag view more quickly;

### 0.6
`tagIsBeingAdded` and `tagIsBeingRemoved` methods are not accessible by override from UIViewControllers. This is because UIViewController is not a delegate of TKViewController anymore. If you want to use these methods you can still make your controller conform to the TKCollectionViewDelegate protocol;
• Custom properties `customTagBorderWidth` and `customTagBorderColor` can now be set;
Expand All @@ -27,19 +32,22 @@ TaggerKit is writtern is compatible with Swift 4.2/5 and runs on iOS 11+.

## Installation

TaggerKit is available through [CocoaPods](https://cocoapods.org). To install the latest version (updated for Swift 5)
, just add the following line to your Podfile:
TaggerKit is available through [CocoaPods](https://cocoapods.org), Carthage or SPM.

To install the latest version, just add the following line to your Podfile:

```ruby
pod 'TaggerKit'
```

Or in your Cartfile:
In your Cartfile:

```ruby
github "nekonora/TaggerKit" ~> 0.6.0
```

Or add this repo as a swift package inside of Xcode 11.

## Setup

### Static tags
Expand Down

0 comments on commit 54f1779

Please sign in to comment.