ãããªæãã§ãããã§ããããï¼ if let touch = touches.first as? UITouch åç §å ããæç² Error: Set doesn't have the method anyObject() if let touch = touches.anyObject() as UITouch? { Now that you have a Swift Set that has typed objects you need to update your cast if you use one with the touches parameter. Fix: Use one of the new methods of Set like first or last, which return optional NSObject values There's a couple
{{#tags}}- {{label}}
{{/tags}}