Skip to content

Instantly share code, notes, and snippets.

View msmollin's full-sized avatar

Matt Smollinger msmollin

View GitHub Profile
@msmollin
msmollin / ModernSegmentedControl.swift
Created June 28, 2019 16:05 — forked from parrots/ModernSegmentedControl.swift
A segmented control without the borders. Allows for a subtle background on the unselected states, and a tint on the selected state.
//
// ModernSegmentedControl.swift
//
//
// Created by Curtis Herbert on 3/8/18.
//
import Foundation
@objc final class ModernSegmentedControl: UIControl {