[States] New StateScheme, StateColor, MDCColorState and StateExampleColorScheme. (#6548)

6 files changed
tree: 0d78d45b2557466a0af2bc7defbd4fc8e24a84bb
  1. .github/
  2. catalog/
  3. components/
  4. contributing/
  5. demos/
  6. docs/
  7. scripts/
  8. snapshot_test_goldens/
  9. .arclint
  10. .arcunit
  11. .clang-format
  12. .clang-format-ci
  13. .codecov.yml
  14. .gitattributes
  15. .gitignore
  16. .gitmodules
  17. .kokoro
  18. .mdc-docsite.yml
  19. .swift-version
  20. .swiftlint.yml
  21. .travis.yml
  22. AUTHORS
  23. BUILD
  24. CHANGELOG.md
  25. CODE_OF_CONDUCT.md
  26. CODEOWNERS
  27. CONTRIBUTING.md
  28. ISSUE_TEMPLATE.md
  29. LICENSE
  30. material_components_ios.bzl
  31. MaterialComponents.podspec
  32. MaterialComponentsBeta.podspec
  33. MaterialComponentsEarlGreyTests.podspec
  34. MaterialComponentsExamples.podspec
  35. MaterialComponentsSnapshotTests.podspec
  36. mdc_hero.png
  37. PULL_REQUEST_TEMPLATE.md
  38. README.md
  39. ROADMAP.md
  40. VERSION
  41. WORKSPACE
README.md

Material Components for iOS

Build Status Code coverage

Material Components for iOS (MDC-iOS) helps developers execute Material Design. Developed by a core team of engineers and UX designers at Google, these components enable a reliable development workflow to build beautiful and functional iOS apps. Learn more about how Material Components for iOS supports design and usability best practices across platforms in the Material Design Platform Adaptation guidelines.

Material Components for iOS are written in Objective-C and support Swift and Interface Builder.

Useful Links

Trying out Material Components

CocoaPods is the easiest way to get started (if you're new to CocoaPods, check out their getting started documentation.)

To install CocoaPods, run the following commands:

sudo gem install cocoapods

Our catalog showcases Material Components. You can use the pod try command from anywhere on your machine to try the components, even if you haven't checked out the repo yet:

pod try MaterialComponents

In case you have already checked out the repo, run the following command:

pod install --project-directory=catalog/

The component implementations can be found in Xcode within Pods > Development Pods > MaterialComponents.

Requirements

  • Xcode 9 or higher
  • Minimum iOS deployment target of 8.0 or higher
  • CocoaPods 1.5 or higher

Attributions

Material Components for iOS uses Material Design icons, copyright Google Inc. and licensed under CC BY 4.0.

Several components use MDFTextAccessibility, copyright Google Inc. and licensed under Apache 2.0 without a NOTICE file.

MDCCatalog uses the Roboto font, copyright 2011 Google Inc. and licensed under Apache 2.0 without a NOTICE file.