Questions tagged [monobjc]

Monobjc is a .NET/Objective-C bridge set of libraries that helps to develop Mac OS X application by using .NET languages.

The Monobjc bridge provides the necessary tools to develop and run .NET applications (written in C#, VB.NET, etc.) that interact with Objective-C frameworks and libraries under Mac OS X. Existing Objective-C classes can be used in .NET code in an almost transparent manner.

The Monobjc bridge also comes with the tools to bundle the required parts of the Mono framework into your application; no Mono installation is needed prior the deployment of a Monobjc based application.

20 questions
4
votes
1 answer

How to download older version of MonoDevelop?

After I updated my MonoDevelop IDE to the latest version 3.0.1, my Monobjc project is not detected anymore. I tried reinstalling Monobjc, but the add-ins are not installed since they only support MonoDevelop 2.8. The project browser shows the…
ddelver
  • 456
  • 3
  • 9
3
votes
3 answers

MonoMac - how can I execute apple script

I am trying to create a simple app with MonoMac and need to execute apple script to access playlist information from different media players (see my previous question). I decided to give MonoMac a try because I am very familiar with C# and .net…
Zebi
  • 8,682
  • 1
  • 36
  • 42
3
votes
0 answers

CPU usage percentage, using c# and monobjc to run remotely on a mac from a virtual machine

In case you need to know this is monobjc http://www.monobjc.net/ (I'm specifically referencing that part that allows you to run on a remote mac) As I said I am coding in C# in Visual Studio and I am using monobjc to run on the hosting mac computer,…
Alioo
  • 417
  • 1
  • 4
  • 19
2
votes
2 answers

Monobjc and Mac UI for Windows Application

I've got an application which was written in C# and is running on Windows and Linux using Mono. Now we need a native user interface for the Mac. Is there a way of doing this using Monobjc? Did anyone ever work with it? Is there any other…
flohei
  • 5,248
  • 10
  • 36
  • 61
2
votes
1 answer

Monobjc :: Add NSStatusItem

I'm trying to add an NSStatusItem from within the Monobjc bridge for Mono. The function gets called, and doesn't throw an exception, but my icon doesn't appear :(. Here 's my code: #define DEBUG_APP using System; using Monobjc.Cocoa; using…
friedkiwi
  • 2,158
  • 8
  • 29
  • 52
2
votes
1 answer

Xbuild/Mono errors when building monobjc Native App

I'm trying to build a native monobjc bundle from the command line using xbuild (on OSX 10.8). I've built my Cocoa Application using Xamarin Studios and the Monobjc addin. I can successfully run "Create Monobjc Bundle" > "Export As Native…
DeusExMachina25
  • 597
  • 6
  • 12
1
vote
1 answer

Adding outlets and actions in XCode 4 for a Monobjc Application

I've been following the tutorials in http://www.monobjc.net/ in order to do a small Mac app using monobjc for the GUI. However they are using Interface Builder 3 in order to create the actions and outlets that are needed and I can't find a way to…
1
vote
0 answers

IKImageView issue on 10.5.8

I am using Monobjc and Mono to develop an application where the user can zoom in on images. The very first image shows up fine. But when the user navigates to the next image, it shows up blank with a white background. And the subsequent images also…
Prashant
  • 2,190
  • 4
  • 33
  • 64
1
vote
1 answer

Audio and Video file

I am using mono 2.10.4 and monobjc. I want to be able to play H264 video file and an mp3 file. Monotouch has examples of playing the same on their web site(http://wiki.ios.xamarin.com/HowTo/Video/HowTo%3a_Playback_a_Video.). But can the same be…
Prashant
  • 2,190
  • 4
  • 33
  • 64
1
vote
1 answer

Using GL_TEXTURE_2D and GL_TEXTURE_3D together

Preface I have a test application that draws the following: The left triangles are drawn via: GL.glBegin(GL.GL_TRIANGLES); { for (int i = 0; i < 50; i++) { GL.glColor4d(rand.NextDouble(), rand.NextDouble(), rand.NextDouble(),…
Lu4
  • 14,873
  • 15
  • 79
  • 132
1
vote
1 answer

Context Menu in NSTextView

I am using NSTextView for the user to type their response. I have turned on continuous spell check and the incorrect words have a red line under them. I have a shared SpellChecker which I am using. But I want the user to do a right click and correct…
Prashant
  • 2,190
  • 4
  • 33
  • 64
1
vote
1 answer

loadNibFile - nib file not loaded

Is there a way to query why a nib file could not load? The result is simply YES or NO: http://developer.apple.com/library/mac/#documentation/cocoa/reference/ApplicationKit/Classes/NSBundle_AppKitAdditions/Reference/Reference.html. Thanks, Eric
ehsk
  • 99
  • 9
1
vote
1 answer

Images in RTF getting lost on Mac

I have RTF text which I am showing to the user on Mac. Now I need to replace some text. The text has some images inline. When I execute the following code, the images are getting lost. I am using c#, Mono and Monobjc to run this on mac. NSText…
Prashant
  • 2,190
  • 4
  • 33
  • 64
1
vote
1 answer

VB Project Template for Monobjc in MonoDevelop?

After installing Monobjc and playing around with the Monobjc Application Project under C# in MonoDevelop, I noticed that there is only an empty Monobjc project under the VB section. Obviously this template adds all the correct references but doesn't…
Ira Rainey
  • 5,173
  • 2
  • 34
  • 42
1
vote
1 answer

Can you link iOS specific libraries with monobjc

I seems like the monobjc is a low level bridge to the Cocoa API, and it states it works with Mac OSX. Since there is no mention of iOS, does this mean you cannot use this bridge to access touch based libraries?
1
2