All Projects → jinSasaki → TVKit

jinSasaki / TVKit

Licence: MIT license
UI components for tvOS

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to TVKit

Contentful.swift
A delightful Swift interface to Contentful's content delivery API.
Stars: ✭ 132 (+560%)
Mutual labels:  tvos, carthage
Svprogresshud
A clean and lightweight progress HUD for your iOS and tvOS app.
Stars: ✭ 12,339 (+61595%)
Mutual labels:  tvos, carthage
Ducttape
📦 KeyPath dynamicMemberLookup based syntax sugar for Swift.
Stars: ✭ 138 (+590%)
Mutual labels:  tvos, carthage
Diff
Simple diff library in pure Swift
Stars: ✭ 110 (+450%)
Mutual labels:  tvos, carthage
Dots
Lightweight Concurrent Networking Framework
Stars: ✭ 35 (+75%)
Mutual labels:  tvos, carthage
Fontawesome.swift
Use FontAwesome in your Swift projects
Stars: ✭ 1,513 (+7465%)
Mutual labels:  tvos, carthage
Cdmarkdownkit
An extensive Swift framework providing simple and customizable markdown parsing.
Stars: ✭ 158 (+690%)
Mutual labels:  tvos, carthage
Kvconstraintkit
An Impressive Auto Layout DSL for iOS, tvOS & OSX. & It is written in pure swift.
Stars: ✭ 91 (+355%)
Mutual labels:  tvos, carthage
Cache
Swift caching library
Stars: ✭ 210 (+950%)
Mutual labels:  tvos, carthage
L10n Swift
Localization of the application with ability to change language "on the fly" and support for plural form in any language.
Stars: ✭ 177 (+785%)
Mutual labels:  tvos, carthage
Swifterswift
A handy collection of more than 500 native Swift extensions to boost your productivity.
Stars: ✭ 10,706 (+53430%)
Mutual labels:  tvos, carthage
Theanimation
Type-safe CAAnimation wrapper. It makes preventing to set wrong type values.
Stars: ✭ 214 (+970%)
Mutual labels:  tvos, carthage
Sdwebimagewebpcoder
A WebP coder plugin for SDWebImage, use libwebp
Stars: ✭ 101 (+405%)
Mutual labels:  tvos, carthage
Sqift
Powerful Swift wrapper for SQLite
Stars: ✭ 119 (+495%)
Mutual labels:  tvos, carthage
Mixpanel
Unofficial Swift Mixpanel client
Stars: ✭ 93 (+365%)
Mutual labels:  tvos, carthage
Color
Color utilities for macOS, iOS, tvOS, and watchOS
Stars: ✭ 145 (+625%)
Mutual labels:  tvos, carthage
Commoncrypto
CommonCrypto Swift module
Stars: ✭ 87 (+335%)
Mutual labels:  tvos, carthage
Swiftyattributes
A Swifty API for attributed strings
Stars: ✭ 1,303 (+6415%)
Mutual labels:  tvos, carthage
Cocoalumberjack
A fast & simple, yet powerful & flexible logging framework for Mac and iOS
Stars: ✭ 12,584 (+62820%)
Mutual labels:  tvos, carthage
Iso8601
ISO8601 date parser and writer
Stars: ✭ 213 (+965%)
Mutual labels:  tvos, carthage

TVKit

UI components for tvOS.

NOTE: This repository is work in progress.

Features

  • Highly customizable

  • Supports @IBDesignable to live-render the component in the Interface Builder

  • By supporting @IBInspectable, the class properties can be exposed in the Interface Builder, and you can edit these properties in realtime

  • Components:

    • Slider: Inspired UISlider

Installation

CocoaPods

pod 'TVKit'

Carthage

github "jinSasaki/TVKit"

Components

Slider

slider

class ViewController: UIViewController {
  @IBOutlet private weak var slider: Slider!

  override func viewDidLoad() {
      super.viewDidLoad()

      // Customize value, max and min (you can also customize in InterfaceBuilder).
      slider.min = 0.0
      slider.max = 1000
      slider.value = 100

      // Customize visual with label, imageView and so on.
      slider.leftImageView.image = UIImage(named: "rewind")
      slider.rightImageView.image = UIImage(named: "skip")
      slider.leftLabel.hidden = true
      slider.rightLabel.textColor = UIColor.redColor()
  }
}

Implement SliderDelegate if you want to receive event from Slider.

// slider.delegate = self
extension ViewController: SliderDelegate {
  func slider(_ slider: Slider, textWithValue value: Double) -> String {
      // Customize text on the seeker view with value.
      return "\(Int(value))"
  }

  func sliderDidTap(_ slider: Slider) {
    // Do something
  }

  func slider(_ slider: Slider, didChangeValue value: Double) {
    // Do something
  }
}

Requirements

  • tvOS 9.2+
  • Xcode 9
  • Swift 4

TODO

  • Components

    • Stepper
    • Switch
    • FocusableLabel
  • Installation

    • Carthage
    • Swift Package Manager

License

TVKit is released under the MIT license. See LICENSE for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].