I am getting this warning, What do I do????
/Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/msbuild/15.0/bin/Microsoft.Common.CurrentVersion.targets(5,5): Warning MSB3276: Found conflicts between different versions of the same...
View ArticleHow will access NSSplitViewDelegate methods, constrains etc.
I am using NSSplitView in my application. I was trying to access NSSplitViewDelegate methods, constrains etc. I tried a lot but not able to accesses NSSplitViewDelegate methods, constrains etc. I am...
View ArticleHow can I bundle a helper application inside another bundle?
Hi there, I followed several howtos in order to have my application start on login. I was somehow able to do it by manually copy the helper bundle inside the main app bundle at...
View ArticleToggle word wrapping in an NSTextView
I had looked at the apple docs, and I think I must be thick. How do you enable wordwrapping in the NSTextView? I'd like to setup a checkbox toggle to dynamically turn this off or on -- and from what I...
View ArticleHow to implement custom cut/copy/paste
I want to have custom cut/copy/paste actions for a particular NSView. This view has items the user can select and should be able to perform copy/paste on. From what I've seen, creating a method with...
View ArticleWKWebView control
When I create a Mac Cocoa app there are 2 WebKit View controls available for use: Legacy WebView with direction to use WKWebView WKWebView the core view class in the Web Kit Framework When "connecting"...
View ArticleHow to use WKWebView instead of WebView
I'm working on a Xamarin.Forms app with a WebView in MacOS custom rendered. I think by default it is using WebKit.WebView. I'm having issues loading a local web app (with file:///), but this app works...
View ArticleI have tried everything to get my Mac app to connect to MySQL.
I have MySql.Data.dll version 6.10.5.0 installed and selected in the .Net Assembly tab: Here is my code: using System; using AppKit; using Foundation; using MySql; using MySql.Data; using...
View ArticlePrinting rotated text to a printer
I have an app that displays data in a spreadsheet format with each column labelled vertically. Works well. However, I now need to produce a printed output. It needs to be more than just a screen dump....
View ArticleBring Front the CALayer over the the NSView in Xamarin.Forms.macOS.
Hi Team, We experiencing a atypical behavior in our application which is developed in Xamarin.Forms.macOS project. Application Scenario: We are using a custom NSView class which holds the ListViewItems...
View ArticleHow to make file extension association with my app?
Hi, guys! I am really need your help. I try to associate a file extension with my C# application on mac, so a double click on a this file type in Finder will open my application. I couldn't find any...
View ArticleCan I add a MacOS project in visual studio 2017 for windows?
I tried to add a MacOS project to my .Net PCL, but there were no optrions for Mac anywhere. When I copied my folder entire folder over to my Mac, I was able to add a MacOS project, but none of the...
View ArticleDetecting pressed down keys in Xamarin macOS
Hi, Is there any way to check are there any buttons pressed down? Not necessarily interested in the events. Thanks!
View ArticleHow to use ImageKit IKScannerDeviceView to access a scanner device
Hi, I am trying to write a cocoa application using Xamarin.Mac. I need to scan documents from a scanner device. So far, I haven't been able to get it working using the IKScannerDeviceView from the...
View ArticleHow to eject an external drive in C# on MacOS
Hopefully this is the right forum - I cannot find anything about this on the 'net. What function can I use to properly eject an external drive using C# on MacOS?
View ArticleIOKit Framework
How do i use IOKit Framework in my Xamarin.Mac Project. I need to use (for example) IOHIDManagerRegisterDeviceMatchingCallback(HIDManagerRef,c_GNHIDDriver_DeviceAddedCallBack, this); CFSetRef...
View ArticleKeep a window on top of Main window
Hi, I want to keep a window on top of Main window. For this I used mboxBrowsController.Window.Level = NSWindowLevel.Dock; Its working but when i click on another application window which is already...
View ArticleHow to disable a paste menu in Secure Text field.
I'd like to know how to disable Paste in Secure Text field. I created custom secure text field and custom secure text field cell as below. https://github.com/simeon052/MenuDisabledSecureTextFieldTest...
View ArticleIs it possible to make the share extension for the Store app?
I have experimented quite a bit with this, thought it must be my error. But as I tried the simple project from the scratch I am more and more inclined to think that there is some bug in Xamarin.Mac....
View ArticleHow to open multiple instance of Visual studio in MAC
Hello, How can i open more than 1 instance of Visual Studio in MAC desktop. I am not finding any way to do that. Thank you
View Article