Skip to content

Instantly share code, notes, and snippets.

View michal-tomlein's full-sized avatar

Michal Tomlein michal-tomlein

View GitHub Profile
@michal-tomlein
michal-tomlein / MTSegmentedControl.h
Created August 14, 2015 09:35
An NSSegmentedControl subclass with support for conditional segment selection via a delegate.
//
// MTSegmentedControl.h
//
// Created by Michal Tomlein on 14/08/15.
// Copyright (c) 2015 Michal Tomlein. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class MTSegmentedControl;