Initial commit

This commit is contained in:
ifish
2017-08-15 16:59:01 +08:00
commit bdc83e07ef
5766 changed files with 423223 additions and 0 deletions
@@ -0,0 +1,34 @@
//
// XWCountryCodeController.h
// XWCountryCodeDemo
//
// Created by 邱学伟 on 16/4/19.
// Copyright © 2016年 邱学伟. All rights reserved.
// 国家代码选择界面
#import <UIKit/UIKit.h>
//1.代理传值
@protocol XWCountryCodeControllerDelegate <NSObject>
@optional
-(void)returnCountryCode:(NSString *)countryCode;
@end
//2.block传值 typedef void(^returnBlock)(NSString *showText);
typedef void(^returnCountryCodeBlock) (NSString *countryCodeStr);
@interface XWCountryCodeController : UIViewController
//代理
@property (nonatomic, assign) id<XWCountryCodeControllerDelegate> deleagete;
//block
//block声明属性
@property (nonatomic, copy) returnCountryCodeBlock returnCountryCodeBlock;
//block声明方法
-(void)toReturnCountryCode:(returnCountryCodeBlock)block;
@end