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

OAuth2Authenticator with Google and FaceBook on Mac

I am developing an application in mac using xamarin which needs to be connected with Google and FaceBook. I tried to use OAuth2Authenticator to Authenticate the users using below code: var auth = new OAuth2Authenticator ( clientId:…
0
votes
1 answer

Linking stdlibs with Xamarin

I have created a simple binding project with Xamarin. The binding project imports a static library MyLibrary.a. It also contains ApiDefinition.cs and StructAndEnum.cs made through sharpie tool. Now I have an iOS project that links that binding…
Lorenzo B
  • 33,216
  • 24
  • 116
  • 190
0
votes
1 answer

Where is generate makefile menu option?

I have Xamarin 5.9.6 (build 23) running on a MacBook Pro. Currently, I'm working on a large C# project and I need to compile it and run it on a server. But first, I need to generate a makefile so that, in the server, I just issue the "make" command…
rak
  • 13
  • 1
0
votes
1 answer

How to pass data from Mac Automator to Xamarin.Mac C# application?

I am new to osx and xamarin development. I have developed an application to do some stuff on a given folder using Xamarin.Mac in C#. I added this application to right-click menu of folders in Finder using Automator Service. How can I pass the name…
Asela
  • 303
  • 1
  • 5
  • 16
0
votes
1 answer

How to increase space between cells or rows of Xamarin forms list view for iOS?

I am working on Xamarin forms project and I've used list view in it. I'm trying to add space between two cells of a list. I've used renderer for that and successfully accomplished it in android. I'm using same approach on iOS but not getting any…
Amrut
  • 2,655
  • 3
  • 24
  • 44
0
votes
3 answers

Xamarin iOS simulator can't connect to Rest API

I'm trying to set up a Xamarin Project (for the first time) in Visual Studio 2013. I'm using a Portable Class Library for my API consumer classes, which (among other methods) contains a GET method like this: private static async Task
MichaelCleverly
  • 2,473
  • 1
  • 24
  • 33
0
votes
1 answer

Bundle Multiple Xamarin apps in one pkg installer

I have few Xamarin apps and I want to bundle them all as a single pkg/installer and organize them into a folder under Applications similar to the following snapshot attached. Is there an option to specify additional Xamarin apps in the bundle…
Sumalatha Abhishek
  • 641
  • 1
  • 8
  • 16
0
votes
1 answer

Xamarin creating "Xamarin Form PCL" app

Hi I am relatively new to Xamarin, and I found this project type called PCL which imports all of the references I need. But when it gets built it doesn't seem to come with any platforms just the simple solution seen below in the picture. Therefore…
user3329290
0
votes
1 answer

Rename causes "You can't open the application "XXXXX" because it may be damaged or incomplete." after updating to Xamarin.Mac

Edit: Turns out this was not a codesigning issue, so I'm updating to help anyone who runs into the same problem. After updating a MonoMac app to Xamarin.Mac, if I changed the name of the app, I would get the message "You can't open the application…
tghw
  • 25,208
  • 13
  • 70
  • 96
0
votes
1 answer

Mac Os X: Ways (IDEs, Tools, etc.) to develop application with using C# without bootcamp and virtual machine

I'm a student who is studying Business Informatics. In college, we are using Visual Studio but at home I'm a Mac user. This is where the problem starts; I installed Vmware Fusion to install Windows 7 and Visual Studio but I didn't like its…
Eren Yatkin
  • 186
  • 2
  • 9
0
votes
2 answers

using .net framework to develop cocoa application

thanks for reading this and helping. I am comp sci intern, I mostly code winform applications using C# .net framework on windows. Recently, for job requirement, I have to make an application on Mac OS, which could be opened by just one…
Jay Hu
  • 6,041
  • 3
  • 22
  • 33
0
votes
1 answer

Xamarin.Mac: Error "the native class hasn't been loaded" when creating instance of native class, cannot dlopen

I am trying to get a very simple test framework to work in MonoMac / Xamarin.Mac. It's a 32-bit framework that has only one method, "run" that simply returns the NSString @"OK". When I import the dll and create an instance of the class it throws the…
Lucas van Dongen
  • 9,328
  • 7
  • 39
  • 60
0
votes
1 answer

Xamarin.MAC Activity logger (keyboard, mouse, active window)

I recently wrote a simple c# application that run on windows and logs user activity (keyboard, mouse and active window). Now It's required for the application to run on MAC. So I am thinking of purchasing a xamarin subscription to make my…
Teddy
  • 304
  • 5
  • 17
0
votes
1 answer

Xamarin Drop overlay filters

I have to create Drop Overlay filters, as in the image below, The drop overlay should appear on click of the filter icon in the toolbar. For now i am using the following code, Which do now serve the purpose as per the requirement. private void…
0
votes
1 answer

Is there a Xamarin.Mac non-modal NSAlert dialog?

In Xamarin.Mac, I can easily create an NSAlert, and call RunModal(). The problem is, this hogs the MainThread, and blocks other things from running. For example, if a thread from ThreadPool calls InvokeOnMainThread( delegate => {…
Edward Ned Harvey
  • 6,525
  • 5
  • 36
  • 45