Questions tagged [monomac]

MonoMac is an open source library for building Cocoa applications on Mac OS X using Mono.

MonoMac: an open-source foundation for building Cocoa applications on OSX using Mono.

MonoMac is the result of years of experimentation in blending .NET with Objective-C and is inspired by the same design principles that we used for MonoTouch.

It is also the result of weekend hacking as our day to day work revolves around Mono's efforts on Linux servers, Linux desktops, Visual Studio integration and our mobile efforts. Luckily, it shares some components with MonoTouch.

A new commercially supported offering, Xamarin.Mac, is a superset of MonoMac and include a license to deploy the Mono runtime (without the LGPL requirements).

328 questions
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

NSApplication.SharedApplication.Terminate doesn't actually terminate my application after unhandled exception

I am developing a simple application for OSX with MonoMac. When my application experiences unhandled exceptions, I catch them with: AppDomain.CurrentDomain.UnhandledException += (sender, e) => Unhandled(e.ExceptionObject as Exception); Inside…
Erlend D.
  • 3,013
  • 6
  • 37
  • 59
0
votes
1 answer

Check QtKit Dependencies for embedded Player

I have an application written in C# with MonoMac, that embeds a QuickTime player, so i want to know: Is possible uninstall QuickTime? If it is possible uninstall QuickTime, this prevents use the QTKit? In case that, the uninstall process will…
GustavoTM
  • 485
  • 6
  • 13
0
votes
0 answers

Process.Start within application bundle on Mac (using MonoMac)

I am using MonoMac do develop a very simple application for Mac. I have a solution consisting of two projects: the main project, and the auto updater. The main project references the auto updater, so that the auto updater becomes a part of the…
Erlend D.
  • 3,013
  • 6
  • 37
  • 59
0
votes
1 answer

MonoMac Exceptions Not Bubbling Up‏

I'm relatively new to MonoMac, and I'm having a problem handling exceptions that are thrown from a referenced assembly. I'm building my GUI on OS X 10.7 (MonoMac 2.10, MonoDevelop 3.1, Xcode 4.3), and I'm referencing a .NET 4.5 assembly I built on…
LandonC
  • 889
  • 1
  • 16
  • 28
0
votes
1 answer

Merging Mono Runtime 3.0.4 with MonoDevelop 3.x fails

I'm trying to merge the Mono Runtime (v 3.0.4) with a MonoMac application, but since the upgrade to 3.0.4 (from 2.10.11) this fails with the following error: Merging Mono Runtime into app…
NeoDarque
  • 3,222
  • 3
  • 19
  • 21
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
0
votes
1 answer

Compare .NET execution to Mono (on OSX)

I built an application in .NET and works great. I'm currently in the process of making a Mono port for OSX but have come across a very weird bug. In one area of my code it seems to output completely different data on Mono than on .NET yet as far as…
shmuelie
  • 1,205
  • 1
  • 9
  • 24
0
votes
1 answer

MonoMac BeginSheet issues

I'm writing a MonoMac app and I'm struggling with the BeginSheet. I have a number of problems with it, and will list them in the hope that it is a common problem across them all. I have managed to get my BeginSheet to show my Login Window as a…
0
votes
2 answers

Simple mvvmcross monotouch with xib support (and monomac)

I tried the simpledroid with INotifyPropertyChanged and ICommand successfully. I want to do the same with monotouch and xib designer,but without TouchDialog. Is there a way to implement without inheriting from mvx class as in monodroid? Is it…
0
votes
1 answer

FTP upload with monomac

is it possible to write a program that uploads files to a FTP by using mono development tools and a monomac project? is FTP upload supported by the framework or will i have to invent something painfully complex, way beyond my skills? thanks
sharkyenergy
  • 3,842
  • 10
  • 46
  • 97
0
votes
1 answer

Playback State in QTKit

I have an application that reads audio from internet using QTkit, the problem is, that i need get the state of the playback from the QTMovie object (e.g.: Buffering, Playing, Paused, etc.) but can't find any method or property to do that Anyone…
GustavoTM
  • 485
  • 6
  • 13
0
votes
0 answers

Catching every exception in Monomac

Does anybody know how to catch all exceptions in monomac? On windows .net I wrap the run loop in a try{}catch and also use: Application.ThreadException + AppDomain.CurrentDomain.UnhandledException It would nice to be able to get crash reports from…
Gordon Truslove
  • 724
  • 2
  • 10
  • 19
0
votes
1 answer

Setting the target platform to mac OSX 10.5 (Leopard) in MonoDevelop with MonoMac?

I've been writing cross platform GTK# projects in MonoDevelop (2.8.8.4) for a month or so, and I thought I'd try my hand at something that looks and breathes a little more like a Mac application. When I create a "Cocoa Application" in MonoDevelop I…
happy coder
  • 1,517
  • 1
  • 14
  • 29
0
votes
1 answer

Printing in Monomac

How do I print in monomac? This is as far as I can get, but I can't seem to get a reference to the graphics context in the NSView. If I add a control to the PrintDoc that's fine, but I want to draw. //Print Function void Print(){ PrintDoc NewDoc…
Gordon Truslove
  • 724
  • 2
  • 10
  • 19
1 2 3
21
22