Skip to content

NengQuan/MYCityListViewController

Repository files navigation

MYCityListViewController

==============

License MIT  Carthage compatible 

MYCityListViewController



中文介绍

iOS 城市选择控制器。

兼容性

该项目能很好的兼容 iPhone / iPad / iPod,兼容 iOS 8 / 9, 并且能很好的处理屏幕旋转。

用法

// 初始化城市控制器,并设置代理
 MYCityListViewController *cityVC = [[MYCityListViewController alloc] init];
 cityVC.delegate = self;

// 遵守代理协议
<MYCityListViewControllerDelegaate>
	
	// 实现代理方法
- (void)didSelectCity:(NSString *)cityName
{
    [self.cityButton setTitle:cityName forState:UIControlStateNormal];
}

============== so easy

About

CityListViewController

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published