Mocking a UIKit Delegate Protocol with Kiwi
A technical guide on mocking UIKit delegate protocols, specifically UIAlertViewDelegate, using the Kiwi testing framework in Objective-C.
Paul Solt is an iPhone app expert and educator behind Super Easy Apps, helping beginners learn iOS development through practical, holistic training. He also creates apps like Brew Coffee for Apple Watch and shares iOS tips, testing techniques, and UIKit insights on his blog.
14 articles from this blog
A technical guide on mocking UIKit delegate protocols, specifically UIAlertViewDelegate, using the Kiwi testing framework in Objective-C.
A guide to solving UIKit-related unit testing issues for iOS static libraries using the Kiwi BDD framework.
A tutorial on implementing custom actions and UIMenuController for UICollectionView in iOS development.
A technical guide on fixing iOS app links to Facebook pages, addressing a change in the Facebook app's behavior.
A guide to fixing duplicate code signing identities for 'Any iOS SDK' in Xcode projects by editing the project file.
A developer creates an Objective-C/C++ wrapper for Leap Motion SDK to enable hands-free mouse control on Mac OSX using finger tracking and ray tracing.
A brief tutorial on using Apple's Social.framework in iOS 6 to post content to Facebook, Twitter, and Sina Weibo with minimal code.
Guide to correctly integrating NSApplicationDelegate with NSDocument in a macOS 10.8 document-based app using Xcode and ARC.
A follow-up to an iPhone programming presentation, providing slides and a sample Xcode project demonstrating gesture-based temperature conversion.
A guide to setting up and writing unit tests for iOS apps in Xcode 4, covering project configuration, resource management, and bundle paths.
A technical guide on implementing NSDocument with folder bundles and UTI identifiers for macOS applications, covering common pitfalls and solutions.
Explores Siri's potential to revolutionize iOS app development through voice recognition and an open API for innovative software.
A developer compares clang++ and g++ compilers, highlighting clang++'s superior and more helpful error messages for debugging C++ code.
A technical guide on creating a transparent UITableView with a custom background view and implementing tap gestures to hide/show the table.