提示Set 中并没有anyObject 方法 请问怎么修改呢
1条回答 默认 最新
- sun_ljz 2015-07-13 09:47关注
Set可以这样取里面的对象
let touch = touches.first if touch != nil { let point = touch!.locationInView(self); }
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
Set可以这样取里面的对象
let touch = touches.first
if touch != nil {
let point = touch!.locationInView(self);
}