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; } } }