Library Info

Library info contains programmatic access to information about the Material Components library.

Installation

Installation with CocoaPods

To add this component to your Xcode project using CocoaPods, add the following to your Podfile:

Then, run the following command:


Overview

The Library Info object provides information about the Material Components library compiled into this binary.


Usage

Importing

Before using LibraryInfo, you'll need to import it:

Swift

Objective-C

Accessing the library information

LibraryInfo contains a singleton class of type LibraryInfo that can be queried.

Swift

Objective-C

Up next