Questions tagged [xamarin.mac]

Xamarin.Mac is an open source library for building Cocoa applications on OSX using C# and .NET. It is based on top of the Mono framework.

Xamarin.Mac: an open source library for building Cocoa applications on OSX using C# and .NET.

You can dig into the source code and read the documentation.

584 questions
0
votes
1 answer

Opening a New Custom Window From Other in Xamarin.Mac

I have two customized NSWindow in my application like these: Window 1: public partial class LoginVindow : NSWindow { public LoginVindow (IntPtr handle) : base (handle) { } } Window 2: public partial class…
berkb
  • 542
  • 6
  • 21
0
votes
1 answer

How to embed Xamarin.Forms in native Xamarin.Mac?

I'm trying to embed a XAML page created with Xamarin.Forms in my native Xamarin.Mac application. How can I achieve that?
0
votes
0 answers

Xamarin app won't publish to apple store - multiple ERROR ITMS-90045 errors

I have a Xamarin Forms app that was last published using Xamarin Studio in 2017. The app builds error free using Visual Studio 2017 and runs fine when an iPhone is connected to the Mac. When I try to publish it to the Apple store I get numerous…
Ron
  • 1
  • 2
0
votes
0 answers

Xamarin.Mac - TableView sorting by selecting option from dropdown

I have implemented the TableView sorting when table header is clicked. We have another requirement to sort the table data by different options e.g. Name, Date, Size. I am looking for a way to show a dropdown where user can select a type and then…
Faisal Ghaffar
  • 181
  • 2
  • 12
0
votes
0 answers

How to change the color from Picker in Xamarin Mac?

I have a picker on my Xamarin mac app, I want to change the background color and the border color (blue), How can I do that? Picker picker1 = new Picker { Items = { translateExt.transltR("Option1"), "Option2", "Option3" }, SelectedIndex =…
Led Machine
  • 7,122
  • 3
  • 47
  • 49
0
votes
1 answer

How to change Color from Slider on Xamarin Mac Platform?

The default color from a Slider on Xamarin Mac project is blue, I want to change it to green, So I have made a Custom Renderer, but unfortunately, I don't what to do inside the custom renderer, How can I change the color? using…
Led Machine
  • 7,122
  • 3
  • 47
  • 49
0
votes
0 answers

Xamarin.Forms.Mac - WebP.Mac Error

I've got a Xamarin.Forms.Mac App which did compile for months, until some weeks ago where it says now, that the file or assembly WebP.Mac is missing. This may be because of the latest Xamarin.Forms version (3.1.0.583944) but I'm not sure about…
DirtyNative
  • 2,553
  • 2
  • 33
  • 58
0
votes
1 answer

How do I profile a Xamarin.Mac app built with Visual Studio for Mac?

I'm trying to profile a Xamarin.Mac app with the mono profiler, but I encounter errors. The app is built locally for debugging with Visual Studio for Mac and built for the App Store using the MSBuild CLI. I tried this: Build the app through Visual…
theguy
  • 861
  • 9
  • 19
0
votes
1 answer

Xamarin.Forms Mac AuthenticationContinuationHelper

Anyone try using Microsoft.Identy.Client package with Xamarin.Forms in MacOS project? I try to implement OpenUrl method according to sample: https://github.com/Azure-Samples/active-directory-xamarin-native-v2/tree/master but in AppDelegate in MacOS…
0
votes
1 answer

Visual Studio Mac Streaming BasicHttpBinding not working

I have a cross platform app that runs on Windows and Mac. It is using WCF on .NET 4.5.2. In the BasicHttpBinding configuration in the settings file I am setting the transferMode="Streaming". We are downloading large files using this service. On…
user856232
  • 1,073
  • 2
  • 14
  • 40
0
votes
0 answers

Display string array macOS Xamarin application

I have a generic collection List<(my own type)>. How can I display a simple array of strings to not define my own cells (NSCollectionViewItem)? Which control is best for this?
Nikita Goncharuk
  • 795
  • 1
  • 8
  • 23
0
votes
2 answers

Storyboard navigation from code MacOS

How can I open the ViewController window through the code? Or do I need to create an NSWindow for this ViewController?
Nikita Goncharuk
  • 795
  • 1
  • 8
  • 23
0
votes
1 answer

Linker command failed with exit code 1 (use -v for more details) Xamarin.Mac

I created a Xamarin.Mac App, then add nuget package Pkcs11Interop (it supports mac). And try to tun project but gives an error messages: Build Log: MMP : warning MM2006: Native library 'libdl' was referenced but could not be found. …
Nikita Goncharuk
  • 795
  • 1
  • 8
  • 23
0
votes
0 answers

Repeating Task.Delay causes a large delay (only Xamarin.Mac)

I'm developing Xamarin.Mac(Cocoa) using C#. I want to wait seconds, so I developed waiting function using Task.Delay. But repeating Task.Delay causes a large delay. Source code↓ using System; using System.Threading.Tasks; using…
hirossyi
  • 31
  • 6
0
votes
1 answer

Login to Microsoft Graph API from Mac (Xamarin)

I'm trying to connect my Mac App (written in c# / Visual Studio for Mac) to the Graph API from Microsoft. On Windows, I can use the ADAL and perform an operation like: PublicClientApplication myApp = new PublicClientApplication(MYID); …
Ziba Leah
  • 2,484
  • 7
  • 41
  • 60