mirror of
https://github.com/material-components/material-components-ios.git
synced 2026-02-20 08:27:32 +08:00
588 B
588 B
Installation with CocoaPods
Add the following to your Podfile:
pod 'MaterialComponents/TextControls'
Then, run the following command:
pod install
Importing
To use TextControls in your code, import the MaterialTextControls umbrella header (Objective-C) or MaterialComponents module (Swift).
Swift
import MaterialComponents.MaterialTextControls
Objective-C
#import "MaterialTextControls.h"