# ExclusiveTouchDemo **Repository Path**: TomorrowYcl/exclusivetouchdemo ## Basic Information - **Project Name**: ExclusiveTouchDemo - **Description**: 给UIView创建一个分类UIView+ExclusiveTouch,通过runtime 运行机制,给UIView 补充一个属性,如ygExclusiveTouch,遵守UIAppearance和UIAppearanceContainer协议,并对属性使用UI_APPEARANCE_SELECTOR 声明 ,并实现getter/setter方法,要在set方法中添加self.exclusiveTouch = ygExclusiveTouch;设置属性。 UIView虽然遵守了UIAppearance 和 UIAppearanceContainer协议(支持UIAppearance协议的类可以访问appearance selector ,它为receiver返回appearance proxy,我么可以给proxy发一些消息),并能正常调用[[UIView appearance] setExclusiveTouch:YES]; (无警告,无报错),但 exclusiveTouch 并没有被声明UI_APPEARANCE_SELECTOR,低版本上可能是无效的,甚至会抛出 unknow - **Primary Language**: Objective-C - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2018-03-17 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README No README documentation available for this project.