The .NET MVVM framework for cross-platform solutions, including Xamarin.iOS, Xamarin.Android, Windows and Mac.
Перейти к файлу
Martijn van Dijk 8a957f5cef
Merge pull request #2909 from robvanuden/patch-1
Small fixes in documentation
2018-05-28 12:01:25 +02:00
.github We don't use nuspecs anymore 2018-02-02 16:22:15 +01:00
ContentFiles Added additional instructions for Android users using the Android AppCompat support libraries 2018-05-10 00:35:00 +10:00
MvvmCross Log4Net 2.0.8 for netstandard no longer has logManager.GetLogger(string), therefore we need to use logManager.GetLogger(Assembly,string) to avoid runtime failure. Will work with older log4net versions, as they already had this overload. 2018-05-21 07:20:02 -04:00
MvvmCross.Analyzers Merge branch 'master' into develop 2018-04-12 13:30:12 +02:00
MvvmCross.Android.Support SplashScreenAppCompat should use AppCompatSetup 2018-04-22 12:16:27 -03:00
MvvmCross.Forms Some updates based on Feedback 2018-05-10 00:02:56 +10:00
MvvmCross.Plugins Fix target frameworks 2018-04-12 17:08:23 +02:00
MvvmCross.Tests Switch to new way of using custom Project SDK 2018-04-09 11:58:43 +02:00
Projects Removed CustomBinding project and added the code to Playground 2018-05-23 17:45:53 +02:00
UnitTests Move visibility UnitTests to .UnitTest folder 2018-04-10 20:02:11 +02:00
docs Small fixes in documentation 2018-05-26 12:52:34 +02:00
tools Update to .NET Standard (#2530) 2018-01-15 21:49:39 +01:00
.editorconfig Adjusting line endings 2018-03-14 10:59:03 +11:00
.gitattributes Comment .gitattributes and flesh out some endings 2016-07-19 11:16:20 -04:00
.gitignore Update gitignore 2018-04-12 22:14:03 +02:00
.mailmap update .mailmap 2017-03-30 10:24:14 +02:00
CHANGELOG.md Update changelog 2018-04-29 13:38:38 +02:00
CODE_OF_CONDUCT.md Rename code_of_conduct.md to CODE_OF_CONDUCT.md 2017-05-25 17:28:14 +02:00
CONTRIBUTING.md Create CONTRIBUTING.md 2017-05-25 17:26:30 +02:00
Directory.build.props housekeeping: use https 2018-05-01 19:15:12 +10:00
Directory.build.targets Reverts IsXamarinForms changes in Playground (#2754) 2018-04-03 17:38:45 +02:00
LICENSE Update license for dotnet fdn on-boarding #2415 2018-05-19 12:22:09 +02:00
MvvmCross.sln Removed CustomBinding project and added the code to Playground 2018-05-23 17:45:53 +02:00
README.md Update README with dotnet fdn support notice #2415 2018-05-19 12:24:12 +02:00
XamarinForms.targets Upgrading XF references 2018-04-06 17:56:09 +10:00
appveyor.yml Preview image doesn't work :( 2018-04-09 11:58:43 +02:00
build.cake Also build Platforms.Wpf 2018-04-29 14:09:18 +02:00
build.ps1 Get the latest bootstrap script 2017-10-12 12:34:16 +02:00
build.sh Make build.sh executable so that `./build.sh` works 2018-04-07 09:50:22 +01:00
global.json Switch to new way of using custom Project SDK 2018-04-09 11:58:43 +02:00
install-android-sdk.ps1 Make it easier to change csproj versions and update nugets (#2695) 2018-03-19 11:16:53 +01:00

README.md

MvvmCross Logo

MvvmCross

Twitter: @MvvmCross license Build status NuGet NuGet Pre Release GitHub tag MyGet OpenCollective OpenCollective CodeFactor

👀 Check out mvvmcross.com to get started with MvvmCross 👀

MvvmCross is a cross-platform MVVM framework. It enables developers to create apps using the MVVM pattern on Xamarin.iOS, Xamarin.Android, Xamarin.Mac, Xamarin.Forms, Universal Windows Platform (UWP) and Windows Presentation Framework (WPF). This allows for better code sharing by allowing you to share behavior and business logic between platforms.

Among the features MvvmCross provides are:

  • ViewModel to View bindings using own customizable binding engine, which allows you to create own binding definitions for own custom views
  • ViewModel to ViewModel navigation, helps you share behavior on how and when to navigate
  • Inversion of Control through Dependency Injection and Property Injection
  • Plugin framework, which lets you plug-in cool stuff like GPS Location, Localization, Sensors, Binding Extensions and a huge selection of 3rd party community plug-ins

MvvmCross is extendable by you. We strive to let as much code be configurable and overridable, to let the developer decide how they want to use the framework. However, the framework is very usable without doing anything.


Check out the MvvmCross docs


Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

Installation

Grab the latest MvvmCross NuGet package and install in your solution.

Install-Package MvvmCross

Make sure that both the shared core project and your application projects include the NuGet. For more details please visit the Getting Started documentation. which also provide easier ways, through Visual Studio and Xamarin Studio plugins to install and manage MvvmCross in your project.

Filing issues

We strive to keep the GitHub issues list for bugs, features and other important project management tasks. If you have questions please see the Questions & support section below.

When filing issues, please use our ISSUE_TEMPLATE. The best way to get your bug fixed is to be as detailed as you can be about the problem. Providing a minimal git repository with a project showing how to reproduce the problem is ideal. Here are a couple of questions you can answer before filing a bug.

  1. Did you try find your answer in the documentation
  2. Did you include a snippet of the broken code in the issue?
  3. Can you reproduce the problem in a brand new project?
  4. What are the EXACT steps to reproduce this problem?
  5. What platform(s) are you experiencing the problem on?

Remember GitHub issues support markdown. When filing bugs please make sure you check the formatting of the issue before clicking submit.

Contributing code

We are happy to receive Pull Requests adding new features and solving bugs. As for new features, please contact us before doing major work. To ensure you are not working on something that will be rejected due to not fitting into the roadmap or ideal of the framework.

Git setup

Since Windows and UNIX-based systems differ in terms of line endings, it is a very good idea to configure git autocrlf settings.

On Windows we recommend setting core.autocrlf to true.

git config --global core.autocrlf true

On Mac we recommend setting core.autocrlf to input.

git config --global core.autocrlf input

Code style guidelines

Please use 4 spaces for indentation.

Otherwise default ReSharper C# code style applies.

Project Workflow

Our workflow is loosely based on Github Flow. We actively do development on the develop branch. This means that all pull requests by contributors need to be develop and requested against the deveop branch. The master branch contains tags reflecting what is currently on NuGet.org.

Submitting Pull Requests

Make sure you can build the code. Familiarize yourself with the project workflow and our coding conventions. If you don't know what a pull request is read this https://help.github.com/articles/using-pull-requests.

Before submitting a feature or substantial code contribution please discuss it with the team and ensure it follows the MvvmCross roadmap. Note that code submissions will be reviewed and tested. Only code that meets quality and design/roadmap appropriateness will be merged into the source. Don't "Push" Your Pull Requests

Questions & support

Licensing

MvvmCross is licensed under the MS-PL License

  • MonoCross was the original starting point for this project, and was used as a reference under MIT
  • Phone7.Fx is redistributed and modified under MS-PL
  • Tiny bits of MvvmLight are redistributed and modified under MIT
  • NewtonSoft.Json is redistributed and modified here under MIT
  • The original work on the JSON.Net port to MonoTouch and MonoDroid was done by @ChrisNTR
  • Sqlite-net - custom license
  • MonoTouch.Dialog - MIT X11
  • MonoDroid.Dialog - MIT X11
  • Messenger ideas from JonathanPeppers/XPlatUtils under Apache License Version 2.0, and from GrumpyDev/TinyMessenger under simple license of "THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY"
  • Color codes under MIT License
  • Some bits of Mvvm.Async are redistributed and modified under MIT License

Acknowledgements

  • Thanks to McCannLondon for sponsoring the initial part of this work
  • Thanks to JetBrains for a community Resharper license to use on this project

.NET Foundation

This project is supported by the .NET Foundation.