Skip to content

Xamarin.iOS bindigs for Material Components for iOS (MDC-iOS).

License

Notifications You must be signed in to change notification settings

ilap/MaterialComponentsXamarin

Repository files navigation

⚠ Notice: the development of the package is discontinued and has been taken over by Microsoft (Xamarin). The nuget badge refers to the latest package released by Microsoft/Xamarin.



Material Components for iOS binding for Xamarin.iOS.

GitHub release NuGet Badge license Github Releases (by Release) GitHub Issues Contributions welcome

C# binding of the Material Components for iOS the Modular and customisable Material Design UI components for IOS.
Xamarin binding of Material Components for iOS and the adopted sample, demo and example iOS apps are written in C#.

The Xamarin binding versions follow the relevant MaterialComponents for iOS's versions. e.g. MaterialComponents for iOS v31.0.0 --> MaterialComponentBinding v31.0.0.

Demos

These apps above were translated from the original Siwft/ObjC sample apps to C# using Material Components for iOSes' Xamarin.iOS bindigs. Click on any image for further details.

Current Version

  • For current version see release and Nuget badges above.

Usage

  • Scenario 1: Try the Sample app - Clone and open the MaterialComponents solution.
git clone https://github.com/ilap/MaterialComponentsXamarin
open -a "Visual Studio" MaterialComponentsXamarin/MaterialComponentsBinding.sln
  • Scenario 2: Use it in your project/solution - Install the NuGet package.

For further usage details, have a look at the Samples directory and the API Documentation.

Requirements

Xamarin Binding Build

  • The built MaterialComponents native framework and its dependent frameworks, see Dependencies.
  • VisualStudio for Mac.
  • Xamarin.iOS

MaterialComponents Framework Build on macOS/OS X.

  • Xcode 8.3
  • Pod

Contribute

Thank you for your interest in this Xamarin Bindings and the sample code. Here are some ways you can contribute to this project:

  • Fix issues opened in GitHub against the binding source code and/or the sample.
  • Fix API definitions in the Binding Project.
  • Add new features to the sample app.
  • Add or improve comments to or in the sample code.

Attributions

This project uses some third-party assets with a license that requires attribution:

For extra information about licenses, you can see it at the dependency repositories.

License

Xamarin Binding of MaterialComponents for iOS

Copyright (c) 2017 The Material Components for iOS Xamarin Binding Authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.