This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import UIKit | |
| /// A `UISegmentedControl` subclass that displays custom views as segment content. | |
| /// | |
| /// Segments are initialized with unique empty reference images. During `layoutSubviews()`, | |
| /// the view hierarchy is walked to find the `UIImageView` matching each reference image, | |
| /// and the custom view is installed as a sibling in that image view's superview. | |
| public final class CustomSegmentedControl: UISegmentedControl { | |
| // MARK: - Properties |