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
0 answers

MvvmCross Plugin convention for Xamarin.Mac

I would like to add a Xamarin.Mac implementation to our MvvmCross plugins. In the wiki (wiki link) it lists the platform naming conventions as: Android: Acme.Vibrate.Droid.dll iOS: Acme.Vibrate.Touch.dll WindowsPhone: Acme.Vibrate.WindowsPhone.dll…
IUnknown
  • 2,596
  • 4
  • 35
  • 52
0
votes
1 answer

Upgrading a code signed Mono app causes KeyChain to stop access without reboot

We've a mono app that we sign and bundle into an app on OSX. Our app accesses the keychain for stored passwords, stored using the app name This works fine, until we perform an upgrade. On upgrade we replace the .app contents with the (also signed)…
penderi
  • 8,673
  • 5
  • 45
  • 62
0
votes
1 answer

Get FQDN in C# running on Mono

I'm using Xamarin.mac. I need to get the fully qualified domain name of the local computer. On Windows this code works: public string GetFQDN() { string domainName =…
exvance
  • 1,339
  • 4
  • 13
  • 31
0
votes
1 answer

Regression in NSKeyedUnarchiver

My code which uses NSKeyedUnarchiver now throws a TypeLoadException when using the latest monomac from Git: System.EntryPointNotFoundException: monomac_IntPtr_objc_msgSend_IntPtr at at (wrapper managed-to-native)…
TheNextman
  • 12,428
  • 2
  • 36
  • 75
0
votes
2 answers

NSUserNotificationCenterDelegate methods not called on only one machine

I'm trying to use NSUserNotificationCenter. I'm able to deliver notifications successfully. I'm using the ShouldPresentNotification callback on NSUserNotificationCenterDelegate to present notifications, even when the app is running in the…
TheNextman
  • 12,428
  • 2
  • 36
  • 75
0
votes
1 answer

monomac / Xamarin.Mac - derived NSTextField using NSTextViewDelegate

In objective-C, I can make my subclass of NSTextField conform to the the NSTextViewDelegate protocol - like so: @interface PasswordField : NSTextField How can I translate this idiom to C# / monomac? I have tried subclassing…
TheNextman
  • 12,428
  • 2
  • 36
  • 75
-1
votes
1 answer

Xamarin Mac minimize to tray on close button

I want change behavior of standard close button of window. When user clicked on it then minimize to tray, not close window. How can I do this? P.S Here is a small video example of this behavior on Slack application. I want do same.
Max951
  • 51
  • 4
-1
votes
1 answer

How to capture mouse events at console application in Xamarin.Mac

How to capture kmouse events at console application in Xamarin.Mac, NSEvent is disable.
AmFish
  • 7
  • 2
-1
votes
1 answer

How to install a missing Xamarin SDK for an existing installation of Visual Studio for Mac?

I want to develop a Mac app using Xamarin. However, when I open the New Project wizard, the Mac templates are nowhere to be found. I saw "Missing Project Templates for Mac Apps" on the Xamarin forum, but I could not find much else about this topic…
grooveplex
  • 2,492
  • 4
  • 28
  • 30
-1
votes
1 answer

C# Headless Browser for mono / mac / xamarin?

I don't intend to beat a dead horse here but I know there's selenium, awesomium, phantomjs, etc. They all don't seem compatible with mono and you have to kind of pull teeth to set it up. I need a very light weight headless browser that supports…
C O
  • 45
  • 10
-1
votes
1 answer

Xamarin Mac Agent Connection Error in Visual Studio 2015

When i am trying to connect Mac i am getting this error when i trying to connect VS2015 is Closed Automatically. How can i solve this problem
Srinivas Ch
  • 1,202
  • 2
  • 19
  • 34
-2
votes
1 answer

mono does not port macOS cocoa 100% correctly

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…
arachide
  • 8,006
  • 18
  • 71
  • 134
-2
votes
1 answer

How can I set animation effect while drag and drop row in NSTableView in Xamarin.Mac

I can able to reordering row i.e drag and drop from one index position to another index position in NSTableView in mac but I am not able to get any effect while dragging and dropping row. How can I set any styling for feel to rows are reordering. I…
Deepak
  • 545
  • 1
  • 12
  • 36
-2
votes
1 answer

FileNotFoundException although file exists

My program's throwing a FileNotFoundException, although the file is definitely there. I'm currently working on an application that used plugins. In the plugin directory, there is a file "plugins.include", where one can list locations of dlls to be…
SimonC
  • 1,547
  • 1
  • 19
  • 43
1 2 3
38
39