586 B

Installation with CocoaPods

Add the following to your Podfile:

pod 'MaterialComponentsBeta/<#ComponentName#>'

Then, run the following command:

pod install

Importing

To use the MDCBannerView in your code, import the MaterialBanner umbrella header (Objective-C) or MaterialComponents module (Swift).

Swift

import MaterialComponents.MaterialBanner

Objective-C

#import "MaterialBanner.h"