JLChen
2021-01-08 70a80eaaea19bd7ec14f42bf022f3e0216ac6960
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;
 
using ObjCRuntime;
using Foundation;
using UIKit;
 
namespace Shared.IOS.JLCountryCode
{
    // typedef void (^selectCountryCodeBlock)(NSString * _Nonnull, NSString * _Nonnull);
    delegate void selectCountryCodeBlock(string countryName, string code);
 
    // @interface JLCountryCodeController : UIViewController
    [BaseType(typeof(UIViewController))]
    interface JLCountryCodeController
    {
        // @property (copy, nonatomic) selectCountryCodeBlock _Nonnull selectCountryCodeBlock;
        [Export("selectCountryCodeBlock", ArgumentSemantic.Copy)]
        selectCountryCodeBlock SelectCountryCodeBlock { get; set; }
    }
}