.net 的跨平台UI框架——MAUI

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-2 17:49   3019   0

原文:Introducing .NET Multi-platform App UI
github:https://github.com/dotnet/maui

  • MAUI 是 Xamarin.Forms 的进化(Xamarin.Forms 已经有6年历史了)。支持Model-View-ViewModel(MVVM)和Model-View-Update (MVU)等模式编写。
  • 支持Android, iOS, macOS, and Windows(github上显示,支持Linux)
  • 将于今年晚些时发布预览版。目标随 .NET 6 一起正式发布(2021年11月?)。

Milestones

.NET MAUI Preview 1 (Late 2020)

The first preview of .NET MAUI will be the first to take advantage of .NET 6 SDK features such as SDK style projects, build tools, and command line tools. We plan to also include:

FeatureDescriptionStatus
Namespace changes to System.MauiXamarin.Forms will become System.MauiCommitted
Slim renderer architectureSpecCommitted
Remove ObsoletesSpecCommitted
Replace DependencyServiceSpecProposed
Remove Pages Proposed
Remove Themes Proposed
Startup registrySpecProposed

.NET MAUI Preview 2 (Early 2021)

FeatureDescriptionStatus
Introduce a Cross-Platform LifecycleSpecProposed
Move "AndExpand" layout optionSpecProposed
Update min and max sizing implementations Proposed
Implement GlideXSpecProposed
Change IAnimatableSpecProposed
Change Behavior and Trigger inheritanceSpecProposed
Replace Application.PropertiesSpecProposed

.NET MAUI Preview 3 (Early 2021)

FeatureDescriptionStatus
macOS ParityWikiCommitted

.NET MAUI Preview 4 (Mid 2021)

FeatureDescriptionStatus
Windows ParityWikiCommitted

.NET MAUI Preview 5 (Mid 2021)

.NET MAUI Release Candidate (September 2021)

.NET MAUI General Availability (November 2021)

-----------------------------------------------------------------------------------------------------------

Xamarin.Forms vs MAUI

Xamarin.FormsMAUI
Platforms
AndroidAPI 19+API 21+
iOS9-1410+
LinuxCommunityCommunity
macOSCommunityMicrosoft
TizenSamsungSamsung
WindowsUWP Microsoft
WPF Community
Microsoft
Features
RenderersTightly coupled to BindableObjectLoosely coupled, no Core dependencies
App ModelsMVVM, RxUIMVVM, RxUI, MVU, Blazor
Single ProjectNoYes
Multi-targetingNoYes
Multi-windowNoYes
Misc
.NETXamarin.iOS, Xamarin.Android, Mono, .NET Framework, ....NET 6+
AcquisitionNuGet & Visual Studio Installerdotnet
Project SystemFranken-projSDK Style
dotnet CLINoYes
Tools
Visual Studio 2019YesYes
Visual Studio 2019 for MacYesYes
Visual Studio CodeNoYes
分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP