Typical use: themed buttons

Create an instance of MDCButton and theme it with as one of the Material Design button styles using the ButtonThemer extension. Once themed, use the button like you would use a typical UIButton instance.

Swift

let button = MDCButton()

// Themed as a text button:
MDCTextButtonThemer.applyScheme(buttonScheme, to: button)

Objective-C

MDCButton *button = [[MDCButton alloc] init];

// Themed as a text button:
[MDCTextButtonThemer applyScheme:buttonScheme toButton:button];

See the ButtonThemer documentation for a full list of supported Material Design button styles.