Giter Club home page Giter Club logo

tvoscustomizabletableviewcell's Introduction

TvOSCustomizableTableViewCell

License MIT Swift 5.0 Build Status

Light wrapper of UITableViewCell that allows extra customization for tvOS

If you would like to have the same level of customization in uibuttons, you should definitely check out FocusTvButton

Description

TvOSCustomizableTableViewCell allows the customization of UITableViewCells in tvOS, adding extra properties to customize layout attributes which are not customizable on UITableViewCells out of the box.

Custom properties:

  • Focused background color
  • Unfocused background color
  • Corner radius
  • Scale factor when focused
  • Shadow radius when focused
  • Shadow opacity when focused
  • Shadow color
  • Shadow offset when focused
  • Duration of the focus animation
  • Title color when focuses/unfocused

Two color, linear gradient properties:

  • Focused background end color
  • Unfocused background end color
  • gradient start & end points

A simple two color, linear gradient can be configured by setting either "background end" color properties. If neither "background end" color properties are set then TvOSCustomizableViewCell will use a solid background color by default.

Requirements

  • tvOS 11.0+
  • Xcode 11

Installation

CocoaPods

To integrate TvOSCustomizableViewCell into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :tvos, '11.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'TvOSCustomizableTableViewCell', '~> 2.0.0'
end

Manually

If you prefer, you can also integrate TvOSCustomizableViewCell into your project manually, just copying TvOSCustomizableViewCell.swift and GradientView.swift to your project.

Usage

TvOSCustomizableViewCell can be integrated both programmatically or embedded in a xib file.

tvoscustomizabletableviewcell's People

Contributors

dcordero avatar jgert avatar cgoldsby avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.