Latest 1.0.1
Homepage https://github.com/uber/UBTokenBar
License MIT
Platforms ios 10.0
Frameworks UIKit
Authors

CI Status
Version
License
Platform

UBTokenBar is a UICollectionView based token bar written in Swift. It uses UICollectionViewFlow layout objects to layout and render its tokens, which allows for a high level of layout customizability. Since UBTokenBar is powered via a UICollectionView you can register your own cell classes to customize the token appearance and behavior. Right To Left language is supported out of the box!

If you have any questions, feel free to ask on Stack Overflow (tag "ubtokenbar").

Features

  • [x] Easy to get started
  • [x] Extensible, UICollectionView-based architecture
  • [x] Full RTL support

Installation

UBTokenBar requires iOS 10+ and Swift 3

CocoaPods

To integrate UBTokenBar into your project using CocoaPods, add the following line to your Podfile:

pod 'UBTokenBar'

Carthage

To integrate UBTokenBar using Carthage add this to your Cartfile:

github "uber/ubtokenbar"

Running the Examples App

  • Clone the repo git clone [email protected]:uber/ubtokenbar.git
  • Open the Example directory cd UBTokenBar/Example
  • run pod install
  • open UBTokenBar.xcworkspace
  • Run the UBTokenBar-Example scheme in Xcode. Run the UBTokenBar_ExampleRTL to test Right To Left langauge

Quickstart

See the UBTokenBar Quickstart here!

Authors

Screenshots

Default UBTokenBar

default

RTL UBTokenBar (Works out of the box!)

rlt

Contributions

We’d love for you to contribute to our open source projects. Before we can accept your contributions, we kindly ask you to sign our Uber Contributor License Agreement.

  • If you find a bug, open an issue or submit a fix via a pull request.
  • If you have a feature request, open an issue or submit an implementation via a pull request
  • If you want to contribute, submit a pull request.

Check out the Contribution Guidelines for more information.

License

UBTokenBar is released under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "UBTokenBar",
    "version": "1.0.1",
    "summary": "A powerful and extensible UICollectionView based token bar",
    "description": "UBTokenBar is a simple and easy to use token bar implementation for iOS. Based on the existing logic of UICollectionView and UICollectionViewFlow layout this token bar can be easily extended and customized for anyone with knowladge of UICollectionViews.",
    "homepage": "https://github.com/uber/UBTokenBar",
    "screenshots": [
        "https://uber.box.com/shared/static/we2u789mbwsufkgust3ikcjejh66v0td.gif",
        "https://uber.box.com/shared/static/lzu8afq7km422ehbh013pv994fbg7xls.gif"
    ],
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Maxwell Elliott": "[email protected]"
    },
    "source": {
        "git": "https://github.com/uber/UBTokenBar.git",
        "tag": "1.0.1"
    },
    "social_media_url": "https://twitter.com/UberEng",
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "UBTokenBar/Classes/**/*",
    "resources": "UBTokenBar/Assets/*.png",
    "frameworks": "UIKit",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This