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

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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