Hi, it's my first try to bind Objective C to C#. Please help me as soon as
possible. THANK YOU!
So, problems:
1. How can I bind EXTERN METHOD that is not in any interfaces.
*extern NSString* NSStringFromIIViewDeckSide(IIViewDeckSide side);
extern IIViewDeckOffsetOrientation
IIViewDeckOffsetOrientationFromIIViewDeckSide(IIViewDeckSide side);*
2.How can I convert this define statement.
*#define IIViewDeckCenterHiddenCanTapToClose(interactivity) ((interactivity)
== IIViewDeckCenterHiddenNotUserInteractiveWithTapToClose || (interactivity)
== IIViewDeckCenterHiddenNotUserInteractiveWithTapToCloseBouncing)
#define IIViewDeckCenterHiddenIsInteractive(interactivity) ((interactivity)
== IIViewDeckCenterHiddenUserInteractive)*
3. As fas as I understood to bind I need only APIDefinition and library *.a.
So I create APIDefinition from *.h file. Or maybe I need also bind some code
from *.m file?
4. If @interface has private fields do I need to describe it in class?
*@interface IIViewDeckController : UIViewController {
@private
CGPoint _panOrigin;
UInt32 _viewAppeared;
BOOL _viewFirstAppeared;
UInt32 _sideAppeared[6];
CGFloat _ledge[5];
UIViewController* _controllers[6];
CGFloat _offset, _maxLedge;
CGSize _preRotationSize, _preRotationCenterSize;
BOOL _preRotationIsLandscape;
IIViewDeckOffsetOrientation _offsetOrientation;
UIInterfaceOrientation _willAppearShouldArrangeViewsAfterRotation;
}*
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/Urgent-Problem-with-binding-Objective-C-to-C-tp4658096.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch