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

Can you P/Invoke missing OpenTK methods in Mac Visual Studio / Xamarin?

The preview release of Visual studio for Mac uses OpenTK 0,0,0,0 from Package Xamarin.Mac.framework This is missing numerous calls I need, GL.BindVertexArray GL.DeleteVertexArray GL.GenVertexArrays Is there some way to P/Invoke these and how…
andrew
  • 27
  • 6
0
votes
0 answers

NullReferenceException on SoapHttpClientProtocol.ReadResponse

I'm using Xamarin.mac and mono (4.6.2) to deploy a .Net application to macOS and Linux. This application uses the VirtualBox SDK which is provided through a SOAP webservice. On Windows and Linux this works fine but on macOS I get a strange…
daniel.herken
  • 1,095
  • 7
  • 19
0
votes
1 answer

How to delay search while typing NSSearchField

I'm using AppKit.NSSearchField and need to delay search event while user is typing, for example to filter data after 2 sec. I have added action from interface builder - 'On end editing', but it is called too often while typing . Is there any native…
Nininea
  • 2,671
  • 6
  • 31
  • 57
0
votes
1 answer

Can't connect VS2017 RC to mac agent

I had a configuration where VS 2015 was successfully connecting with Xamarin Mac Agent on same network. I upgraded to VS 2017 RC & now the VS fails connecting to xamarin mac agent with error: " Couldn't connect to 'your-mac-name' Please try…
Supreet
  • 831
  • 1
  • 9
  • 30
0
votes
1 answer

How to create .app file to pkg installer for mac with desktop shortcut icon

We have created the xamarin mac application. Now we have build app to pkg installer using iceberg 3rd party tool. We need to make shortcut icon in the desktop for the Xamarin mac app. Please advice!
0
votes
0 answers

Visual Studio Preview for Mac and Xamarin Mono 4 Issue

I have been using Xamarin Studio on a Mac to write an app, and am sharing a lot of the code and projects with a Linux Mono project. For this reason I have to target the Mono / .NET 4.5 framework. In the Mac project settings for target framework,…
user856232
  • 1,073
  • 2
  • 14
  • 40
0
votes
0 answers

Split view controller memory management

I use simple split view controller in my osx application... split item 0 is used for menu and second one is for content (like in slack application). I get memory leak, so need optimizations ... here is what I do when menu item is clicked: partial…
0
votes
1 answer

Change highlight color of NSTableView selected row

how to change NSTable selected row background color? here is good answer, but it is for uitable view . For now,what I see is that I can change selected hilight style : MyTAble.SelectionHighlightStyle =…
Nininea
  • 2,671
  • 6
  • 31
  • 57
0
votes
0 answers

Dismiss view controller doesn't deallocate memory

I have several modals in my application , here is extentions method what I use for every of them: public static void CloseAndDismissViewController (this NSViewController vc) { vc.View.Window.Close (); …
Nininea
  • 2,671
  • 6
  • 31
  • 57
0
votes
1 answer

Why am I getting a "requires Indie (or higher) license" error while using Xamarin Community?

I am a European high school student who codes apps part-time. I've been using Xamarin Studio for around a year now on my Mac thanks to their amazing Student program. It recently expired for me, so I tried to renew it, only to find out that it's now…
0
votes
2 answers

NSTokenField value changed notification

while typing inside NSTokenField I show suggestions for this value, with GetCompletionStrings from NSTokenFieldDelegate public override string [] GetCompletionStrings (NSTokenField tokenField, string substring, nint tokenIndex, nint…
Nininea
  • 2,671
  • 6
  • 31
  • 57
0
votes
1 answer

NSTableCellView Image View action

I need to call catch action of ImageView inside NSTableCellView. I add some action for it, but when I click the row action is not called... I have set accept touch event property true, but no result PatientTableView.AcceptsTouchEvents = true;
Nininea
  • 2,671
  • 6
  • 31
  • 57
0
votes
1 answer

NSTableCellView ImageView is null

I use simple NSTableViewDelegate , inside GetViewForItem method I find with with Identifier NSTableCellView view = (NSTableCellView)tableView.MakeView (tableColumn.Identifier, this); If Identifier is "Img" view should contain ImageView : switch…
Nininea
  • 2,671
  • 6
  • 31
  • 57
0
votes
2 answers

How to populate NSOutlineView in Xamarin Mac having 2 different nested Lists

I am developing a application in Xamarin for Mac which requires a TreeView. I am implementing NSOutlineView to achieving TreeView. I want to populate the outline view from a list which itself contains a list of different type. for example the List…
0
votes
1 answer

Xamarin mac 2.10 compatible exif library

I used https://www.nuget.org/packages/ExifLib.PCL/ library, before update. I'm not able to use this library now : Could not install package 'ExifLib.PCL 1.0.1'. You are trying to install this package into a project that targets …
Nininea
  • 2,671
  • 6
  • 31
  • 57