-2

I try to use Visual Studio macOS to develop a macOS app using c# language.

but I found that there so many bugs in mono

for example:

UITabView has property 'numberOfTabViewItems' 'tabViewItemAtIndex', but in VS macOS it reported error.

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;

enter image description here

enter image description here

your comment welcome

SushiHangover
  • 73,120
  • 10
  • 106
  • 165
arachide
  • 8,006
  • 18
  • 71
  • 134
  • Are you looking for some sort of chitchat on "VS for MacOS is the bestest evar"? Could you please [edit] post to clarify what exactly you are looking for? – Alexei Levenkov Apr 10 '20 at 02:53

1 Answers1

3

Xamarin normalizes macOS/iOS API names to a C# style naming:

So ObjC numberOfTabViewItems becomes just Items

Xamarin's NSTabView Class : https://learn.microsoft.com/en-us/dotnet/api/appkit.nstabview?view=xamarin-mac-sdk-14

SushiHangover
  • 73,120
  • 10
  • 106
  • 165