我可以使用Objective-C的单色库(在iPhone上)吗?

时间:2022-09-07 09:15:40

I am investigating a port of an app to the iPhone. My existing business logic is C# in a class library dll. It does some processing as well as sommunicating with web sites.

我正在调查iPhone的应用程序端口。我现有的业务逻辑是类库dll中的C#。它可以进行一些处理以及与网站进行通信。

I understand that Objective-C is the best thing to develop with on the iPhone and I'm prepared to dive in, but if possible I want to avoid re-writing the existing logic code.

我知道Objective-C是在iPhone上开发的最好的东西,我准备深入研究,但如果可能的话,我想避免重写现有的逻辑代码。

If I rework the .NET library in mono (assuming that is possible), is there a way of using the mono output from Objective-C on the iPhone?

如果我用单声道重做.NET库(假设可行),有没有办法在iPhone上使用Objective-C的单声道输出?

Any hints welcome!

任何提示都欢迎!

Cheers Chris

2 个解决方案

#1


Yes, you can use the static compilation feature of Mono to develop C# for the iPhone. Here is a link to some details on how to accomplish this

是的,您可以使用Mono的静态编译功能为iPhone开发C#。以下是有关如何完成此操作的一些详细信息的链接

#2


This appears to provide the ability to load a CLR assembly and call into it from Objective-C:

这似乎提供了加载CLR程序集并从Objective-C调用它的能力:

#1


Yes, you can use the static compilation feature of Mono to develop C# for the iPhone. Here is a link to some details on how to accomplish this

是的,您可以使用Mono的静态编译功能为iPhone开发C#。以下是有关如何完成此操作的一些详细信息的链接

#2


This appears to provide the ability to load a CLR assembly and call into it from Objective-C:

这似乎提供了加载CLR程序集并从Objective-C调用它的能力: