有官方的 Xamarin GitHub 存储库适用于跨平台框架项目吗?

huangapple go评论58阅读模式
英文:

Is there official Xamarin github repo for cross-platform framework project?

问题

如果我搜索“Xamarin github 仓库”,我会被引导到 https://github.com/xamarin,那里有178个仓库。当我搜索“React Native github 仓库”时,例如,我会被引导到实际的仓库 https://github.com/facebook/react-native。我如何找到 Xamarin 跨平台框架的官方 github 仓库?

P.S 我不对项目示例感兴趣。我特别寻找项目本身的仓库。

英文:

If I search for "Xamarin github repo", I get directed to https://github.com/xamarin where there are 178 repos. When I search for "React Native github repo", for example, then I get directed to the actual repo https://github.com/facebook/react-native. How can I find the official github repo of xamarin cross-platform framework?

P.S I am not interested in project samples. I am specifically looking for the project repo itself.

答案1

得分: 2

一个创建多个仓库的原因是 "Xamarin Native" 与 "Xamarin Forms"。

有两种使用 Xamarin 的方式:

  • "Xamarin Native" 意味着开发单一平台项目(例如 iOS 或 Android),使用该平台的操作系统API,但使用 C# 而不是平台的本机语言。因此,"Xamarin.iOS" 和 "Xamarin.Android" 单独使用是有用的,尽管不是跨平台的。例如,在 iOS 上,UI 是诸如 "UIViewController" 的类,通过 Storyboard 进行控制。(Maui 的等效项是 ".Net 6+ for iOS/Android"。)
  • "Xamarin.Forms" 在这些基础上构建,提供跨平台的用户界面。(当目标是 .Net 6+ 时,Maui 是更新的 UI API。)
英文:

One reason for multiple repos is "Xamarin Native" vs "Xamarin Forms".

There are two ways to use Xamarin:

  • "Xamarin Native" means developing a single-platform project (e.g. iOS or Android), using that platform OS's APIs, but in c# instead of the platform's native language. Thus, "Xamarin.iOS" and "Xamarin.Android" are useful on their own, though not cross-platform. E.g. on iOS, the UI is classes such as "UIViewController", controlled via a Storyboard. (Maui equivalents are ".Net 6+ for iOS/Android".)
  • "Xamarin.Forms" builds on these, to provide a cross-platform UI. (Maui is the updated UI API, when targetting .Net 6+.)

huangapple
  • 本文由 发表于 2023年6月15日 15:53:36
  • 转载请务必保留本文链接:https://go.coder-hub.com/76480261.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定