18 строки
343 B
C#
18 строки
343 B
C#
using System;
|
|
using System.Drawing;
|
|
using ObjCRuntime;
|
|
using Foundation;
|
|
using UIKit;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace BindingTests
|
|
{
|
|
delegate NSObject MyBlockToBind (NSObject[] keys);
|
|
|
|
[BaseType (typeof (NSObject))]
|
|
interface TestInterface {
|
|
[Export ("testMethod:")]
|
|
void TestMethod (MyBlockToBind myBlockToBind);
|
|
}
|
|
}
|