WWRoundedSegmentedControl

main

Add the rounded corner function to the original UISegmentedControl.
William-Weng/WWRoundedSegmentedControl

WWRoundedSegmentedControl

Swift-5.6 iOS-14.0 Swift Package Manager-SUCCESS LICENSE TAG

  • Add the rounded corner function to the original UISegmentedControl.
  • 將原本的UISegmentedControl,加上圓角功能。

WWRoundedSegmentedControl

dependencies: [
    .package(url: "https://github.com/William-Weng/WWRoundedSegmentedControl.git", .upToNextMajor(from: "1.0.0"))
]

Example

import UIKit
import WWRoundedSegmentedControl

@IBDesignable class MyRoundedSegmentedControl: WWRoundedSegmentedControl {}

final class ViewController: UIViewController {

    @IBOutlet weak var mySegmentedControl: MyRoundedSegmentedControl!
    
    override func viewDidLoad() {
        super.viewDidLoad()
    }
}

Description

  • Swift Tools 5.6.0
View More Packages from this Author

Dependencies

  • None
Last updated: Mon Apr 15 2024 04:27:02 GMT-0900 (Hawaii-Aleutian Daylight Time)