JLChen
2021-05-14 e6ecfbf5aa4cf8b35d3945954c3c21b95fa85d58
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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; }
    }
 
    // typedef void (^SortSelectionBlock)(NSString * _Nonnull);
    delegate void SortSelectionBlock(string arg0);
 
    // @interface JLSortSelectionViewController : UIViewController
    [BaseType(typeof(UIViewController))]
    interface JLSortSelectionViewController
    {
        // @property (copy, nonatomic) SortSelectionBlock _Nonnull sortSelectionBlock;
        [Export("sortSelectionBlock", ArgumentSemantic.Copy)]
        SortSelectionBlock SortSelectionBlock { get; set; }
 
        // @property (copy, nonatomic) NSDictionary * _Nonnull sortedNameDict;
        [Export("sortedNameDict", ArgumentSemantic.Copy)]
        NSDictionary SortedNameDict { get; set; }
 
        // @property (copy, nonatomic) NSString * _Nonnull titleStr;
        [Export("titleStr")]
        string TitleStr { get; set; }
    }
 
}