I'm developing a brand new Xamarin Mac application and looking for best practices of development. Can anyone suggest me any sample code or tutorial link that can get me a better understanding.
Thank you in advance.
Welcome to Xamarin.Mac! There are a number of us who swing by the forums, so feel free to ask questions, but I'd start with the following:
https://github.com/xamarin/mac-samples/tree/master/SourceWriter is by far the most complete sample we have, showing a full Xamarin.Mac application.
There are a number of samples in general (https://developer.xamarin.com/samples/mac/all/) but they are far from complete in covering all APIs. Often you'll need to convert objective-c stack overflow / tutorials / apple documentation to C# and this documentation will help:
The top two sections here may be useful to read:
and if you are the type to prefer your UI in code instead of resource files this is useful as well:
If you want to dig deeper "under the hood" may I suggest:
And the source code is the final answer for "how does this work", since it's open source:
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies