Re: C Sharp?

2015-07-17 Thread Jens Alfke
On 16 Jul 2015, at 21:26, Gary L. Wade garyw...@desisoftsystems.com mailto:garyw...@desisoftsystems.com wrote: Just keep in mind that according to Apple's App Store rules, this qualifies as interpreted code. I worked on a really well known app that used a C# component for a fairly

Re: C Sharp?

2015-07-17 Thread Uli Kusterer
On 14 Jul 2015, at 19:48, Dave d...@looktowindward.com wrote: Does anyone know of a tool/framework that allows C# code to be compiled and called from Cocoa? Dave, are you aware of Elements (http://www.elementscompiler.com/elements/) ? It's not quite your solution, but it allows creating a

Re: C Sharp?

2015-07-17 Thread Dave
On 17 Jul 2015, at 09:08, Uli Kusterer witness.of.teacht...@gmx.net wrote: On 14 Jul 2015, at 19:48, Dave d...@looktowindward.com wrote: Does anyone know of a tool/framework that allows C# code to be compiled and called from Cocoa? Dave, are you aware of Elements

Re: C Sharp?

2015-07-17 Thread Jonathan Mitchell
On 17 Jul 2015, at 09:08, Uli Kusterer witness.of.teacht...@gmx.net wrote: On 14 Jul 2015, at 19:48, Dave d...@looktowindward.com wrote: Does anyone know of a tool/framework that allows C# code to be compiled and called from Cocoa? Dave, are you aware of Elements

Re: C Sharp?

2015-07-17 Thread Jonathan Mitchell
On 17 Jul 2015, at 16:48, Gary L. Wade garyw...@desisoftsystems.com wrote: As mentioned before, the app I referred to that Apple flagged was for the Mac App Store not the iOS App Store. If what you say is true, the current team will probably want to try again even after a recent rejection

Re: C Sharp?

2015-07-17 Thread Gary L. Wade
As mentioned before, the app I referred to that Apple flagged was for the Mac App Store not the iOS App Store. If what you say is true, the current team will probably want to try again even after a recent rejection (far more recent than 2010; we even talked with an evangelist a few months ago);

Re: C Sharp?

2015-07-17 Thread Jonathan Mitchell
On 16 Jul 2015, at 21:26, Gary L. Wade garyw...@desisoftsystems.com wrote: Just keep in mind that according to Apple's App Store rules, this qualifies as interpreted code. I worked on a really well known app that used a C# component for a fairly important piece of functionality, and that

Re: C Sharp?

2015-07-17 Thread Gary L. Wade
That link isn't very useful. It pretty much regurgitates what Apple has already published and doesn't address the issue of rejection. Nevertheless, it's not my concern anymore, but I've forwarded your statements on to the team for further evaluation. -- Gary L. Wade (Sent from my iPhone)

Re: C Sharp?

2015-07-16 Thread Dave
Thanks for this, yes, I imagined there would be a lot of overhead using this approach, but there’s at least 6 man years of development gone into the C# code and it’s not really viable to rewrite it in Objective-C if it’s even possible. All the Best Dave On 14 Jul 2015, at 22:14, Jens Alfke

Re: C Sharp?

2015-07-16 Thread Dave
Hi All, It seems that the Mono Framework is 32 Bit and needs to be recompiled for 64 Bit. See - https://github.com/ThesaurusSoftware/Dubrovnik In the Overview Section: Building 64 Bit Mono Framework To build 64 bit see http://www.mono-project.com/Compiling_Mono_on_OSX The build does not

Re: C Sharp?

2015-07-16 Thread Jonathan Mitchell
Hi Dave On 16 Jul 2015, at 12:13, Dave d...@looktowindward.com wrote: Hi All, It seems that the Mono Framework is 32 Bit and needs to be recompiled for 64 Bit. I’m a bit confused by this, does it mean that I need to Build Mono from http://www.mono-project.com/Compiling_Mono_on_OSX or

Re: C Sharp?

2015-07-16 Thread Dave
I’m trying to run this Script: PREFIX=/usr/local # Ensure you have write permissions to /usr/local mkdir $PREFIX sudo chown -R `whoami` $PREFIX PATH=$PREFIX/bin:$PATH # Download and build dependencies mkdir ~/Build cd ~/Build curl -O ftp://ftp.gnu.org/gnu/m4/m4-1.4.17.tar.gz curl -O

Re: C Sharp?

2015-07-16 Thread Jens Alfke
On Jul 16, 2015, at 6:38 AM, Dave d...@looktowindward.com wrote: -bash: ./MonoDependanciesInstall.sh: Permission denied You can’t invoke a shell script directly as a command unless the file has executable permission. Either do ‘chmod +x MonoDependanciesInstall.sh’ first, or just run it as

Re: C Sharp?

2015-07-16 Thread Gary L. Wade
Just keep in mind that according to Apple's App Store rules, this qualifies as interpreted code. I worked on a really well known app that used a C# component for a fairly important piece of functionality, and that part could not be in our App Store version (the non-App Store could keep it), and

Re: C Sharp?

2015-07-16 Thread Dave
I managed to install Home Brew and the Dependancies, but permission problems running this Scrpt: PATH=$PREFIX/bin:$PATH git clone https://github.com/mono/mono.git cd mono ./autogen.sh --prefix=$PREFIX --disable-nls make make install What should $PREFIX be set to? To build Mono from a Git

Re: C Sharp?

2015-07-16 Thread Glenn R. Martin
Is there any reason we can't just provide a lipo'd fat archive of both 32 and 64? That wouldn't break MonoDevelop I would think. Sent from my iPhone On Jul 16, 2015, at 09:38, Dave d...@looktowindward.com wrote: I’m trying to run this Script: PREFIX=/usr/local # Ensure you have

Re: C Sharp?

2015-07-16 Thread Jonathan Mitchell
On 16 Jul 2015, at 19:56, Glenn R. Martin lifewar...@yahoo.com wrote: Is there any reason we can't just provide a lipo'd fat archive of both 32 and 64? I don’t know why this isn’t done (or else I am missing something). I can build Mono okay on OS X but I never located the packaging script

Re: C Sharp?

2015-07-16 Thread Dave
On 16 Jul 2015, at 21:26, Gary L. Wade garyw...@desisoftsystems.com wrote: Just keep in mind that according to Apple's App Store rules, this qualifies as interpreted code. I worked on a really well known app that used a C# component for a fairly important piece of functionality, and that

Re: C Sharp?

2015-07-16 Thread Michael David Crawford
This is done in two different ways for java and pascal. In principle either would work for C# but I do not know of any actual implementations. One could add C# to clang or some other front end to buil native code as does the gcj ahead of time java compiler. You will still need to link to a

Re: C Sharp?

2015-07-16 Thread Gary L. Wade
Actually the requirements are for both Mac and iOS; the app I referred to was on the Mac App Store. But, if that's not an issue, then that's okay. I just wanted to point that out in case it was a potentiality. -- Gary L. Wade (Sent from my iPhone) http://www.garywade.com/ On Jul 16, 2015, at

Re: C Sharp?

2015-07-14 Thread Dave
On 14 Jul 2015, at 19:49, Jonathan Mitchell jonat...@mugginsoft.com wrote: On 14 Jul 2015, at 18:48, Dave d...@looktowindward.com wrote: Hi, Does anyone know of a tool/framework that allows C# code to be compiled and called from Cocoa? You could check out Dubrovnik.

Re: C Sharp?

2015-07-14 Thread Jens Alfke
On Jul 14, 2015, at 1:04 PM, Dave d...@looktowindward.com wrote: I looked at that, but unless I am mistaken, it allow you to bind Cocoa to C# not the other way round? At some level those amount to the same thing. The difference is which side wants to “own” the process — with Xamarin IIRC

Re: C Sharp?

2015-07-14 Thread Dave
I looked at that, but unless I am mistaken, it allow you to bind Cocoa to C# not the other way round? I want to be able to compile some existing C# code and then call it Cocoa. Cheers Dave On 14 Jul 2015, at 18:56, Sixten Otto hims...@sfko.com wrote: On Tue, Jul 14, 2015 at 10:48 AM,

Re: C Sharp?

2015-07-14 Thread Jonathan Mitchell
On 14 Jul 2015, at 18:48, Dave d...@looktowindward.com wrote: Hi, Does anyone know of a tool/framework that allows C# code to be compiled and called from Cocoa? You could check out Dubrovnik. https://github.com/ThesaurusSoftware/Dubrovnik The solution includes a code generator that

C Sharp?

2015-07-14 Thread Dave
Hi, Does anyone know of a tool/framework that allows C# code to be compiled and called from Cocoa? All the Best Dave ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list.

Re: C Sharp?

2015-07-14 Thread Sixten Otto
On Tue, Jul 14, 2015 at 10:48 AM, Dave d...@looktowindward.com wrote: Does anyone know of a tool/framework that allows C# code to be compiled and called from Cocoa? You mean like http://xamarin.com/platform ? ___ Cocoa-dev mailing list