Navigation Menu

Skip to content

TDetailBoxView is a simple and flexible UI component fully written in Swift. TDetailBoxView is developed to help users quickly display the detail screen without having to develop from scratch.

License

fanta1ty/TDetailBoxView

Repository files navigation

LOGO

TDetailBoxView

TDetailBoxView is a simple and flexible UI component fully written in Swift. TDetailBoxView is developed to help users quickly display the detail screen without having to develop from scratch.

Swift 5.0 Version License Email

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

TDetailBoxView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'TDetailBoxView'

Usage

import TDetailBoxView
  1. Initial TDetailBoxView
let detailBoxView = TDetailBoxView()
  1. Initial some items for displaying the detail content
items: [TDetailItem] = [
    TDetailItem(title: "Name:", value: "TDetailBoxView"),
    TDetailItem(title: "Author:", value: "fanta1ty"),
    TDetailItem(title: "Contact", value: "thinhnguyen12389@gmail.com"),
    TDetailItem(title: "Run:", value: "pod 'TDetailBoxView'")
]
  1. Call function applyData to add items into TDetailBoxView
contentView.detailBoxView.applyData(items: items,
                                    title: "TDetailBoxView",
                                    buttonTitle: "OK",
                                    tipBoxTitle: "Tip: Please use TDetailBoxView for displaying detail UI")
]

til

Requirements

  • iOS 10.0 or later
  • Swift 5.0 or later

Author

fanta1ty, thinhnguyen12389@gmail.com

License

TDetailBoxView is available under the MIT license. See the LICENSE file for more info.

About

TDetailBoxView is a simple and flexible UI component fully written in Swift. TDetailBoxView is developed to help users quickly display the detail screen without having to develop from scratch.

Topics

Resources

License

Stars

Watchers

Forks