是否可以在Monotouch中导入Xcode框架?

时间:2023-01-12 18:42:20

Is it possible to import a Xcode framework To Monotouch?? (if so, how can I do it??)

是否可以将Xcode框架导入到Monotouch中?(如果是的话,我怎么做呢?)

1 个解决方案

#1


4  

If by import you mean being able to use the frameworks provided by iOS then YES you can be either:

如果“导入”指的是能够使用iOS提供的框架,那么你可以是:

a) use what's already provided by MonoTouch - i.e. most of the API provided by Apple are already binded and provided;

a)使用MonoTouch已经提供的内容——即苹果提供的大部分API已经绑定和提供;

b) creating the binding yourself - anything missing (e.g. new stuff) or third-parties libraries/frameworks can be bound using the btouch tool [1] (for ObjectiveC code) or using .NET p/invoke mechanism.

b)自己创建绑定——任何丢失的东西(比如新东西)或第三方库/框架都可以使用btouch工具[1](用于objective - ec代码)或使用。net p/invoke机制进行绑定。

[1] http://ios.xamarin.com/Documentation/Binding_New_Objective-C_Types

[1]http://ios.xamarin.com/Documentation/Binding_New_Objective-C_Types

#1


4  

If by import you mean being able to use the frameworks provided by iOS then YES you can be either:

如果“导入”指的是能够使用iOS提供的框架,那么你可以是:

a) use what's already provided by MonoTouch - i.e. most of the API provided by Apple are already binded and provided;

a)使用MonoTouch已经提供的内容——即苹果提供的大部分API已经绑定和提供;

b) creating the binding yourself - anything missing (e.g. new stuff) or third-parties libraries/frameworks can be bound using the btouch tool [1] (for ObjectiveC code) or using .NET p/invoke mechanism.

b)自己创建绑定——任何丢失的东西(比如新东西)或第三方库/框架都可以使用btouch工具[1](用于objective - ec代码)或使用。net p/invoke机制进行绑定。

[1] http://ios.xamarin.com/Documentation/Binding_New_Objective-C_Types

[1]http://ios.xamarin.com/Documentation/Binding_New_Objective-C_Types