How to validate menu items?
I'm trying to validate menu items (i.e. enable / disable them) in my Xamarin Mac project but I cannot get my validateMenuItem method to be called: [Export("validateMenuItem")] public bool...
View ArticleHow Can I Clear Selection of NSComboBox ?
We can clear the selection of ComboBox coding this: combobox.SelectedIndex=-1; with C# on Windows. However, it this coding methodology cannot run for macOS NSComboBox. What is the real solution ? Thanks.
View ArticleMac Certificates - Not able to sign the app with Developer ID application...
We are planning to distribute our MAC app out of app store. We face some problem in signing the app. We created Developer ID application and developer ID Distribution certificates. We have given these...
View ArticleHow Can I Add Item to macOS NSComboBox with Xamarin & C#?
I'm using Xamarin & C# to develop a macOS application. I have a NSComboBox in the storyboard. It have an outlet, so i can access to it successfully. I have an data context which populated in a list...
View ArticleNeed help with DocumentController
Need help with implementing the DocumentController and delegates. Struggling to pass a delegate to a method "canCloseDocumentWithDelegate". Can someone please help me convert the objective-c code to C#...
View ArticleBinding Objective C Lib
I developed an application which wants to bind with Objective c lib (.a file). This application has lots of packages which supports Target framework Xamarin Mac Full. But when I created the binding...
View ArticleConfigurationManager.OpenMappedExeConfiguration problem
I'm updating my app to Xamarin.Mac 4.0 and I faced a problem with this code public override string GetApplicationSetting(string pSettingName, string pDefaultValue) { string result = pDefaultValue;...
View ArticleHow to properly map a DLL name to a native Mac framework
I am trying to use the Chromium Embedded Framework.framework in my Mac app. In my sample .net code, this framework is referenced as libcef.dll. When I call a method on the framework, I get a...
View ArticleFollowed sandbox directions, but app still doesn't run as sandboxed
We're looking to get our mature Xamarin Mac application published on the app store, so I've started down the path of finding out what needs to be changed to enable this to happen, and the first step is...
View ArticleStable Channel: Xamarin.Mac 4.0.0.216, 15.5.5 Servicing Release
Please see the corresponding "Release: 15.5.5 Servicing Release" post on the Release Blog for the details about this release.
View ArticleCreate pkg from visual studio for windows?
Currently I'm having an iOS, Andoid and WPF applications. I use a Windows machine that is connected to a Mac to build their artifacts (ipa,apk,exe). When I add a Mac application to the build, without...
View ArticleSandboxing continued - no way around use of NSDocument to gain read/write...
I just wanted to check this aspect before proceeding with a bunch of code changes. There is this quote in the Sandboxing documents: "Opening, Saving and Tracking Documents - If you are managing...
View ArticleDeveloper ID Code Signing + Provisioning Profiles not Working (Xamarin.Mac +...
Hi Xamarin, I'm running into issues where I'm not able to build my project because Xamarin.Mac is not able to find an applicable Provisioning Profile. This worked without issue prior to upgrading to...
View ArticleCoreWLAN Wifi Password/Passphrase in Xamarin.Mac
It seems that classes such as CWWirelessProfile and CW8021XProfile have been removed from the CoreWLAN namespace leaving just a CWNetworkProfile. But unlike the the 2 deprecated classes,...
View ArticleiTunes Connect: i386 libMonoPosixHelper.dylib must be 64-bit starting January...
Hello, When I try to upload the .macOS app of a xamarin.forms Cross-Platform solution to iTunes Connect (Apple macOS App Store), I get this message: " 1 package(s) were not uploaded because they had...
View Articlegetting Logged in User name from root process
i am having root process which have get the information about the logged in user. the daemon is running as root and need to get the logged user name in xamarin.mac. please help
View ArticleIs it possible to show Xamarin.Forms page in native Xamarin Cocoa app
I have a native Cocoa App in Xamarin. I have a PCL from other app that contains few pages (like Settings / Login etc). I want to embed the page inside my NSView Is it possible (in Beta / Pre-release)
View ArticleCannot create Cocoa App
Hi i want to create an application on Mac. I stated to read this topics https: //blog.xamarin.com/building-your-first-macos-app/ https://developer.xamarin.com/guides/mac/getting_started/hello,_mac/ But...
View ArticleRepeating Task.Delay causes a large delay
I'm developing Xamarin.Mac(Cocoa) using C#. I want to develop application waiting seconds sometimes, so I developed waiting function using Task.Delay. But repeating Task.Delay causes a large delay....
View ArticleBadge for source list control in visual studio for mac
Hi, i have two questions: 1) Does visual studio support badges for source list. I would like to show number of item in each category in a source list. I couldn't find any support on internet for it. I...
View Article