2017-02-17 02:24:40 +03:00
|
|
|
using System;
|
2017-02-22 18:47:11 +03:00
|
|
|
using UIKit;
|
|
|
|
using ObjCRuntime;
|
|
|
|
using Foundation;
|
2017-02-17 02:24:40 +03:00
|
|
|
|
|
|
|
namespace WrapTest {
|
2022-11-18 01:04:21 +03:00
|
|
|
|
2017-02-17 02:24:40 +03:00
|
|
|
[BaseType (typeof (NSObject))]
|
|
|
|
interface MyFooClass {
|
2022-11-18 01:04:21 +03:00
|
|
|
|
2017-02-17 02:24:40 +03:00
|
|
|
[Export ("fooString")]
|
|
|
|
string FooString { get; }
|
|
|
|
|
|
|
|
[Wrap ("(NSString) FooString", isVirtual: true)]
|
|
|
|
NSString FooNSString { get; }
|
|
|
|
|
|
|
|
[Wrap ("(NSString) FooString")]
|
|
|
|
NSString FooNSStringN { get; }
|
|
|
|
|
|
|
|
[Export ("fooWithContentsOfURL:")]
|
|
|
|
void FromUrl (NSUrl url);
|
|
|
|
|
|
|
|
[Wrap ("FromUrl (NSUrl.FromString (url))", isVirtual: true)]
|
|
|
|
void FromUrl (string url);
|
|
|
|
|
|
|
|
[Wrap ("FromUrl (NSUrl.FromString (url))")]
|
|
|
|
void FromUrlN (string url);
|
|
|
|
}
|
2021-08-11 11:06:46 +03:00
|
|
|
}
|