mono 不能 100% 正确地移植 macOS cocoa
mono does not port macOS cocoa 100% correctly
我尝试使用 Visual Studio macOS 使用 c# 语言开发 macOS 应用程序。
但是我发现mono有很多bug
例如:
UITabView有属性'numberOfTabViewItems''tabViewItemAtIndex',但是在VS macOS下报错
NSTabView
https://developer.apple.com/documentation/appkit/nstabview?language=objc
using System;
using AppKit;
using Foundation;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
欢迎您的评论
Xamarin 将 macOS/iOS API 名称规范化为 C# 样式命名:
所以 ObjC numberOfTabViewItems
变成 Items
Xamarin 的 NSTabView Class : https://docs.microsoft.com/en-us/dotnet/api/appkit.nstabview?view=xamarin-mac-sdk-14
我尝试使用 Visual Studio macOS 使用 c# 语言开发 macOS 应用程序。
但是我发现mono有很多bug
例如:
UITabView有属性'numberOfTabViewItems''tabViewItemAtIndex',但是在VS macOS下报错
NSTabView
https://developer.apple.com/documentation/appkit/nstabview?language=objc
using System;
using AppKit;
using Foundation;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
欢迎您的评论
Xamarin 将 macOS/iOS API 名称规范化为 C# 样式命名:
所以 ObjC numberOfTabViewItems
变成 Items
Xamarin 的 NSTabView Class : https://docs.microsoft.com/en-us/dotnet/api/appkit.nstabview?view=xamarin-mac-sdk-14