https://github.com/fanta1ty/trightimagebutton
TRightImageButton is a simple and flexible UI component fully written in Swift. TRightImageButton is developed to help programmers create a button with right image quickly without having to write many lines of codes.
https://github.com/fanta1ty/trightimagebutton
animation button cocoapods framework ios ios9 lib pod right swift swift5 uikit
Last synced: 8 months ago
JSON representation
TRightImageButton is a simple and flexible UI component fully written in Swift. TRightImageButton is developed to help programmers create a button with right image quickly without having to write many lines of codes.
- Host: GitHub
- URL: https://github.com/fanta1ty/trightimagebutton
- Owner: fanta1ty
- License: mit
- Created: 2022-08-03T09:52:37.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-03T15:49:55.000Z (over 3 years ago)
- Last Synced: 2025-03-04T14:49:35.655Z (8 months ago)
- Topics: animation, button, cocoapods, framework, ios, ios9, lib, pod, right, swift, swift5, uikit
- Language: Swift
- Homepage:
- Size: 68.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# TRightImageButton
TRightImageButton is a simple and flexible UI component fully written in Swift. TRightImageButton is developed to help programmers create a button with right image quickly without having to write many lines of codes.
[](https://developer.apple.com/swift/)
[](https://cocoapods.org/pods/TRightImageButton)
[](https://cocoapods.org/pods/TRightImageButton)
[](https://cocoapods.org/pods/TRightImageButton)
[](thinhnguyen12389@gmail.com)
## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Requirements
## Installation
TRightImageButton is available through [CocoaPods](https://cocoapods.org). To install
it, simply add the following line to your Podfile:
```ruby
pod 'TRightImageButton'
```
## Usage
```swift
import TRightImageButton
```
1) Initial ``TRightImageButton``
```swift
let rightImageButton = TRightImageButton()
```
2) To show title, please input into ``customTitleLabel.text`` property
```swift
rightImageButton.customTitleLabel.text = "Right Image Button"
```
3) To show right image, please add image into ``rightImageView.image`` property
```swift
rightImageButton.rightImageView.image = UIImage(named: "Image")
```

## Requirements
- iOS 9.3 or later
- Swift 5.0 or later
## Author
fanta1ty, thinhnguyen12389@gmail.com
## License
TRightImageButton is available under the MIT license. See the LICENSE file for more info.