摘要:
Swift中闭包反向传值 1.第二控制器申明一个闭包类型 2.第二控制器定义一个变量 3.第一控制器实现回调 4.第二控制器传值 阅读全文
posted @ 2017-08-29 12:20
Milo_D
阅读(526)
评论(0)
推荐(0)
摘要:
swift中代理的使用 首先定义一份协议。 protocol DetailsViewControllerDelegate: NSObjectProtocol{ func fetchBackString(str: String) } 声明代理属性 weak var delegate: DetailsV 阅读全文
posted @ 2017-08-29 12:12
Milo_D
阅读(203)
评论(0)
推荐(0)
摘要:
创建UIImagePickerController //设置导航栏背景颜色 picker.navigationBar.barTintColor = HexRGB(0x4294FE); //设置右侧取消按钮的字体颜色 picker.navigationBar.tintColor = [UIColor 阅读全文
posted @ 2017-08-29 10:35
Milo_D
阅读(2384)
评论(0)
推荐(0)

浙公网安备 33010602011771号