uispec

Simulating UITouch in xCode 4.5 programmatically (UISpec)

天大地大妈咪最大 提交于 2019-12-08 00:15:32
问题 I'm using UISpec for automated testing in my project. Everything was fine until Apple released xCode 4.5 with iOS 6 SDK. Now UISpec project can't be compiled because a list of errors in category of UITouch class. Here is the code: // // TouchSynthesis.m // SelfTesting // // Created by Matt Gallagher on 23/11/08. // Copyright 2008 Matt Gallagher. All rights reserved. // // Permission is given to use this source code file, free of charge, in any // project, commercial or otherwise, entirely at