摘要:
1、声明委托对象,并根据需要设置方法为可选还是必选,默认设置可选@optional @protocol CCHighSeasPoolDistributeDelegate <NSObject> @optional - (void)updateQuerySize:(NSInteger)querysize 阅读全文
posted @ 2021-05-17 17:12
奔跑的小蚂蚁9538
阅读(45)
评论(0)
推荐(0)
摘要:
通知在开发中用的比较多,主要用于页面之间传值,今天结合文档,整理小结一下。 1、在通知中心发送消息,主要通过名字区分,有参数的话可以用第二种方式 [[NSNotificationCenter defaultCenter] postNotificationName:@"CCHighSeasPoolUp 阅读全文
posted @ 2021-05-17 17:05
奔跑的小蚂蚁9538
阅读(39)
评论(0)
推荐(0)