├── Tests ├── Pods │ ├── Pods-ECSlidingViewController.xcconfig │ ├── Headers │ │ ├── Kiwi │ │ │ ├── KWStub.h │ │ │ ├── KWAny.h │ │ │ ├── Kiwi.h │ │ │ ├── KWBlock.h │ │ │ ├── KWIntercept.h │ │ │ ├── KWMock.h │ │ │ ├── KWNull.h │ │ │ ├── KWProbe.h │ │ │ ├── KWSpec.h │ │ │ ├── KWValue.h │ │ │ ├── KWCallSite.h │ │ │ ├── KWExample.h │ │ │ ├── KWFailure.h │ │ │ ├── KWItNode.h │ │ │ ├── KWMatcher.h │ │ │ ├── KWMatchers.h │ │ │ ├── KWMatching.h │ │ │ ├── KiwiMacros.h │ │ │ ├── KWBlockNode.h │ │ │ ├── KWCaptureSpy.h │ │ │ ├── KWCountType.h │ │ │ ├── KWDeviceInfo.h │ │ │ ├── KWFormatter.h │ │ │ ├── KWMessagePattern.h │ │ │ ├── KWProbePoller.h │ │ │ ├── KWReporting.h │ │ │ ├── KWSymbolicator.h │ │ │ ├── KWWorkarounds.h │ │ │ ├── KWAfterAllNode.h │ │ │ ├── KWAfterEachNode.h │ │ │ ├── KWBeforeAllNode.h │ │ │ ├── KWContextNode.h │ │ │ ├── KWExampleNode.h │ │ │ ├── KWExampleSuite.h │ │ │ ├── KWFutureObject.h │ │ │ ├── KWHaveMatcher.h │ │ │ ├── KWMessageSpying.h │ │ │ ├── KWNilMatcher.h │ │ │ ├── KWObjCUtilities.h │ │ │ ├── KWPendingNode.h │ │ │ ├── KWVerifying.h │ │ │ ├── KiwiBlockMacros.h │ │ │ ├── KWAsyncVerifier.h │ │ │ ├── KWBeEmptyMatcher.h │ │ │ ├── KWBeTrueMatcher.h │ │ │ ├── KWBeZeroMatcher.h │ │ │ ├── KWBeforeEachNode.h │ │ │ ├── KWChangeMatcher.h │ │ │ ├── KWContainMatcher.h │ │ │ ├── KWEqualMatcher.h │ │ │ ├── KWExampleDelegate.h │ │ │ ├── KWExistVerifier.h │ │ │ ├── KWExpectationType.h │ │ │ ├── KWGenericMatcher.h │ │ │ ├── KWMatchVerifier.h │ │ │ ├── KWMatcherFactory.h │ │ │ ├── KWMessageTracker.h │ │ │ ├── KWRaiseMatcher.h │ │ │ ├── KWReceiveMatcher.h │ │ │ ├── KWStringUtilities.h │ │ │ ├── KiwiConfiguration.h │ │ │ ├── KWBeBetweenMatcher.h │ │ │ ├── KWBeWithinMatcher.h │ │ │ ├── KWExampleNodeVisitor.h │ │ │ ├── KWHaveValueMatcher.h │ │ │ ├── KWInvocationCapturer.h │ │ │ ├── KWBlockRaiseMatcher.h │ │ │ ├── KWExampleSuiteBuilder.h │ │ │ ├── KWInequalityMatcher.h │ │ │ ├── KWRegisterMatchersNode.h │ │ │ ├── KWStringPrefixMatcher.h │ │ │ ├── KWUserDefinedMatcher.h │ │ │ ├── NSNumber+KiwiAdditions.h │ │ │ ├── NSValue+KiwiAdditions.h │ │ │ ├── KWBeIdenticalToMatcher.h │ │ │ ├── KWBeKindOfClassMatcher.h │ │ │ ├── KWContainStringMatcher.h │ │ │ ├── KWGenericMatchEvaluator.h │ │ │ ├── KWStringContainsMatcher.h │ │ │ ├── NSInvocation+OCMAdditions.h │ │ │ ├── NSObject+KiwiSpyAdditions.h │ │ │ ├── KWBeMemberOfClassMatcher.h │ │ │ ├── KWBeSubclassOfClassMatcher.h │ │ │ ├── KWConformToProtocolMatcher.h │ │ │ ├── KWGenericMatchingAdditions.h │ │ │ ├── KWRespondToSelectorMatcher.h │ │ │ ├── NSInvocation+KiwiAdditions.h │ │ │ ├── NSObject+KiwiMockAdditions.h │ │ │ ├── NSObject+KiwiStubAdditions.h │ │ │ ├── NSObject+KiwiVerifierAdditions.h │ │ │ ├── NSProxy+KiwiVerifierAdditions.h │ │ │ ├── NSMethodSignature+KiwiAdditions.h │ │ │ └── KWRegularExpressionPatternMatcher.h │ │ └── ECSlidingViewController │ │ │ ├── ECSlidingSegue.h │ │ │ ├── ECSlidingConstants.h │ │ │ ├── ECSlidingViewController.h │ │ │ ├── ECSlidingAnimationController.h │ │ │ ├── ECSlidingInteractiveTransition.h │ │ │ ├── ECPercentDrivenInteractiveTransition.h │ │ │ └── UIViewController+ECSlidingViewController.h │ ├── BuildHeaders │ │ ├── Kiwi │ │ │ ├── KWStub.h │ │ │ ├── KWAny.h │ │ │ ├── Kiwi.h │ │ │ ├── KWBlock.h │ │ │ ├── KWIntercept.h │ │ │ ├── KWMock.h │ │ │ ├── KWNull.h │ │ │ ├── KWProbe.h │ │ │ ├── KWSpec.h │ │ │ ├── KWValue.h │ │ │ ├── KWCallSite.h │ │ │ ├── KWExample.h │ │ │ ├── KWFailure.h │ │ │ ├── KWItNode.h │ │ │ ├── KWMatcher.h │ │ │ ├── KWMatchers.h │ │ │ ├── KWMatching.h │ │ │ ├── KiwiMacros.h │ │ │ ├── KWBlockNode.h │ │ │ ├── KWCaptureSpy.h │ │ │ ├── KWCountType.h │ │ │ ├── KWDeviceInfo.h │ │ │ ├── KWFormatter.h │ │ │ ├── KWMessagePattern.h │ │ │ ├── KWProbePoller.h │ │ │ ├── KWReporting.h │ │ │ ├── KWSymbolicator.h │ │ │ ├── KWWorkarounds.h │ │ │ ├── KWAfterAllNode.h │ │ │ ├── KWAfterEachNode.h │ │ │ ├── KWBeforeAllNode.h │ │ │ ├── KWContextNode.h │ │ │ ├── KWExampleNode.h │ │ │ ├── KWExampleSuite.h │ │ │ ├── KWFutureObject.h │ │ │ ├── KWHaveMatcher.h │ │ │ ├── KWMessageSpying.h │ │ │ ├── KWNilMatcher.h │ │ │ ├── KWObjCUtilities.h │ │ │ ├── KWPendingNode.h │ │ │ ├── KWVerifying.h │ │ │ ├── KiwiBlockMacros.h │ │ │ ├── KWAsyncVerifier.h │ │ │ ├── KWBeEmptyMatcher.h │ │ │ ├── KWBeTrueMatcher.h │ │ │ ├── KWBeZeroMatcher.h │ │ │ ├── KWBeforeEachNode.h │ │ │ ├── KWChangeMatcher.h │ │ │ ├── KWContainMatcher.h │ │ │ ├── KWEqualMatcher.h │ │ │ ├── KWExampleDelegate.h │ │ │ ├── KWExistVerifier.h │ │ │ ├── KWExpectationType.h │ │ │ ├── KWGenericMatcher.h │ │ │ ├── KWMatchVerifier.h │ │ │ ├── KWMatcherFactory.h │ │ │ ├── KWMessageTracker.h │ │ │ ├── KWRaiseMatcher.h │ │ │ ├── KWReceiveMatcher.h │ │ │ ├── KWStringUtilities.h │ │ │ ├── KiwiConfiguration.h │ │ │ ├── KWBeBetweenMatcher.h │ │ │ ├── KWBeWithinMatcher.h │ │ │ ├── KWExampleNodeVisitor.h │ │ │ ├── KWHaveValueMatcher.h │ │ │ ├── KWInvocationCapturer.h │ │ │ ├── KWBlockRaiseMatcher.h │ │ │ ├── KWExampleSuiteBuilder.h │ │ │ ├── KWInequalityMatcher.h │ │ │ ├── KWRegisterMatchersNode.h │ │ │ ├── KWStringPrefixMatcher.h │ │ │ ├── KWUserDefinedMatcher.h │ │ │ ├── NSNumber+KiwiAdditions.h │ │ │ ├── NSValue+KiwiAdditions.h │ │ │ ├── KWBeIdenticalToMatcher.h │ │ │ ├── KWBeKindOfClassMatcher.h │ │ │ ├── KWContainStringMatcher.h │ │ │ ├── KWGenericMatchEvaluator.h │ │ │ ├── KWStringContainsMatcher.h │ │ │ ├── NSInvocation+OCMAdditions.h │ │ │ ├── NSObject+KiwiSpyAdditions.h │ │ │ ├── KWBeMemberOfClassMatcher.h │ │ │ ├── KWBeSubclassOfClassMatcher.h │ │ │ ├── KWConformToProtocolMatcher.h │ │ │ ├── KWGenericMatchingAdditions.h │ │ │ ├── KWRespondToSelectorMatcher.h │ │ │ ├── NSInvocation+KiwiAdditions.h │ │ │ ├── NSObject+KiwiMockAdditions.h │ │ │ ├── NSObject+KiwiStubAdditions.h │ │ │ ├── NSObject+KiwiVerifierAdditions.h │ │ │ ├── NSProxy+KiwiVerifierAdditions.h │ │ │ ├── NSMethodSignature+KiwiAdditions.h │ │ │ └── KWRegularExpressionPatternMatcher.h │ │ └── ECSlidingViewController │ │ │ ├── ECSlidingSegue.h │ │ │ ├── ECSlidingConstants.h │ │ │ ├── ECSlidingViewController.h │ │ │ ├── ECSlidingAnimationController.h │ │ │ ├── ECSlidingInteractiveTransition.h │ │ │ ├── ECPercentDrivenInteractiveTransition.h │ │ │ └── UIViewController+ECSlidingViewController.h │ ├── Pods-ECSlidingViewController-prefix.pch │ ├── Pods-dummy.m │ ├── Pods-Kiwi-dummy.m │ ├── Pods-Kiwi-prefix.pch │ ├── Pods-ECSlidingViewController-dummy.m │ ├── Kiwi │ │ ├── Classes │ │ │ ├── Core │ │ │ │ ├── KWCaptureSpy.h │ │ │ │ ├── NSValue+KiwiAdditions.h │ │ │ │ ├── KWProbe.h │ │ │ │ ├── KWCountType.h │ │ │ │ ├── KWDeviceInfo.h │ │ │ │ ├── KWExpectationType.h │ │ │ │ ├── KWReporting.h │ │ │ │ ├── KWMessageSpying.h │ │ │ │ ├── KWFormatter.h │ │ │ │ ├── NSObject+KiwiVerifierAdditions.h │ │ │ │ ├── KiwiBlockMacros.h │ │ │ │ ├── KWAny.h │ │ │ │ ├── KWExampleDelegate.h │ │ │ │ ├── NSObject+KiwiSpyAdditions.h │ │ │ │ ├── NSMethodSignature+KiwiAdditions.h │ │ │ │ ├── KWAny.m │ │ │ │ ├── KWNull.h │ │ │ │ ├── NSObject+KiwiVerifierAdditions.m │ │ │ │ ├── KWNull.m │ │ │ │ ├── KWProbePoller.h │ │ │ │ ├── KWFutureObject.h │ │ │ │ ├── KWWorkarounds.h │ │ │ │ ├── NSProxy+KiwiVerifierAdditions.h │ │ │ │ ├── KWBlock.h │ │ │ │ ├── NSMethodSignature+KiwiAdditions.m │ │ │ │ ├── NSValue+KiwiAdditions.m │ │ │ │ ├── KWDeviceInfo.m │ │ │ │ ├── KWStringUtilities.h │ │ │ │ ├── KWCallSite.h │ │ │ │ ├── NSProxy+KiwiVerifierAdditions.m │ │ │ │ ├── KWExampleSuite.h │ │ │ │ ├── KWWorkarounds.m │ │ │ │ ├── KiwiConfiguration.h │ │ │ │ ├── KWMatcher.h │ │ │ │ ├── KWFailure.h │ │ │ │ ├── KWFutureObject.m │ │ │ │ ├── KWMatching.h │ │ │ │ ├── KWMatchers.h │ │ │ │ ├── KWExampleNodeVisitor.h │ │ │ │ ├── KWBlock.m │ │ │ │ ├── NSInvocation+KiwiAdditions.h │ │ │ │ ├── NSObject+KiwiSpyAdditions.m │ │ │ │ ├── KWSpec.h │ │ │ │ ├── KWInvocationCapturer.h │ │ │ │ ├── KWMatcherFactory.h │ │ │ │ ├── KWObjCUtilities.h │ │ │ │ ├── NSNumber+KiwiAdditions.h │ │ │ │ ├── KWCallSite.m │ │ │ │ ├── KWMessageTracker.h │ │ │ │ └── NSInvocation+OCMAdditions.h │ │ │ ├── Matchers │ │ │ │ ├── KWBeZeroMatcher.h │ │ │ │ ├── KWBeEmptyMatcher.h │ │ │ │ ├── KWEqualMatcher.h │ │ │ │ ├── KWBeIdenticalToMatcher.h │ │ │ │ ├── KWBeKindOfClassMatcher.h │ │ │ │ ├── KWBeMemberOfClassMatcher.h │ │ │ │ ├── KWBeSubclassOfClassMatcher.h │ │ │ │ ├── KWRespondToSelectorMatcher.h │ │ │ │ ├── KWConformToProtocolMatcher.h │ │ │ │ ├── KWBeTrueMatcher.h │ │ │ │ ├── KWGenericMatchEvaluator.h │ │ │ │ ├── KWBeWithinMatcher.h │ │ │ │ ├── KWStringPrefixMatcher.h │ │ │ │ ├── KWInequalityMatcher.h │ │ │ │ ├── KWBlockRaiseMatcher.h │ │ │ │ ├── KWBeBetweenMatcher.h │ │ │ │ ├── KWRegularExpressionPatternMatcher.h │ │ │ │ ├── KWGenericMatcher.h │ │ │ │ ├── KWNilMatcher.h │ │ │ │ ├── KWChangeMatcher.h │ │ │ │ ├── KWHaveValueMatcher.h │ │ │ │ ├── KWRaiseMatcher.h │ │ │ │ ├── KWStringContainsMatcher.h │ │ │ │ ├── KWContainMatcher.h │ │ │ │ ├── KWGenericMatchingAdditions.h │ │ │ │ ├── KWStringPrefixMatcher.m │ │ │ │ ├── KWStringContainsMatcher.m │ │ │ │ ├── KWGenericMatcher.m │ │ │ │ ├── KWBeZeroMatcher.m │ │ │ │ ├── KWConformToProtocolMatcher.m │ │ │ │ ├── KWRespondToSelectorMatcher.m │ │ │ │ ├── KWBeKindOfClassMatcher.m │ │ │ │ ├── KWBeMemberOfClassMatcher.m │ │ │ │ ├── KWContainStringMatcher.h │ │ │ │ ├── KWHaveMatcher.h │ │ │ │ ├── KWBeSubclassOfClassMatcher.m │ │ │ │ ├── KWBeTrueMatcher.m │ │ │ │ └── KWBeEmptyMatcher.m │ │ │ ├── Mocking │ │ │ │ ├── NSObject+KiwiMockAdditions.h │ │ │ │ └── NSObject+KiwiMockAdditions.m │ │ │ ├── Nodes │ │ │ │ ├── KWAfterAllNode.h │ │ │ │ ├── KWAfterEachNode.h │ │ │ │ ├── KWBeforeAllNode.h │ │ │ │ ├── KWBeforeEachNode.h │ │ │ │ ├── KWExampleNode.h │ │ │ │ ├── KWAfterAllNode.m │ │ │ │ ├── KWAfterEachNode.m │ │ │ │ ├── KWBeforeAllNode.m │ │ │ │ ├── KWBeforeEachNode.m │ │ │ │ ├── KWBlockNode.m │ │ │ │ ├── KWItNode.h │ │ │ │ ├── KWRegisterMatchersNode.h │ │ │ │ ├── KWBlockNode.h │ │ │ │ ├── KWPendingNode.h │ │ │ │ ├── KWRegisterMatchersNode.m │ │ │ │ ├── KWPendingNode.m │ │ │ │ └── KWItNode.m │ │ │ └── Verifiers │ │ │ │ ├── KWVerifying.h │ │ │ │ ├── KWExistVerifier.h │ │ │ │ ├── KWAsyncVerifier.h │ │ │ │ └── KWMatchVerifier.h │ │ ├── NonARC │ │ │ ├── KWSymbolicator.h │ │ │ ├── KWMessagePattern.h │ │ │ ├── KWStub.h │ │ │ ├── KWSymbolicator.m │ │ │ └── KWIntercept.h │ │ ├── Readme.md │ │ └── License.txt │ ├── Pods-Kiwi.xcconfig │ ├── Pods-ECSlidingViewController-Private.xcconfig │ ├── Pods-Kiwi-Private.xcconfig │ ├── Manifest.lock │ ├── Pods.xcconfig │ ├── Local Podspecs │ │ └── ECSlidingViewController.podspec │ └── Pods-environment.h ├── Podfile ├── ECSlidingViewController.xcworkspace │ └── contents.xcworkspacedata ├── ECSlidingViewController-Prefix.pch ├── ao-kiwi-progress ├── Podfile.lock └── ECSlidingViewControllerTests-Info.plist ├── Examples ├── Pods │ ├── Pods-ECSlidingViewController.xcconfig │ ├── Pods-LayoutDemo-ECSlidingViewController.xcconfig │ ├── Pods-TransitionFun-ECSlidingViewController.xcconfig │ ├── Headers │ │ └── ECSlidingViewController │ │ │ ├── ECSlidingSegue.h │ │ │ ├── ECSlidingConstants.h │ │ │ ├── ECSlidingViewController.h │ │ │ ├── ECSlidingAnimationController.h │ │ │ ├── ECSlidingInteractiveTransition.h │ │ │ ├── ECPercentDrivenInteractiveTransition.h │ │ │ └── UIViewController+ECSlidingViewController.h │ ├── BuildHeaders │ │ └── ECSlidingViewController │ │ │ ├── ECSlidingSegue.h │ │ │ ├── ECSlidingConstants.h │ │ │ ├── ECSlidingViewController.h │ │ │ ├── ECSlidingAnimationController.h │ │ │ ├── ECSlidingInteractiveTransition.h │ │ │ ├── ECPercentDrivenInteractiveTransition.h │ │ │ └── UIViewController+ECSlidingViewController.h │ ├── Pods-ECSlidingViewController-prefix.pch │ ├── Pods-dummy.m │ ├── Pods-LayoutDemo-ECSlidingViewController-prefix.pch │ ├── Pods-TransitionFun-ECSlidingViewController-prefix.pch │ ├── Pods-LayoutDemo-dummy.m │ ├── Pods-TransitionFun-dummy.m │ ├── Pods-ECSlidingViewController-dummy.m │ ├── Pods.xcconfig │ ├── Pods-LayoutDemo.xcconfig │ ├── Pods-TransitionFun.xcconfig │ ├── Pods-LayoutDemo-ECSlidingViewController-dummy.m │ ├── Pods-TransitionFun-ECSlidingViewController-dummy.m │ ├── Manifest.lock │ ├── Pods-ECSlidingViewController-Private.xcconfig │ ├── Pods-LayoutDemo-ECSlidingViewController-Private.xcconfig │ ├── Pods-TransitionFun-ECSlidingViewController-Private.xcconfig │ ├── Pods-environment.h │ ├── Pods-LayoutDemo-environment.h │ ├── Pods-TransitionFun-environment.h │ ├── Local Podspecs │ │ └── ECSlidingViewController.podspec │ ├── Pods-acknowledgements.markdown │ ├── Pods-LayoutDemo-acknowledgements.markdown │ └── Pods-TransitionFun-acknowledgements.markdown ├── BasicMenu │ └── BasicMenu │ │ ├── en.lproj │ │ └── InfoPlist.strings │ │ ├── BasicMenu-Prefix.pch │ │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── LaunchImage.launchimage │ │ │ └── Contents.json │ │ ├── BasicMenu-Info.plist │ │ ├── MEAppDelegate.h │ │ ├── MEMenuViewController.h │ │ ├── main.m │ │ └── MEMenuViewController.m ├── LayoutDemo │ └── LayoutDemo │ │ ├── en.lproj │ │ └── InfoPlist.strings │ │ ├── LayoutDemo-Prefix.pch │ │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── LaunchImage.launchimage │ │ │ └── Contents.json │ │ ├── MEAppDelegate.h │ │ ├── main.m │ │ └── LayoutDemo-Info.plist ├── TransitionFun │ └── TransitionFun │ │ ├── en.lproj │ │ └── InfoPlist.strings │ │ ├── Images.xcassets │ │ ├── menu-background.imageset │ │ │ ├── menu-background.png │ │ │ ├── menu-background@2x.png │ │ │ └── Contents.json │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── LaunchImage.launchimage │ │ │ └── Contents.json │ │ ├── TransitionFun-Prefix.pch │ │ ├── MEAppDelegate.h │ │ ├── MESettingsViewController.h │ │ ├── MEMenuViewController.h │ │ ├── TransitionFun-Info.plist │ │ ├── main.m │ │ ├── METransitionsViewController.h │ │ ├── MEFoldAnimationController.h │ │ └── MEZoomAnimationController.h ├── Podfile.lock └── Podfile ├── Gemfile ├── .travis.yml ├── Gemfile.lock ├── Examples.xcworkspace └── contents.xcworkspacedata ├── .gitignore ├── Rakefile ├── ECSlidingViewController.podspec └── LICENSE /Tests/Pods/Pods-ECSlidingViewController.xcconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Examples/Pods/Pods-ECSlidingViewController.xcconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWStub.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/NonARC/KWStub.h -------------------------------------------------------------------------------- /Examples/Pods/Pods-LayoutDemo-ECSlidingViewController.xcconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWStub.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/NonARC/KWStub.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWAny.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWAny.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/Kiwi.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/Kiwi.h -------------------------------------------------------------------------------- /Examples/Pods/Pods-TransitionFun-ECSlidingViewController.xcconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWAny.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWAny.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/Kiwi.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/Kiwi.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWBlock.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWBlock.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWIntercept.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/NonARC/KWIntercept.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWMock.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Mocking/KWMock.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWNull.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWNull.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWProbe.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWProbe.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWSpec.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWSpec.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWValue.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWValue.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWBlock.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWBlock.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWIntercept.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/NonARC/KWIntercept.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWMock.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Mocking/KWMock.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWNull.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWNull.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWProbe.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWProbe.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWSpec.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWSpec.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWValue.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWValue.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWCallSite.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWCallSite.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWExample.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWExample.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWFailure.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWFailure.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWItNode.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Nodes/KWItNode.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWMatchers.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWMatchers.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWMatching.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWMatching.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KiwiMacros.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KiwiMacros.h -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gem 'april_oneil', '~> 0.0' 4 | -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWCallSite.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWCallSite.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWExample.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWExample.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWFailure.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWFailure.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWItNode.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Nodes/KWItNode.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWMatchers.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWMatchers.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWMatching.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWMatching.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KiwiMacros.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KiwiMacros.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWBlockNode.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Nodes/KWBlockNode.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWCaptureSpy.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWCaptureSpy.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWCountType.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWCountType.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWDeviceInfo.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWDeviceInfo.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWFormatter.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWFormatter.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWMessagePattern.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/NonARC/KWMessagePattern.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWProbePoller.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWProbePoller.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWReporting.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWReporting.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWSymbolicator.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/NonARC/KWSymbolicator.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWWorkarounds.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWWorkarounds.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWBlockNode.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Nodes/KWBlockNode.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWCaptureSpy.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWCaptureSpy.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWCountType.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWCountType.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWDeviceInfo.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWDeviceInfo.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWFormatter.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWFormatter.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWMessagePattern.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/NonARC/KWMessagePattern.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWProbePoller.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWProbePoller.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWReporting.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWReporting.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWSymbolicator.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/NonARC/KWSymbolicator.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWWorkarounds.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWWorkarounds.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWAfterAllNode.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Nodes/KWAfterAllNode.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWAfterEachNode.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Nodes/KWAfterEachNode.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWBeforeAllNode.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Nodes/KWBeforeAllNode.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWContextNode.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Nodes/KWContextNode.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWExampleNode.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Nodes/KWExampleNode.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWExampleSuite.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWExampleSuite.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWFutureObject.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWFutureObject.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWHaveMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWHaveMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWMessageSpying.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWMessageSpying.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWNilMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWNilMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWObjCUtilities.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWObjCUtilities.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWPendingNode.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Nodes/KWPendingNode.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWVerifying.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Verifiers/KWVerifying.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KiwiBlockMacros.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KiwiBlockMacros.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWAfterAllNode.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Nodes/KWAfterAllNode.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWAfterEachNode.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Nodes/KWAfterEachNode.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWBeforeAllNode.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Nodes/KWBeforeAllNode.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWContextNode.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Nodes/KWContextNode.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWExampleNode.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Nodes/KWExampleNode.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWExampleSuite.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWExampleSuite.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWFutureObject.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWFutureObject.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWHaveMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWHaveMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWMessageSpying.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWMessageSpying.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWNilMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWNilMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWObjCUtilities.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWObjCUtilities.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWPendingNode.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Nodes/KWPendingNode.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWVerifying.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Verifiers/KWVerifying.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KiwiBlockMacros.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KiwiBlockMacros.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWAsyncVerifier.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Verifiers/KWAsyncVerifier.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWBeEmptyMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWBeEmptyMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWBeTrueMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWBeTrueMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWBeZeroMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWBeZeroMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWBeforeEachNode.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Nodes/KWBeforeEachNode.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWChangeMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWChangeMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWContainMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWContainMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWEqualMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWEqualMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWExampleDelegate.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWExampleDelegate.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWExistVerifier.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Verifiers/KWExistVerifier.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWExpectationType.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWExpectationType.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWGenericMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWGenericMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWMatchVerifier.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Verifiers/KWMatchVerifier.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWMatcherFactory.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWMatcherFactory.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWMessageTracker.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWMessageTracker.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWRaiseMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWRaiseMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWReceiveMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWReceiveMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWStringUtilities.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWStringUtilities.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KiwiConfiguration.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KiwiConfiguration.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWAsyncVerifier.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Verifiers/KWAsyncVerifier.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWBeEmptyMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWBeEmptyMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWBeTrueMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWBeTrueMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWBeZeroMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWBeZeroMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWBeforeEachNode.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Nodes/KWBeforeEachNode.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWChangeMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWChangeMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWContainMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWContainMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWEqualMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWEqualMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWExampleDelegate.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWExampleDelegate.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWExistVerifier.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Verifiers/KWExistVerifier.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWExpectationType.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWExpectationType.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWGenericMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWGenericMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWMatchVerifier.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Verifiers/KWMatchVerifier.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWMatcherFactory.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWMatcherFactory.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWMessageTracker.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWMessageTracker.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWRaiseMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWRaiseMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWReceiveMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWReceiveMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWStringUtilities.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWStringUtilities.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KiwiConfiguration.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KiwiConfiguration.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWBeBetweenMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWBeBetweenMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWBeWithinMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWBeWithinMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWExampleNodeVisitor.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWExampleNodeVisitor.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWHaveValueMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWHaveValueMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWInvocationCapturer.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWInvocationCapturer.h -------------------------------------------------------------------------------- /Tests/Podfile: -------------------------------------------------------------------------------- 1 | pod 'ECSlidingViewController', :path => '../' 2 | pod 'Kiwi/XCTest', '~> 2.2' 3 | -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWBeBetweenMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWBeBetweenMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWBeWithinMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWBeWithinMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWExampleNodeVisitor.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWExampleNodeVisitor.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWHaveValueMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWHaveValueMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWInvocationCapturer.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWInvocationCapturer.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWBlockRaiseMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWBlockRaiseMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWExampleSuiteBuilder.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWExampleSuiteBuilder.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWInequalityMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWInequalityMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWRegisterMatchersNode.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Nodes/KWRegisterMatchersNode.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWStringPrefixMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWStringPrefixMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWUserDefinedMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWUserDefinedMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/NSNumber+KiwiAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/NSNumber+KiwiAdditions.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/NSValue+KiwiAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/NSValue+KiwiAdditions.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWBlockRaiseMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWBlockRaiseMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWExampleSuiteBuilder.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/KWExampleSuiteBuilder.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWInequalityMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWInequalityMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWRegisterMatchersNode.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Nodes/KWRegisterMatchersNode.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWStringPrefixMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWStringPrefixMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWUserDefinedMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWUserDefinedMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/NSNumber+KiwiAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/NSNumber+KiwiAdditions.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/NSValue+KiwiAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/NSValue+KiwiAdditions.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWBeIdenticalToMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWBeIdenticalToMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWBeKindOfClassMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWBeKindOfClassMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWContainStringMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWContainStringMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWGenericMatchEvaluator.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWGenericMatchEvaluator.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWStringContainsMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWStringContainsMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/NSInvocation+OCMAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/NSInvocation+OCMAdditions.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/NSObject+KiwiSpyAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/NSObject+KiwiSpyAdditions.h -------------------------------------------------------------------------------- /Examples/BasicMenu/BasicMenu/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWBeIdenticalToMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWBeIdenticalToMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWBeKindOfClassMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWBeKindOfClassMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWContainStringMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWContainStringMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWGenericMatchEvaluator.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWGenericMatchEvaluator.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWStringContainsMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWStringContainsMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/NSInvocation+OCMAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/NSInvocation+OCMAdditions.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/NSObject+KiwiSpyAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/NSObject+KiwiSpyAdditions.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWBeMemberOfClassMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWBeMemberOfClassMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWBeSubclassOfClassMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWBeSubclassOfClassMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWConformToProtocolMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWConformToProtocolMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWGenericMatchingAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWGenericMatchingAdditions.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWRespondToSelectorMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWRespondToSelectorMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/NSInvocation+KiwiAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/NSInvocation+KiwiAdditions.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/NSObject+KiwiMockAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Mocking/NSObject+KiwiMockAdditions.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/NSObject+KiwiStubAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Stubbing/NSObject+KiwiStubAdditions.h -------------------------------------------------------------------------------- /Examples/LayoutDemo/LayoutDemo/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWBeMemberOfClassMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWBeMemberOfClassMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWBeSubclassOfClassMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWBeSubclassOfClassMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWConformToProtocolMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWConformToProtocolMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWGenericMatchingAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWGenericMatchingAdditions.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWRespondToSelectorMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWRespondToSelectorMatcher.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/NSInvocation+KiwiAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/NSInvocation+KiwiAdditions.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/NSObject+KiwiMockAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Mocking/NSObject+KiwiMockAdditions.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/NSObject+KiwiStubAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Stubbing/NSObject+KiwiStubAdditions.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/ECSlidingViewController/ECSlidingSegue.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECSlidingSegue.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/NSObject+KiwiVerifierAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/NSObject+KiwiVerifierAdditions.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/NSProxy+KiwiVerifierAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/NSProxy+KiwiVerifierAdditions.h -------------------------------------------------------------------------------- /Examples/Pods/Headers/ECSlidingViewController/ECSlidingSegue.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECSlidingSegue.h -------------------------------------------------------------------------------- /Examples/TransitionFun/TransitionFun/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/ECSlidingViewController/ECSlidingSegue.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECSlidingSegue.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/NSObject+KiwiVerifierAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/NSObject+KiwiVerifierAdditions.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/NSProxy+KiwiVerifierAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/NSProxy+KiwiVerifierAdditions.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/NSMethodSignature+KiwiAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/NSMethodSignature+KiwiAdditions.h -------------------------------------------------------------------------------- /Examples/Pods/BuildHeaders/ECSlidingViewController/ECSlidingSegue.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECSlidingSegue.h -------------------------------------------------------------------------------- /Examples/Pods/Headers/ECSlidingViewController/ECSlidingConstants.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECSlidingConstants.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/NSMethodSignature+KiwiAdditions.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Core/NSMethodSignature+KiwiAdditions.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/ECSlidingViewController/ECSlidingConstants.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECSlidingConstants.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/Kiwi/KWRegularExpressionPatternMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWRegularExpressionPatternMatcher.h -------------------------------------------------------------------------------- /Examples/Pods/BuildHeaders/ECSlidingViewController/ECSlidingConstants.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECSlidingConstants.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/ECSlidingViewController/ECSlidingConstants.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECSlidingConstants.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/Kiwi/KWRegularExpressionPatternMatcher.h: -------------------------------------------------------------------------------- 1 | ../../Kiwi/Classes/Matchers/KWRegularExpressionPatternMatcher.h -------------------------------------------------------------------------------- /Examples/Pods/Headers/ECSlidingViewController/ECSlidingViewController.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECSlidingViewController.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/ECSlidingViewController/ECSlidingViewController.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECSlidingViewController.h -------------------------------------------------------------------------------- /Examples/Pods/BuildHeaders/ECSlidingViewController/ECSlidingViewController.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECSlidingViewController.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/ECSlidingViewController/ECSlidingViewController.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECSlidingViewController.h -------------------------------------------------------------------------------- /Examples/Pods/Headers/ECSlidingViewController/ECSlidingAnimationController.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECSlidingAnimationController.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/ECSlidingViewController/ECSlidingAnimationController.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECSlidingAnimationController.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/ECSlidingViewController/ECSlidingInteractiveTransition.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECSlidingInteractiveTransition.h -------------------------------------------------------------------------------- /Examples/Pods/BuildHeaders/ECSlidingViewController/ECSlidingAnimationController.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECSlidingAnimationController.h -------------------------------------------------------------------------------- /Examples/Pods/Headers/ECSlidingViewController/ECSlidingInteractiveTransition.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECSlidingInteractiveTransition.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/ECSlidingViewController/ECSlidingAnimationController.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECSlidingAnimationController.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/ECSlidingViewController/ECSlidingInteractiveTransition.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECSlidingInteractiveTransition.h -------------------------------------------------------------------------------- /Tests/Pods/Pods-ECSlidingViewController-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | #import "Pods-environment.h" 6 | -------------------------------------------------------------------------------- /Examples/Pods/BuildHeaders/ECSlidingViewController/ECSlidingInteractiveTransition.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECSlidingInteractiveTransition.h -------------------------------------------------------------------------------- /Examples/Pods/Pods-ECSlidingViewController-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | #import "Pods-environment.h" 6 | -------------------------------------------------------------------------------- /Examples/Pods/Headers/ECSlidingViewController/ECPercentDrivenInteractiveTransition.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECPercentDrivenInteractiveTransition.h -------------------------------------------------------------------------------- /Examples/Pods/Pods-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods : NSObject 3 | @end 4 | @implementation PodsDummy_Pods 5 | @end 6 | -------------------------------------------------------------------------------- /Tests/Pods/Headers/ECSlidingViewController/ECPercentDrivenInteractiveTransition.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECPercentDrivenInteractiveTransition.h -------------------------------------------------------------------------------- /Tests/Pods/Pods-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods : NSObject 3 | @end 4 | @implementation PodsDummy_Pods 5 | @end 6 | -------------------------------------------------------------------------------- /Examples/Pods/BuildHeaders/ECSlidingViewController/ECPercentDrivenInteractiveTransition.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECPercentDrivenInteractiveTransition.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/ECSlidingViewController/ECPercentDrivenInteractiveTransition.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/ECPercentDrivenInteractiveTransition.h -------------------------------------------------------------------------------- /Tests/Pods/Headers/ECSlidingViewController/UIViewController+ECSlidingViewController.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/UIViewController+ECSlidingViewController.h -------------------------------------------------------------------------------- /Examples/Pods/Headers/ECSlidingViewController/UIViewController+ECSlidingViewController.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/UIViewController+ECSlidingViewController.h -------------------------------------------------------------------------------- /Tests/Pods/BuildHeaders/ECSlidingViewController/UIViewController+ECSlidingViewController.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/UIViewController+ECSlidingViewController.h -------------------------------------------------------------------------------- /Examples/Pods/BuildHeaders/ECSlidingViewController/UIViewController+ECSlidingViewController.h: -------------------------------------------------------------------------------- 1 | ../../../../ECSlidingViewController/UIViewController+ECSlidingViewController.h -------------------------------------------------------------------------------- /Examples/Pods/Pods-LayoutDemo-ECSlidingViewController-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | #import "Pods-LayoutDemo-environment.h" 6 | -------------------------------------------------------------------------------- /Tests/Pods/Pods-Kiwi-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Kiwi : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Kiwi 5 | @end 6 | -------------------------------------------------------------------------------- /Examples/Pods/Pods-TransitionFun-ECSlidingViewController-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | #import "Pods-TransitionFun-environment.h" 6 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: objective-c 2 | before_install: rake travis:before_install 3 | install: rake travis:install 4 | script: rake travis:script 5 | branches: 6 | only: master 7 | -------------------------------------------------------------------------------- /Tests/Pods/Pods-Kiwi-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | #import "Pods-environment.h" 6 | 7 | 8 | #import 9 | 10 | -------------------------------------------------------------------------------- /Examples/Pods/Pods-LayoutDemo-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_LayoutDemo : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_LayoutDemo 5 | @end 6 | -------------------------------------------------------------------------------- /Examples/Pods/Pods-TransitionFun-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_TransitionFun : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_TransitionFun 5 | @end 6 | -------------------------------------------------------------------------------- /Tests/Pods/Pods-ECSlidingViewController-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ECSlidingViewController : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ECSlidingViewController 5 | @end 6 | -------------------------------------------------------------------------------- /Examples/Pods/Pods-ECSlidingViewController-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ECSlidingViewController : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ECSlidingViewController 5 | @end 6 | -------------------------------------------------------------------------------- /Examples/Pods/Pods.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/ECSlidingViewController" 3 | OTHER_LDFLAGS = -ObjC 4 | PODS_ROOT = ${SRCROOT}/../Pods -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: https://rubygems.org/ 3 | specs: 4 | april_oneil (0.0.2) 5 | rainbow (~> 1.1) 6 | rainbow (1.1.4) 7 | 8 | PLATFORMS 9 | ruby 10 | 11 | DEPENDENCIES 12 | april_oneil (~> 0.0) 13 | -------------------------------------------------------------------------------- /Examples/Pods/Pods-LayoutDemo.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/ECSlidingViewController" 3 | OTHER_LDFLAGS = -ObjC 4 | PODS_ROOT = ${SRCROOT}/../Pods -------------------------------------------------------------------------------- /Examples/Pods/Pods-TransitionFun.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/ECSlidingViewController" 3 | OTHER_LDFLAGS = -ObjC 4 | PODS_ROOT = ${SRCROOT}/../Pods -------------------------------------------------------------------------------- /Tests/ECSlidingViewController.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Examples/Pods/Pods-LayoutDemo-ECSlidingViewController-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_LayoutDemo_ECSlidingViewController : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_LayoutDemo_ECSlidingViewController 5 | @end 6 | -------------------------------------------------------------------------------- /Examples/TransitionFun/TransitionFun/Images.xcassets/menu-background.imageset/menu-background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bcherry/ECSlidingViewController/master/Examples/TransitionFun/TransitionFun/Images.xcassets/menu-background.imageset/menu-background.png -------------------------------------------------------------------------------- /Examples/Pods/Pods-TransitionFun-ECSlidingViewController-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_TransitionFun_ECSlidingViewController : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_TransitionFun_ECSlidingViewController 5 | @end 6 | -------------------------------------------------------------------------------- /Examples/TransitionFun/TransitionFun/Images.xcassets/menu-background.imageset/menu-background@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bcherry/ECSlidingViewController/master/Examples/TransitionFun/TransitionFun/Images.xcassets/menu-background.imageset/menu-background@2x.png -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWCaptureSpy.h: -------------------------------------------------------------------------------- 1 | #import "KWMessageSpying.h" 2 | 3 | @interface KWCaptureSpy : NSObject 4 | 5 | @property (nonatomic, strong, readonly) id argument; 6 | 7 | - (id)initWithArgumentIndex:(NSUInteger)index; 8 | 9 | @end 10 | -------------------------------------------------------------------------------- /Tests/ECSlidingViewController-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #ifdef __OBJC__ 8 | #import 9 | #import 10 | #endif 11 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/NSValue+KiwiAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @interface NSValue(KiwiAdditions) 10 | 11 | #pragma mark - Accessing Data 12 | 13 | - (NSData *)dataValue; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Examples/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ECSlidingViewController (2.0.0-beta1) 3 | 4 | DEPENDENCIES: 5 | - ECSlidingViewController (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | ECSlidingViewController: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | ECSlidingViewController: 48b0087403b291128737a8a8e0d8117a709b87b7 13 | 14 | COCOAPODS: 0.28.0 15 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWProbe.h: -------------------------------------------------------------------------------- 1 | // 2 | // KWProbe.h 3 | // iOSFalconCore 4 | // 5 | // Created by Luke Redpath on 13/01/2011. 6 | // Copyright 2011 LJR Software Limited. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @protocol KWProbe 12 | - (BOOL)isSatisfied; 13 | - (void)sample; 14 | @end 15 | -------------------------------------------------------------------------------- /Examples/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ECSlidingViewController (2.0.0-beta1) 3 | 4 | DEPENDENCIES: 5 | - ECSlidingViewController (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | ECSlidingViewController: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | ECSlidingViewController: 48b0087403b291128737a8a8e0d8117a709b87b7 13 | 14 | COCOAPODS: 0.28.0 15 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWCountType.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | enum { 10 | KWCountTypeExact, 11 | KWCountTypeAtLeast, 12 | KWCountTypeAtMost 13 | }; 14 | 15 | typedef NSUInteger KWCountType; 16 | -------------------------------------------------------------------------------- /Examples/Pods/Pods-ECSlidingViewController-Private.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods-ECSlidingViewController.xcconfig" 2 | GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/ECSlidingViewController" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/ECSlidingViewController" 4 | OTHER_LDFLAGS = -ObjC 5 | PODS_ROOT = ${SRCROOT} -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWDeviceInfo.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @interface KWDeviceInfo : NSObject 10 | 11 | #pragma mark - Getting the Device Type 12 | 13 | + (BOOL)isSimulator; 14 | + (BOOL)isPhysical; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Examples.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWBeZeroMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWMatcher.h" 9 | 10 | @interface KWBeZeroMatcher : KWMatcher 11 | 12 | #pragma mark - Configuring Matchers 13 | 14 | - (void)beZero; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWBeEmptyMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWMatcher.h" 9 | 10 | @interface KWBeEmptyMatcher : KWMatcher 11 | 12 | #pragma mark - Configuring Matchers 13 | 14 | - (void)beEmpty; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Tests/Pods/Pods-Kiwi.xcconfig: -------------------------------------------------------------------------------- 1 | PODS_KIWI_FRAMEWORK_SEARCH_PATHS = $(inherited) "$(SDKROOT)/Developer/Library/Frameworks" "$(DEVELOPER_LIBRARY_DIR)/Frameworks" $(inherited) "$(SDKROOT)/Developer/Library/Frameworks" "$(DEVELOPER_LIBRARY_DIR)/Frameworks" $(inherited) "$(SDKROOT)/Developer/Library/Frameworks" "$(DEVELOPER_LIBRARY_DIR)/Frameworks" 2 | PODS_KIWI_OTHER_LDFLAGS = -framework XCTest -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWExpectationType.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | enum { 10 | KWExpectationTypeShould, 11 | KWExpectationTypeShouldNot, 12 | KWExpectationTypeMaybe 13 | }; 14 | 15 | typedef NSUInteger KWExpectationType; 16 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWEqualMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWMatcher.h" 9 | 10 | @interface KWEqualMatcher : KWMatcher 11 | 12 | #pragma mark - Configuring Matchers 13 | 14 | - (void)equal:(id)anObject; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | .DS_Store 3 | build/ 4 | *.pbxuser 5 | !default.pbxuser 6 | *.mode1v3 7 | !default.mode1v3 8 | *.mode2v3 9 | !default.mode2v3 10 | *.perspectivev3 11 | !default.perspectivev3 12 | *.xcworkspace 13 | !default.xcworkspace 14 | xcuserdata 15 | profile 16 | *.moved-aside 17 | DerivedData 18 | .idea/ 19 | 20 | *.xccheckout 21 | !ECSlidingViewController.xcworkspace 22 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWReporting.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @class KWFailure; 10 | 11 | @protocol KWReporting 12 | 13 | #pragma mark - Reporting Failures 14 | 15 | - (void)reportFailure:(KWFailure *)failure; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Examples/Pods/Pods-LayoutDemo-ECSlidingViewController-Private.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods-LayoutDemo-ECSlidingViewController.xcconfig" 2 | GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/ECSlidingViewController" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/ECSlidingViewController" 4 | OTHER_LDFLAGS = -ObjC 5 | PODS_ROOT = ${SRCROOT} -------------------------------------------------------------------------------- /Tests/Pods/Pods-ECSlidingViewController-Private.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods-ECSlidingViewController.xcconfig" 2 | GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/ECSlidingViewController" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/ECSlidingViewController" "${PODS_ROOT}/Headers/Kiwi" 4 | OTHER_LDFLAGS = -ObjC 5 | PODS_ROOT = ${SRCROOT} -------------------------------------------------------------------------------- /Examples/Pods/Pods-TransitionFun-ECSlidingViewController-Private.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods-TransitionFun-ECSlidingViewController.xcconfig" 2 | GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/ECSlidingViewController" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/ECSlidingViewController" 4 | OTHER_LDFLAGS = -ObjC 5 | PODS_ROOT = ${SRCROOT} -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWMessageSpying.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @protocol KWMessageSpying 10 | 11 | #pragma mark - Spying on Messages 12 | 13 | - (void)object:(id)anObject didReceiveInvocation:(NSInvocation *)anInvocation; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWBeIdenticalToMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWMatcher.h" 9 | 10 | @interface KWBeIdenticalToMatcher : KWMatcher 11 | 12 | #pragma mark - Configuring Matchers 13 | 14 | - (void)beIdenticalTo:(id)anObject; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWBeKindOfClassMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWMatcher.h" 9 | 10 | @interface KWBeKindOfClassMatcher : KWMatcher 11 | 12 | #pragma mark - Configuring Matchers 13 | 14 | - (void)beKindOfClass:(Class)aClass; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWBeMemberOfClassMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWMatcher.h" 9 | 10 | @interface KWBeMemberOfClassMatcher : KWMatcher 11 | 12 | #pragma mark - Configuring Matchers 13 | 14 | - (void)beMemberOfClass:(Class)aClass; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWFormatter.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @interface KWFormatter : NSObject 10 | 11 | #pragma mark - Getting Descriptions 12 | 13 | + (NSString *)formatObject:(id)anObject; 14 | + (NSString *)formatObjectIncludingClass:(id)anObject; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWBeSubclassOfClassMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWMatcher.h" 9 | 10 | @interface KWBeSubclassOfClassMatcher : KWMatcher 11 | 12 | #pragma mark - Configuring Matchers 13 | 14 | - (void)beSubclassOfClass:(Class)aClass; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWRespondToSelectorMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWMatcher.h" 9 | 10 | @interface KWRespondToSelectorMatcher : KWMatcher 11 | 12 | #pragma mark - Configuring Matchers 13 | 14 | - (void)respondToSelector:(SEL)aSelector; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWConformToProtocolMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWMatcher.h" 9 | 10 | @interface KWConformToProtocolMatcher : KWMatcher 11 | 12 | #pragma mark - Configuring Matchers 13 | 14 | - (void)conformToProtocol:(Protocol *)aProtocol; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Tests/Pods/Pods-Kiwi-Private.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods-Kiwi.xcconfig" 2 | FRAMEWORK_SEARCH_PATHS = ${PODS_KIWI_FRAMEWORK_SEARCH_PATHS} 3 | GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 4 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Kiwi" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/ECSlidingViewController" "${PODS_ROOT}/Headers/Kiwi" 5 | OTHER_LDFLAGS = -ObjC ${PODS_KIWI_OTHER_LDFLAGS} 6 | PODS_ROOT = ${SRCROOT} -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/NSObject+KiwiVerifierAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @protocol KWVerifying; 10 | 11 | @interface NSObject(KiwiVerifierAdditions) 12 | 13 | #pragma mark - Attaching to Verifiers 14 | 15 | - (id)attachToVerifier:(id)aVerifier; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWBeTrueMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWMatcher.h" 9 | 10 | @interface KWBeTrueMatcher : KWMatcher 11 | 12 | #pragma mark - Configuring Matchers 13 | 14 | - (void)beTrue; 15 | - (void)beFalse; 16 | - (void)beYes; 17 | - (void)beNo; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/NonARC/KWSymbolicator.h: -------------------------------------------------------------------------------- 1 | // 2 | // KWSymbolicator.h 3 | // Kiwi 4 | // 5 | // Created by Jerry Marino on 4/28/13. 6 | // Copyright (c) 2013 Allen Ding. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | long kwCallerAddress(void); 12 | 13 | @interface NSString (KWShellCommand) 14 | 15 | + (NSString *)stringWithShellCommand:(NSString *)command arguments:(NSArray *)arguments; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KiwiBlockMacros.h: -------------------------------------------------------------------------------- 1 | // 2 | // KiwiBlockMacros.h 3 | // Kiwi 4 | // 5 | // Created by Luke Redpath on 11/07/2011. 6 | // Copyright 2011 Allen Ding. All rights reserved. 7 | // 8 | 9 | // user defined matchers 10 | #define registerMatcher(name) \ 11 | \ 12 | @interface NSObject (KWUserDefinedMatchersDefinitions) \ 13 | - (void)name; \ 14 | @end \ 15 | 16 | #define defineMatcher(...) KWDefineMatchers(__VA_ARGS__) 17 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWGenericMatchEvaluator.h: -------------------------------------------------------------------------------- 1 | // 2 | // KWGenericMatcher.h 3 | // Kiwi 4 | // 5 | // Created by Allen Ding on 1/31/13. 6 | // Copyright (c) 2013 Allen Ding. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface KWGenericMatchEvaluator : NSObject 12 | 13 | + (BOOL)isGenericMatcher:(id)object; 14 | 15 | + (BOOL)genericMatcher:(id)matcher matches:(id)object; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Examples/TransitionFun/TransitionFun/Images.xcassets/menu-background.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "menu-background.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "menu-background@2x.png" 12 | } 13 | ], 14 | "info" : { 15 | "version" : 1, 16 | "author" : "xcode" 17 | } 18 | } -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWAny.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | // KWAny exists to determine arguments in a message pattern that should 10 | // match any value. Used for pointers as well as for scalar values. 11 | @interface KWAny : NSObject 12 | 13 | #pragma mark - Initializing 14 | 15 | + (id)any; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Examples/BasicMenu/BasicMenu/BasicMenu-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | #import 15 | #import 16 | #endif 17 | -------------------------------------------------------------------------------- /Examples/LayoutDemo/LayoutDemo/LayoutDemo-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_3_0 10 | #warning "This project uses features only available in iOS SDK 3.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | #import 15 | #import 16 | #endif 17 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWExampleDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // KWExampleGroupDelegate.h 3 | // Kiwi 4 | // 5 | // Created by Luke Redpath on 08/09/2011. 6 | // Copyright 2011 Allen Ding. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class KWExample; 12 | @class KWFailure; 13 | 14 | @protocol KWExampleDelegate 15 | 16 | - (void)example:(KWExample *)example didFailWithFailure:(KWFailure *)failure; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/NSObject+KiwiSpyAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @class KWCaptureSpy; 10 | 11 | @interface NSObject (KiwiSpyAdditions) 12 | - (KWCaptureSpy *)captureArgument:(SEL)selector atIndex:(NSUInteger)index; 13 | + (KWCaptureSpy *)captureArgument:(SEL)selector atIndex:(NSUInteger)index; 14 | @end 15 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Mocking/NSObject+KiwiMockAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @interface NSObject(KiwiMockAdditions) 10 | 11 | #pragma mark - Creating Mocks 12 | 13 | + (id)mock; 14 | + (id)mockWithName:(NSString *)aName; 15 | 16 | + (id)nullMock; 17 | + (id)nullMockWithName:(NSString *)aName; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWBeWithinMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWMatcher.h" 9 | 10 | @interface KWBeWithinMatcher : KWMatcher 11 | 12 | #pragma mark - Configuring Matchers 13 | 14 | - (void)beWithin:(id)aDistance of:(id)aValue; 15 | - (void)equal:(double)aValue withDelta:(double)aDelta; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Examples/TransitionFun/TransitionFun/TransitionFun-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | #import 15 | #import 16 | #endif 17 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/NSMethodSignature+KiwiAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @interface NSMethodSignature(KiwiAdditions) 10 | 11 | #pragma mark - Getting Information on Message Arguments 12 | 13 | - (NSUInteger)numberOfMessageArguments; 14 | - (const char *)messageArgumentTypeAtIndex:(NSUInteger)anIndex; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Nodes/KWAfterAllNode.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWBlockNode.h" 9 | #import "KWExampleNode.h" 10 | 11 | @interface KWAfterAllNode : KWBlockNode 12 | 13 | #pragma mark - Initializing 14 | 15 | + (id)afterAllNodeWithCallSite:(KWCallSite *)aCallSite block:(void (^)(void))block; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Nodes/KWAfterEachNode.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWBlockNode.h" 9 | #import "KWExampleNode.h" 10 | 11 | @interface KWAfterEachNode : KWBlockNode 12 | 13 | #pragma mark - Initializing 14 | 15 | + (id)afterEachNodeWithCallSite:(KWCallSite *)aCallSite block:(void (^)(void))block; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Nodes/KWBeforeAllNode.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWBlockNode.h" 9 | #import "KWExampleNode.h" 10 | 11 | @interface KWBeforeAllNode : KWBlockNode 12 | 13 | #pragma mark - Initializing 14 | 15 | + (id)beforeAllNodeWithCallSite:(KWCallSite *)aCallSite block:(void (^)(void))block; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Nodes/KWBeforeEachNode.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWBlockNode.h" 9 | #import "KWExampleNode.h" 10 | 11 | @interface KWBeforeEachNode : KWBlockNode 12 | 13 | #pragma mark - Initializing 14 | 15 | + (id)beforeEachNodeWithCallSite:(KWCallSite *)aCallSite block:(void (^)(void))block; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Tests/ao-kiwi-progress: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # 3 | # This file was generated by Bundler. 4 | # 5 | # The application 'ao-kiwi-progress' is installed as part of a gem, and 6 | # this file is here to facilitate running it. 7 | # 8 | 9 | require 'pathname' 10 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile", 11 | Pathname.new(__FILE__).realpath) 12 | 13 | require 'rubygems' 14 | require 'bundler/setup' 15 | 16 | load Gem.bin_path('april_oneil', 'ao-kiwi-progress') 17 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWAny.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWAny.h" 8 | 9 | @implementation KWAny 10 | 11 | #pragma mark - Initializing 12 | 13 | + (id)any { 14 | static KWAny *sharedAny = nil; 15 | static dispatch_once_t onceToken; 16 | dispatch_once(&onceToken, ^{ 17 | sharedAny = [self new]; 18 | 19 | }); 20 | return sharedAny; 21 | } 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /Examples/BasicMenu/BasicMenu/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "40x40", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "60x60", 16 | "scale" : "2x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Examples/TransitionFun/TransitionFun/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "40x40", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "60x60", 16 | "scale" : "2x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWNull.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | // KWNull exists to represent the same thing as NSNull, except that Kiwi needs 10 | // to distinguish between null singletons used internally and those a user 11 | // is using as an object parameter. 12 | @interface KWNull : NSObject 13 | 14 | #pragma mark - Initializing 15 | 16 | + (id)null; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/NSObject+KiwiVerifierAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "NSObject+KiwiVerifierAdditions.h" 8 | #import "KWVerifying.h" 9 | 10 | @implementation NSObject(KiwiVerifierAdditions) 11 | 12 | #pragma mark - Attaching to Verifiers 13 | 14 | - (id)attachToVerifier:(id)aVerifier { 15 | [aVerifier setSubject:self]; 16 | return aVerifier; 17 | } 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Nodes/KWExampleNode.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @class KWContextNode; 10 | @protocol KWExampleNodeVisitor; 11 | 12 | @protocol KWExampleNode 13 | 14 | #pragma mark - Accepting Visitors 15 | 16 | - (void)acceptExampleNodeVisitor:(id)aVisitor; 17 | 18 | @optional 19 | 20 | - (NSArray *)contextStack; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWNull.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWNull.h" 8 | 9 | @implementation KWNull 10 | 11 | #pragma mark - Initializing 12 | 13 | 14 | + (id)null { 15 | static KWNull *sharedNull = nil; 16 | static dispatch_once_t onceToken; 17 | dispatch_once(&onceToken, ^{ 18 | sharedNull = [self new]; 19 | 20 | }); 21 | 22 | return sharedNull; 23 | } 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWStringPrefixMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // StringPrefixMatcher.h 3 | // Kiwi 4 | // 5 | // Created by Luke Redpath on 17/01/2011. 6 | // Copyright 2011 Allen Ding. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface KWStringPrefixMatcher : NSObject 12 | 13 | + (id)matcherWithPrefix:(NSString *)aPrefix; 14 | - (id)initWithPrefix:(NSString *)aPrefix; 15 | 16 | @end 17 | 18 | #define hasPrefix(prefix) [KWStringPrefixMatcher matcherWithPrefix:prefix] 19 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWInequalityMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWMatcher.h" 9 | 10 | @interface KWInequalityMatcher : KWMatcher 11 | 12 | #pragma mark - Configuring Matchers 13 | 14 | - (void)beLessThan:(id)aValue; 15 | - (void)beLessThanOrEqualTo:(id)aValue; 16 | - (void)beGreaterThan:(id)aValue; 17 | - (void)beGreaterThanOrEqualTo:(id)aValue; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Examples/Podfile: -------------------------------------------------------------------------------- 1 | workspace '../Examples.xcworkspace' 2 | 3 | link_with 'BasicMenu' 4 | xcodeproj 'BasicMenu/BasicMenu.xcodeproj' 5 | pod 'ECSlidingViewController', :path => '../' 6 | 7 | target :LayoutDemo do 8 | link_with 'LayoutDemo' 9 | xcodeproj 'LayoutDemo/LayoutDemo.xcodeproj' 10 | pod 'ECSlidingViewController', :path => '../' 11 | end 12 | 13 | target :TransitionFun do 14 | link_with 'TransitionFun' 15 | xcodeproj 'TransitionFun/TransitionFun.xcodeproj' 16 | pod 'ECSlidingViewController', :path => '../' 17 | end 18 | -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- 1 | desc "Run tests" 2 | task :test do 3 | system 'xctool -workspace Tests/ECSlidingViewController.xcworkspace -scheme ECSlidingViewController -sdk iphonesimulator -reporter Tests/ao-kiwi-progress test' 4 | exit($?.exitstatus) 5 | end 6 | 7 | namespace :travis do 8 | task :before_install do 9 | system 'brew update' 10 | end 11 | 12 | task :install do 13 | system 'brew uninstall xctool' 14 | system 'brew install xctool --HEAD' 15 | system 'bundle install' 16 | end 17 | 18 | task :script => 'test' 19 | end 20 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWBlockRaiseMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWMatcher.h" 9 | 10 | @interface KWBlockRaiseMatcher : KWMatcher 11 | 12 | #pragma mark - Configuring Matchers 13 | 14 | - (void)raise; 15 | - (void)raiseWithName:(NSString *)aName; 16 | - (void)raiseWithReason:(NSString *)aReason; 17 | - (void)raiseWithName:(NSString *)aName reason:(NSString *)aReason; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWProbePoller.h: -------------------------------------------------------------------------------- 1 | // 2 | // KWProbePoller.h 3 | // iOSFalconCore 4 | // 5 | // Created by Luke Redpath on 13/01/2011. 6 | // Copyright 2011 LJR Software Limited. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "KWProbe.h" 11 | 12 | #define kKW_DEFAULT_PROBE_DELAY 0.1 13 | 14 | @interface KWProbePoller : NSObject 15 | 16 | - (id)initWithTimeout:(NSTimeInterval)theTimeout delay:(NSTimeInterval)theDelay shouldWait:(BOOL)wait; 17 | - (BOOL)check:(id)probe; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWBeBetweenMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWMatcher.h" 9 | 10 | @interface KWBeBetweenMatcher : KWMatcher 11 | 12 | #pragma mark - Configuring Matchers 13 | 14 | // TODO: 'and' below is a reserved word in C++ 15 | - (void)beBetween:(id)aLowerEndpoint and:(id)anUpperEndpoint; 16 | - (void)beInTheIntervalFrom:(id)aLowerEndpoint to:(id)anUpperEndpoint; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWRegularExpressionPatternMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // KWRegularExpressionPatternMatcher.h 3 | // Kiwi 4 | // 5 | // Created by Kristopher Johnson on 4/11/13. 6 | // Copyright (c) 2013 Allen Ding. All rights reserved. 7 | // 8 | 9 | #import "KiwiConfiguration.h" 10 | #import "KWMatcher.h" 11 | 12 | @interface KWRegularExpressionPatternMatcher : KWMatcher 13 | 14 | - (void)matchPattern:(NSString *)pattern; 15 | 16 | - (void)matchPattern:(NSString *)pattern options:(NSRegularExpressionOptions)options; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Tests/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ECSlidingViewController (2.0.0-beta1) 3 | - Kiwi/ARC (2.2.3) 4 | - Kiwi/NonARC (2.2.3) 5 | - Kiwi/XCTest (2.2.3): 6 | - Kiwi/ARC 7 | - Kiwi/NonARC 8 | 9 | DEPENDENCIES: 10 | - ECSlidingViewController (from `../`) 11 | - Kiwi/XCTest (~> 2.2) 12 | 13 | EXTERNAL SOURCES: 14 | ECSlidingViewController: 15 | :path: ../ 16 | 17 | SPEC CHECKSUMS: 18 | ECSlidingViewController: 48b0087403b291128737a8a8e0d8117a709b87b7 19 | Kiwi: 04c51e880831d291748ec702d42c4101f7eb95c9 20 | 21 | COCOAPODS: 0.28.0 22 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWGenericMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // KWGenericMatcher.h 3 | // Kiwi 4 | // 5 | // Created by Luke Redpath on 24/01/2011. 6 | // Copyright 2011 Allen Ding. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "KWMatcher.h" 11 | 12 | @protocol KWGenericMatching 13 | 14 | - (BOOL)matches:(id)object; 15 | 16 | @end 17 | 18 | @interface KWGenericMatcher : KWMatcher 19 | 20 | #pragma mark - Configuring Matchers 21 | 22 | - (void)match:(id)aMatcher; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Tests/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ECSlidingViewController (2.0.0-beta1) 3 | - Kiwi/ARC (2.2.3) 4 | - Kiwi/NonARC (2.2.3) 5 | - Kiwi/XCTest (2.2.3): 6 | - Kiwi/ARC 7 | - Kiwi/NonARC 8 | 9 | DEPENDENCIES: 10 | - ECSlidingViewController (from `../`) 11 | - Kiwi/XCTest (~> 2.2) 12 | 13 | EXTERNAL SOURCES: 14 | ECSlidingViewController: 15 | :path: ../ 16 | 17 | SPEC CHECKSUMS: 18 | ECSlidingViewController: 48b0087403b291128737a8a8e0d8117a709b87b7 19 | Kiwi: 04c51e880831d291748ec702d42c4101f7eb95c9 20 | 21 | COCOAPODS: 0.28.0 22 | -------------------------------------------------------------------------------- /Examples/Pods/Pods-environment.h: -------------------------------------------------------------------------------- 1 | 2 | // To check if a library is compiled with CocoaPods you 3 | // can use the `COCOAPODS` macro definition which is 4 | // defined in the xcconfigs so it is available in 5 | // headers also when they are imported in the client 6 | // project. 7 | 8 | 9 | // ECSlidingViewController 10 | #define COCOAPODS_POD_AVAILABLE_ECSlidingViewController 11 | #define COCOAPODS_VERSION_MAJOR_ECSlidingViewController 2 12 | #define COCOAPODS_VERSION_MINOR_ECSlidingViewController 0 13 | #define COCOAPODS_VERSION_PATCH_ECSlidingViewController 0 14 | 15 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWFutureObject.h: -------------------------------------------------------------------------------- 1 | // 2 | // KWFutureObject.h 3 | // iOSFalconCore 4 | // 5 | // Created by Luke Redpath on 13/01/2011. 6 | // Copyright 2011 LJR Software Limited. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | typedef id (^KWFutureObjectBlock)(void); 12 | 13 | @interface KWFutureObject : NSObject 14 | 15 | + (id)objectWithObjectPointer:(id *)pointer; 16 | + (id)futureObjectWithBlock:(KWFutureObjectBlock)block; 17 | - (id)initWithBlock:(KWFutureObjectBlock)aBlock; 18 | - (id)object; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Tests/Pods/Pods.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$(SDKROOT)/Developer/Library/Frameworks" "$(DEVELOPER_LIBRARY_DIR)/Frameworks" $(inherited) "$(SDKROOT)/Developer/Library/Frameworks" "$(DEVELOPER_LIBRARY_DIR)/Frameworks" $(inherited) "$(SDKROOT)/Developer/Library/Frameworks" "$(DEVELOPER_LIBRARY_DIR)/Frameworks" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/ECSlidingViewController" "${PODS_ROOT}/Headers/Kiwi" 4 | OTHER_LDFLAGS = -ObjC -framework XCTest 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWNilMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // KWBeNilMatcher.h 3 | // iOSFalconCore 4 | // 5 | // Created by Luke Redpath on 14/01/2011. 6 | // Copyright 2011 LJR Software Limited. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "KWMatcher.h" 11 | 12 | @interface KWNilMatcher : KWMatcher 13 | 14 | - (void)beNil; 15 | - (void)beNonNil; 16 | 17 | - (void)beNil:(BOOL)workaroundArgument; 18 | - (void)beNonNil:(BOOL)workaroundArgument; 19 | 20 | + (BOOL)verifyNilSubject; 21 | + (BOOL)verifyNonNilSubject; 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Verifiers/KWVerifying.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @class KWCallSite; 10 | 11 | @protocol KWVerifying 12 | 13 | @property (nonatomic, readonly) KWCallSite *callSite; 14 | 15 | - (NSString *)descriptionForAnonymousItNode; 16 | 17 | #pragma mark - Subjects 18 | 19 | @property (nonatomic, strong) id subject; 20 | 21 | #pragma mark - Ending Examples 22 | 23 | - (void)exampleWillEnd; 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /Examples/Pods/Pods-LayoutDemo-environment.h: -------------------------------------------------------------------------------- 1 | 2 | // To check if a library is compiled with CocoaPods you 3 | // can use the `COCOAPODS` macro definition which is 4 | // defined in the xcconfigs so it is available in 5 | // headers also when they are imported in the client 6 | // project. 7 | 8 | 9 | // ECSlidingViewController 10 | #define COCOAPODS_POD_AVAILABLE_ECSlidingViewController 11 | #define COCOAPODS_VERSION_MAJOR_ECSlidingViewController 2 12 | #define COCOAPODS_VERSION_MINOR_ECSlidingViewController 0 13 | #define COCOAPODS_VERSION_PATCH_ECSlidingViewController 0 14 | 15 | -------------------------------------------------------------------------------- /Examples/Pods/Pods-TransitionFun-environment.h: -------------------------------------------------------------------------------- 1 | 2 | // To check if a library is compiled with CocoaPods you 3 | // can use the `COCOAPODS` macro definition which is 4 | // defined in the xcconfigs so it is available in 5 | // headers also when they are imported in the client 6 | // project. 7 | 8 | 9 | // ECSlidingViewController 10 | #define COCOAPODS_POD_AVAILABLE_ECSlidingViewController 11 | #define COCOAPODS_VERSION_MAJOR_ECSlidingViewController 2 12 | #define COCOAPODS_VERSION_MINOR_ECSlidingViewController 0 13 | #define COCOAPODS_VERSION_PATCH_ECSlidingViewController 0 14 | 15 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWWorkarounds.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | #if KW_TARGET_HAS_INVOCATION_EXCEPTION_BUG 10 | 11 | #pragma mark - Invocation Exception Bug Workaround 12 | 13 | // See KiwiConfiguration.h for notes. 14 | void KWSetExceptionFromAcrossInvocationBoundary(NSException *anException); 15 | NSException *KWGetAndClearExceptionFromAcrossInvocationBoundary(void); 16 | 17 | #endif // #if KW_TARGET_HAS_INVOCATION_EXCEPTION_BUG 18 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/NSProxy+KiwiVerifierAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2013 Allen Ding. All rights reserved. 5 | // 6 | // Contributed by https://github.com/dwlnetnl 7 | // 8 | 9 | #import "KiwiConfiguration.h" 10 | 11 | @protocol KWVerifying; 12 | 13 | @interface NSProxy (KiwiVerifierAdditions) 14 | 15 | #pragma mark - Attaching to Verifiers 16 | 17 | - (id)attachToVerifier:(id)aVerifier; 18 | - (id)attachToVerifier:(id)firstVerifier verifier:(id)secondVerifier; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWBlock.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @interface KWBlock : NSObject 10 | 11 | #pragma mark - Initializing 12 | - (id)initWithBlock:(void (^)(void))block; 13 | 14 | + (id)blockWithBlock:(void (^)(void))block; 15 | 16 | #pragma mark - Calling Blocks 17 | 18 | - (void)call; 19 | 20 | @end 21 | 22 | #pragma mark - Creating Blocks 23 | 24 | KWBlock *theBlock(void (^block)(void)); 25 | KWBlock *lambda(void (^block)(void)); 26 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWChangeMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // KWChangeMatcher.h 3 | // Kiwi 4 | // 5 | // Copyright (c) 2013 Eloy Durán . 6 | // All rights reserved. 7 | // 8 | 9 | #import "KWMatcher.h" 10 | 11 | typedef NSInteger (^KWChangeMatcherCountBlock)(); 12 | 13 | @interface KWChangeMatcher : KWMatcher 14 | 15 | // Expect _any_ change. 16 | - (void)change:(KWChangeMatcherCountBlock)countBlock; 17 | 18 | // Expect changes by a specific amount. 19 | - (void)change:(KWChangeMatcherCountBlock)countBlock by:(NSInteger)expectedDifference; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Examples/BasicMenu/BasicMenu/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "7.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "portrait", 12 | "idiom" : "iphone", 13 | "subtype" : "retina4", 14 | "extent" : "full-screen", 15 | "minimum-system-version" : "7.0", 16 | "scale" : "2x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/NSMethodSignature+KiwiAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "NSMethodSignature+KiwiAdditions.h" 8 | 9 | @implementation NSMethodSignature(KiwiAdditions) 10 | 11 | #pragma mark - Getting Information on Message Arguments 12 | 13 | - (NSUInteger)numberOfMessageArguments { 14 | return [self numberOfArguments] - 2; 15 | } 16 | 17 | - (const char *)messageArgumentTypeAtIndex:(NSUInteger)anIndex { 18 | return [self getArgumentTypeAtIndex:anIndex + 2]; 19 | } 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Examples/TransitionFun/TransitionFun/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "7.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "portrait", 12 | "idiom" : "iphone", 13 | "subtype" : "retina4", 14 | "extent" : "full-screen", 15 | "minimum-system-version" : "7.0", 16 | "scale" : "2x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWHaveValueMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // KWHaveValueMatcher.h 3 | // Kiwi 4 | // 5 | // Created by Luke Redpath on 24/01/2011. 6 | // Copyright 2011 Allen Ding. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "KWMatcher.h" 11 | 12 | @interface KWHaveValueMatcher : KWMatcher 13 | 14 | #pragma mark - Configuring Matchers 15 | 16 | - (void)haveValue:(id)value forKey:(NSString *)key; 17 | - (void)haveValue:(id)value forKeyPath:(NSString *)keyPath; 18 | - (void)haveValueForKey:(NSString *)key; 19 | - (void)haveValueForKeyPath:(NSString *)keyPath; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWRaiseMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWMatcher.h" 9 | 10 | @interface KWRaiseMatcher : KWMatcher 11 | 12 | #pragma mark - Configuring Matchers 13 | 14 | - (void)raiseWhenSent:(SEL)aSelector; 15 | - (void)raiseWithName:(NSString *)aName whenSent:(SEL)aSelector; 16 | - (void)raiseWithReason:(NSString *)aReason whenSent:(SEL)aSelector; 17 | - (void)raiseWithName:(NSString *)aName reason:(NSString *)aReason whenSent:(SEL)aSelector; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/NSValue+KiwiAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "NSValue+KiwiAdditions.h" 8 | #import "KWObjCUtilities.h" 9 | 10 | @implementation NSValue(KiwiAdditions) 11 | 12 | #pragma mark - Accessing Data 13 | 14 | - (NSData *)dataValue { 15 | NSUInteger length = KWObjCTypeLength([self objCType]); 16 | void *buffer = malloc(length); 17 | [self getValue:buffer]; 18 | NSData *data = [NSData dataWithBytes:buffer length:length]; 19 | free(buffer); 20 | return data; 21 | } 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWStringContainsMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // KWStringContainsMatcher.h 3 | // Kiwi 4 | // 5 | // Created by Stewart Gleadow on 7/06/12. 6 | // Copyright (c) 2012 Allen Ding. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "KWGenericMatcher.h" 11 | 12 | @interface KWStringContainsMatcher : NSObject 13 | 14 | + (id)matcherWithSubstring:(NSString *)aSubstring; 15 | - (id)initWithSubstring:(NSString *)aSubstring; 16 | - (BOOL)matches:(id)object; 17 | 18 | @end 19 | 20 | #define hasSubstring(substring) [KWStringContainsMatcher matcherWithSubstring:substring] 21 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWDeviceInfo.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWDeviceInfo.h" 8 | 9 | #if TARGET_IPHONE_SIMULATOR 10 | 11 | #import 12 | 13 | #endif // #if TARGET_IPHONE_SIMULATOR 14 | 15 | @implementation KWDeviceInfo 16 | 17 | #pragma mark - Getting the Device Type 18 | 19 | + (BOOL)isSimulator { 20 | #if TARGET_IPHONE_SIMULATOR 21 | return YES; 22 | #else 23 | return NO; 24 | #endif // #if TARGET_IPHONE_SIMULATOR 25 | } 26 | 27 | + (BOOL)isPhysical { 28 | return ![self isSimulator]; 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWContainMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWMatcher.h" 9 | #import "KWMatchVerifier.h" 10 | 11 | @interface KWContainMatcher : KWMatcher 12 | 13 | #pragma mark - Configuring Matchers 14 | 15 | - (void)contain:(id)anObject; 16 | - (void)containObjectsInArray:(NSArray *)anArray; 17 | 18 | @end 19 | 20 | @interface KWMatchVerifier(KWContainMatcherAdditions) 21 | 22 | #pragma mark - Verifying 23 | 24 | - (void)containObjects:(id)firstObject, ... NS_REQUIRES_NIL_TERMINATION; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Nodes/KWAfterAllNode.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWAfterAllNode.h" 8 | #import "KWExampleNodeVisitor.h" 9 | 10 | @implementation KWAfterAllNode 11 | 12 | #pragma mark - Initializing 13 | 14 | + (id)afterAllNodeWithCallSite:(KWCallSite *)aCallSite block:(void (^)(void))block { 15 | return [[self alloc] initWithCallSite:aCallSite description:nil block:block]; 16 | } 17 | 18 | #pragma mark - Accepting Visitors 19 | 20 | - (void)acceptExampleNodeVisitor:(id)aVisitor { 21 | [aVisitor visitAfterAllNode:self]; 22 | } 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Nodes/KWAfterEachNode.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWAfterEachNode.h" 8 | #import "KWExampleNodeVisitor.h" 9 | 10 | @implementation KWAfterEachNode 11 | 12 | #pragma mark - Initializing 13 | 14 | + (id)afterEachNodeWithCallSite:(KWCallSite *)aCallSite block:(void (^)(void))block { 15 | return [[self alloc] initWithCallSite:aCallSite description:nil block:block]; 16 | } 17 | 18 | #pragma mark - Accepting Visitors 19 | 20 | - (void)acceptExampleNodeVisitor:(id)aVisitor { 21 | [aVisitor visitAfterEachNode:self]; 22 | } 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Nodes/KWBeforeAllNode.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWBeforeAllNode.h" 8 | #import "KWExampleNodeVisitor.h" 9 | 10 | @implementation KWBeforeAllNode 11 | 12 | #pragma mark - Initializing 13 | 14 | + (id)beforeAllNodeWithCallSite:(KWCallSite *)aCallSite block:(void (^)(void))block { 15 | return [[self alloc] initWithCallSite:aCallSite description:nil block:block]; 16 | } 17 | 18 | #pragma mark - Accepting Visitors 19 | 20 | - (void)acceptExampleNodeVisitor:(id)aVisitor { 21 | [aVisitor visitBeforeAllNode:self]; 22 | } 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Nodes/KWBeforeEachNode.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWBeforeEachNode.h" 8 | #import "KWExampleNodeVisitor.h" 9 | 10 | @implementation KWBeforeEachNode 11 | 12 | #pragma mark - Initializing 13 | 14 | + (id)beforeEachNodeWithCallSite:(KWCallSite *)aCallSite block:(void (^)(void))block { 15 | return [[self alloc] initWithCallSite:aCallSite description:nil block:block]; 16 | } 17 | 18 | #pragma mark - Accepting Visitors 19 | 20 | - (void)acceptExampleNodeVisitor:(id)aVisitor { 21 | [aVisitor visitBeforeEachNode:self]; 22 | } 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Nodes/KWBlockNode.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWBlockNode.h" 8 | 9 | @implementation KWBlockNode 10 | 11 | #pragma mark - Initializing 12 | 13 | - (id)initWithCallSite:(KWCallSite *)aCallSite description:(NSString *)aDescription block:(void (^)(void))block { 14 | self = [super init]; 15 | if (self) { 16 | _callSite = aCallSite; 17 | _description = aDescription; 18 | _block = [block copy]; 19 | } 20 | 21 | return self; 22 | } 23 | 24 | - (void)performBlock { 25 | if (self.block != nil) { self.block(); } 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWStringUtilities.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | #pragma mark - Checking for Case Separated Words 10 | 11 | BOOL KWStringHasWordPrefix(NSString *string, NSString *prefix); 12 | BOOL KWStringHasStrictWordPrefix(NSString *string, NSString *prefix); 13 | BOOL KWStringHasWord(NSString *string, NSString *word); 14 | 15 | #pragma mark - Getting Type Encodings 16 | 17 | NSString *KWEncodingWithObjCTypes(const char *firstType, ...) NS_REQUIRES_NIL_TERMINATION; 18 | NSString *KWEncodingForVoidMethod(void); 19 | NSString *KWEncodingForDefaultMethod(void); 20 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWCallSite.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @interface KWCallSite : NSObject 10 | 11 | #pragma mark - Initializing 12 | 13 | - (id)initWithFilename:(NSString *)aFilename lineNumber:(NSUInteger)aLineNumber; 14 | 15 | + (id)callSiteWithFilename:(NSString *)aFilename lineNumber:(NSUInteger)aLineNumber; 16 | 17 | #pragma mark - Properties 18 | 19 | @property (nonatomic, readonly, copy) NSString *filename; 20 | @property (nonatomic, readonly) NSUInteger lineNumber; 21 | 22 | #pragma mark - Identifying and Comparing 23 | 24 | - (BOOL)isEqualToCallSite:(KWCallSite *)aCallSite; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Mocking/NSObject+KiwiMockAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "NSObject+KiwiMockAdditions.h" 8 | #import "KWMock.h" 9 | 10 | @implementation NSObject(KiwiMockAdditions) 11 | 12 | #pragma mark - Creating Mocks 13 | 14 | + (id)mock { 15 | return [KWMock mockForClass:[self class]]; 16 | } 17 | 18 | + (id)mockWithName:(NSString *)aName { 19 | return [KWMock mockWithName:aName forClass:[self class]]; 20 | } 21 | 22 | + (id)nullMock { 23 | return [KWMock nullMockForClass:[self class]]; 24 | } 25 | 26 | + (id)nullMockWithName:(NSString *)aName { 27 | return [KWMock nullMockWithName:aName forClass:[self class]]; 28 | } 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/NSProxy+KiwiVerifierAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2013 Allen Ding. All rights reserved. 5 | // 6 | // Contributed by https://github.com/dwlnetnl 7 | // 8 | 9 | #import "NSProxy+KiwiVerifierAdditions.h" 10 | #import "KWVerifying.h" 11 | 12 | @implementation NSProxy (KiwiVerifierAdditions) 13 | 14 | #pragma mark - Attaching to Verifiers 15 | 16 | - (id)attachToVerifier:(id)aVerifier { 17 | [aVerifier setSubject:self]; 18 | return aVerifier; 19 | } 20 | 21 | - (id)attachToVerifier:(id)firstVerifier verifier:(id)secondVerifier { 22 | [firstVerifier setSubject:self]; 23 | [secondVerifier setSubject:self]; 24 | return firstVerifier; 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Nodes/KWItNode.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWBlockNode.h" 9 | #import "KWExampleNode.h" 10 | 11 | @class KWPendingNode; 12 | @class KWExample; 13 | @class KWContextNode; 14 | 15 | @interface KWItNode : KWBlockNode 16 | 17 | @property (nonatomic, strong) KWExample *example; 18 | @property (nonatomic, weak, readonly) KWContextNode *context; 19 | 20 | #pragma mark - Initializing 21 | 22 | + (id)itNodeWithCallSite:(KWCallSite *)aCallSite 23 | description:(NSString *)aDescription 24 | context:(KWContextNode *)context 25 | block:(void (^)(void))block; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWExampleSuite.h: -------------------------------------------------------------------------------- 1 | // 2 | // KWExampleSuite.h 3 | // Kiwi 4 | // 5 | // Created by Luke Redpath on 17/10/2011. 6 | // Copyright (c) 2011 Allen Ding. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "KWExampleNodeVisitor.h" 11 | 12 | @class KWContextNode; 13 | @class KWExample; 14 | @class SenTestCase; 15 | 16 | @interface KWExampleSuite : NSObject 17 | 18 | - (id)initWithRootNode:(KWContextNode *)contextNode; 19 | - (void)addExample:(KWExample *)example; 20 | - (void)markLastExampleAsLastInContext:(KWContextNode *)context; 21 | - (NSArray *)invocationsForTestCase; 22 | @end 23 | 24 | @interface NSInvocation (KWExampleGroup) 25 | - (void)kw_setExample:(KWExample *)exampleGroup; 26 | - (KWExample *)kw_example; 27 | @end 28 | -------------------------------------------------------------------------------- /Tests/ECSlidingViewControllerTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | me.enriquez.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWWorkarounds.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWWorkarounds.h" 8 | 9 | #if KW_TARGET_HAS_INVOCATION_EXCEPTION_BUG 10 | 11 | static NSException *KWExceptionAcrossInvokeBoundary = nil; 12 | 13 | void KWSetExceptionFromAcrossInvocationBoundary(NSException *anException) { 14 | if (KWExceptionAcrossInvokeBoundary != nil) 15 | return; 16 | 17 | KWExceptionAcrossInvokeBoundary = anException; 18 | } 19 | 20 | NSException *KWGetAndClearExceptionFromAcrossInvocationBoundary(void) { 21 | NSException *exception = KWExceptionAcrossInvokeBoundary; 22 | KWExceptionAcrossInvokeBoundary = nil; 23 | return exception; 24 | } 25 | 26 | #endif // #if KW_TARGET_HAS_INVOCATION_EXCEPTION_BUG 27 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Verifiers/KWExistVerifier.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWExpectationType.h" 9 | #import "KWVerifying.h" 10 | 11 | @class KWCallSite; 12 | 13 | @protocol KWReporting; 14 | 15 | @interface KWExistVerifier : NSObject 16 | 17 | #pragma mark - Initializing 18 | 19 | - (id)initWithExpectationType:(KWExpectationType)anExpectationType callSite:(KWCallSite *)aCallSite reporter:(id)aReporter; 20 | 21 | + (id)existVerifierWithExpectationType:(KWExpectationType)anExpectationType callSite:(KWCallSite *)aCallSite reporter:(id)aReporter; 22 | 23 | #pragma mark - Properties 24 | 25 | @property (nonatomic, strong) id subject; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Nodes/KWRegisterMatchersNode.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWExampleNode.h" 9 | 10 | @class KWCallSite; 11 | 12 | @interface KWRegisterMatchersNode : NSObject 13 | 14 | #pragma mark - Initializing 15 | 16 | - (id)initWithCallSite:(KWCallSite *)aCallSite namespacePrefix:(NSString *)aNamespacePrefix; 17 | 18 | + (id)registerMatchersNodeWithCallSite:(KWCallSite *)aCallSite namespacePrefix:(NSString *)aNamespacePrefix; 19 | 20 | #pragma mark - Getting Call Sites 21 | 22 | @property (nonatomic, readonly) KWCallSite *callSite; 23 | 24 | #pragma mark - Getting Namespace Prefixes 25 | 26 | @property (nonatomic, readonly) NSString *namespacePrefix; 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KiwiConfiguration.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | // As of iPhone SDK 4 GM, exceptions thrown across an NSInvocation -invoke or 8 | // forwardInvocation: boundary in the simulator will terminate the app instead 9 | // of being caught in @catch blocks from the caller side of the -invoke. Kiwi 10 | // tries to handle this by storing the first exception that it would have 11 | // otherwise thrown in a nasty global that callers can look for and handle. 12 | // (Buggy termination is less desirable than global variables). 13 | // 14 | // Obviously, this can only handles cases where Kiwi itself would have raised 15 | // an exception. 16 | #if TARGET_IPHONE_SIMULATOR 17 | #define KW_TARGET_HAS_INVOCATION_EXCEPTION_BUG 1 18 | #endif 19 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWGenericMatchingAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSObject+KiwiAdditions.h 3 | // Kiwi 4 | // 5 | // Created by Luke Redpath on 24/01/2011. 6 | // Copyright 2011 Allen Ding. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSObject (KiwiGenericMatchingAdditions) 12 | 13 | - (BOOL)isEqualOrMatches:(id)object; 14 | 15 | @end 16 | 17 | @interface NSArray (KiwiGenericMatchingAdditions) 18 | 19 | - (BOOL)containsObjectEqualToOrMatching:(id)object; 20 | - (BOOL)containsObjectMatching:(id)matcher; 21 | 22 | @end 23 | 24 | @interface NSSet (KiwiGenericMatchingAdditions) 25 | 26 | - (BOOL)containsObjectEqualToOrMatching:(id)object; 27 | 28 | @end 29 | 30 | @interface NSOrderedSet (KiwiGenericMatchingAdditions) 31 | 32 | - (BOOL)containsObjectEqualToOrMatching:(id)object; 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Nodes/KWBlockNode.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWBlock.h" 9 | 10 | @class KWCallSite; 11 | 12 | @interface KWBlockNode : NSObject 13 | 14 | #pragma mark - Initializing 15 | 16 | - (id)initWithCallSite:(KWCallSite *)aCallSite description:(NSString *)aDescription block:(void (^)(void))block; 17 | 18 | #pragma mark - Getting Call Sites 19 | 20 | @property (nonatomic, strong, readonly) KWCallSite *callSite; 21 | 22 | #pragma mark - Getting Descriptions 23 | 24 | @property (nonatomic, copy) NSString *description; 25 | 26 | #pragma mark - Getting Blocks 27 | 28 | @property (nonatomic, copy, readonly) void (^block)(void); 29 | 30 | #pragma mark - Performing blocks 31 | 32 | - (void)performBlock; 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWMatching.h" 9 | 10 | @interface KWMatcher : NSObject 11 | 12 | #pragma mark - Initializing 13 | 14 | - (id)initWithSubject:(id)anObject; 15 | 16 | + (id)matcherWithSubject:(id)anObject; 17 | 18 | #pragma mark - Properties 19 | 20 | @property (nonatomic, strong) id subject; 21 | 22 | #pragma mark - Getting Matcher Strings 23 | 24 | + (NSArray *)matcherStrings; 25 | 26 | #pragma mark - Getting Matcher Compatability 27 | 28 | + (BOOL)canMatchSubject:(id)anObject; 29 | 30 | #pragma mark - Matching 31 | 32 | - (BOOL)evaluate; 33 | 34 | #pragma mark - Getting Failure Messages 35 | 36 | - (NSString *)failureMessageForShould; 37 | - (NSString *)failureMessageForShouldNot; 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWFailure.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @class KWCallSite; 10 | 11 | @interface KWFailure : NSObject 12 | 13 | #pragma mark - Initializing 14 | 15 | - (id)initWithCallSite:(KWCallSite *)aCallSite message:(NSString *)aMessage; 16 | - (id)initWithCallSite:(KWCallSite *)aCallSite format:(NSString *)format, ...; 17 | 18 | + (id)failureWithCallSite:(KWCallSite *)aCallSite message:(NSString *)aMessage; 19 | + (id)failureWithCallSite:(KWCallSite *)aCallSite format:(NSString *)format, ...; 20 | 21 | #pragma mark - Properties 22 | 23 | @property (nonatomic, readonly) NSString *message; 24 | @property (nonatomic, weak, readonly) KWCallSite *callSite; 25 | 26 | #pragma mark - Getting Exception Representations 27 | 28 | - (NSException *)exceptionValue; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWFutureObject.m: -------------------------------------------------------------------------------- 1 | // 2 | // KWFutureObject.m 3 | // iOSFalconCore 4 | // 5 | // Created by Luke Redpath on 13/01/2011. 6 | // Copyright 2011 LJR Software Limited. All rights reserved. 7 | // 8 | 9 | #import "KWFutureObject.h" 10 | 11 | @interface KWFutureObject() 12 | 13 | @property (nonatomic, strong) KWFutureObjectBlock block; 14 | 15 | @end 16 | 17 | @implementation KWFutureObject 18 | 19 | + (id)objectWithObjectPointer:(id *)pointer { 20 | return [self futureObjectWithBlock:^{ return *pointer; }]; 21 | } 22 | 23 | + (id)futureObjectWithBlock:(KWFutureObjectBlock)block { 24 | return [[self alloc] initWithBlock:block]; 25 | } 26 | 27 | - (id)initWithBlock:(KWFutureObjectBlock)aBlock { 28 | self = [super init]; 29 | if (self) { 30 | _block = [aBlock copy]; 31 | } 32 | return self; 33 | } 34 | 35 | - (id)object; { 36 | return self.block(); 37 | } 38 | 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Nodes/KWPendingNode.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWExampleNode.h" 9 | 10 | @class KWContextNode; 11 | @class KWCallSite; 12 | 13 | @interface KWPendingNode : NSObject 14 | 15 | @property (nonatomic, readonly, strong) KWContextNode *context; 16 | 17 | #pragma mark - Initializing 18 | 19 | - (id)initWithCallSite:(KWCallSite *)aCallSite context:(KWContextNode *)context description:(NSString *)aDescription; 20 | 21 | + (id)pendingNodeWithCallSite:(KWCallSite *)aCallSite context:(KWContextNode *)context description:(NSString *)aDescription; 22 | 23 | #pragma mark - Getting Call Sites 24 | 25 | @property (nonatomic, readonly) KWCallSite *callSite; 26 | 27 | #pragma mark - Getting Descriptions 28 | 29 | @property (nonatomic, readonly) NSString *description; 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWMatching.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @protocol KWMatching 10 | 11 | #pragma mark - Initializing 12 | 13 | - (id)initWithSubject:(id)anObject; 14 | 15 | #pragma mark - Getting Matcher Strings 16 | 17 | + (NSArray *)matcherStrings; 18 | 19 | #pragma mark - Getting Matcher Compatability 20 | 21 | + (BOOL)canMatchSubject:(id)anObject; 22 | 23 | #pragma mark - Matching 24 | 25 | @optional 26 | 27 | - (BOOL)isNilMatcher; 28 | - (BOOL)shouldBeEvaluatedAtEndOfExample; 29 | - (BOOL)willEvaluateMultipleTimes; 30 | - (void)setWillEvaluateMultipleTimes:(BOOL)shouldEvaluateMultipleTimes; 31 | 32 | @required 33 | 34 | - (BOOL)evaluate; 35 | 36 | #pragma mark - Getting Failure Messages 37 | 38 | - (NSString *)failureMessageForShould; 39 | - (NSString *)failureMessageForShouldNot; 40 | 41 | @end 42 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWMatchers.h: -------------------------------------------------------------------------------- 1 | // 2 | // KWMatchers.h 3 | // Kiwi 4 | // 5 | // Created by Luke Redpath on 17/06/2011. 6 | // Copyright 2011 Allen Ding. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class KWUserDefinedMatcherBuilder; 12 | 13 | typedef void (^KWMatchersBuildingBlock)(KWUserDefinedMatcherBuilder *); 14 | 15 | @class KWUserDefinedMatcher; 16 | 17 | @interface KWMatchers : NSObject 18 | 19 | + (id)matchers; 20 | 21 | #pragma mark - Defining Matchers 22 | 23 | + (void)defineMatcher:(NSString *)selectorString as:(KWMatchersBuildingBlock)block; 24 | - (void)defineMatcher:(NSString *)selectorString as:(KWMatchersBuildingBlock)block; 25 | - (void)addUserDefinedMatcherBuilder:(KWUserDefinedMatcherBuilder *)builder; 26 | 27 | #pragma mark - Building Matchers 28 | 29 | - (KWUserDefinedMatcher *)matcherForSelector:(SEL)selector subject:(id)subject; 30 | @end 31 | 32 | void KWDefineMatchers(NSString *selectorString, KWMatchersBuildingBlock block); 33 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWExampleNodeVisitor.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @class KWAfterAllNode; 10 | @class KWAfterEachNode; 11 | @class KWBeforeAllNode; 12 | @class KWBeforeEachNode; 13 | @class KWContextNode; 14 | @class KWItNode; 15 | @class KWPendingNode; 16 | @class KWRegisterMatchersNode; 17 | 18 | @protocol KWExampleNodeVisitor 19 | 20 | #pragma mark - Visiting Nodes 21 | 22 | @optional 23 | 24 | - (void)visitContextNode:(KWContextNode *)aNode; 25 | - (void)visitRegisterMatchersNode:(KWRegisterMatchersNode *)aNode; 26 | - (void)visitBeforeAllNode:(KWBeforeAllNode *)aNode; 27 | - (void)visitAfterAllNode:(KWAfterAllNode *)aNode; 28 | - (void)visitBeforeEachNode:(KWBeforeEachNode *)aNode; 29 | - (void)visitAfterEachNode:(KWAfterEachNode *)aNode; 30 | - (void)visitItNode:(KWItNode *)aNode; 31 | - (void)visitPendingNode:(KWPendingNode *)aNode; 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /ECSlidingViewController.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = "ECSlidingViewController" 3 | s.version = "2.0.1" 4 | s.summary = "View controller container that presents its child view controllers in two sliding layers. Inspired by the Path 2.0 and Facebook iPhone apps." 5 | s.description = "ECSlidingViewController is a view controller container that presents its child view controllers in two layers. It provides functionality for sliding the top view to reveal the views underneath it. This functionality is inspired by the Path 2.0 and Facebook iPhone apps." 6 | s.homepage = "https://github.com/ECSlidingViewController/ECSlidingViewController" 7 | s.license = 'MIT' 8 | s.author = { "Mike Enriquez" => "mike@enriquez.me" } 9 | s.source = { :git => "https://github.com/ECSlidingViewController/ECSlidingViewController.git", :tag => "2.0.1" } 10 | 11 | s.platform = :ios, '7.0' 12 | s.requires_arc = true 13 | 14 | s.source_files = 'ECSlidingViewController' 15 | end 16 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWBlock.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWBlock.h" 8 | 9 | @interface KWBlock() 10 | 11 | #pragma mark - Properties 12 | 13 | @property (nonatomic, readonly, copy) void (^block)(void); 14 | 15 | @end 16 | 17 | @implementation KWBlock 18 | 19 | #pragma mark - Initializing 20 | 21 | - (id)initWithBlock:(void (^)(void))block { 22 | self = [super init]; 23 | if (self) { 24 | _block = [block copy]; 25 | } 26 | 27 | return self; 28 | } 29 | 30 | + (id)blockWithBlock:(void (^)(void))aBlock { 31 | return [[self alloc] initWithBlock:aBlock]; 32 | } 33 | 34 | #pragma mark - Calling Blocks 35 | 36 | - (void)call { 37 | self.block(); 38 | } 39 | 40 | @end 41 | 42 | #pragma mark - Creating Blocks 43 | 44 | KWBlock *theBlock(void (^block)(void)) { 45 | return lambda(block); 46 | } 47 | 48 | KWBlock *lambda(void (^block)(void)) { 49 | return [KWBlock blockWithBlock:block]; 50 | } 51 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/NSInvocation+KiwiAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @interface NSInvocation(KiwiAdditions) 10 | 11 | #pragma mark - Creating NSInvocation Objects 12 | 13 | + (NSInvocation *)invocationWithTarget:(id)anObject selector:(SEL)aSelector; 14 | + (NSInvocation *)invocationWithTarget:(id)anObject selector:(SEL)aSelector messageArguments:(const void *)firstBytes, ...; 15 | 16 | #pragma mark - Accessing Message Arguments 17 | 18 | // Message arguments are invocation arguments that begin after the target and selector arguments. These methods provide 19 | // convenient ways to access them. 20 | 21 | - (NSData *)messageArgumentDataAtIndex:(NSUInteger)anIndex; 22 | - (void)getMessageArgument:(void *)buffer atIndex:(NSUInteger)anIndex; 23 | - (void)setMessageArgument:(const void *)bytes atIndex:(NSUInteger)anIndex; 24 | - (void)setMessageArguments:(const void *)firstBytes, ...; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWStringPrefixMatcher.m: -------------------------------------------------------------------------------- 1 | // 2 | // StringPrefixMatcher.m 3 | // Kiwi 4 | // 5 | // Created by Luke Redpath on 17/01/2011. 6 | // Copyright 2011 Allen Ding. All rights reserved. 7 | // 8 | 9 | #import "KWStringPrefixMatcher.h" 10 | 11 | @interface KWStringPrefixMatcher(){} 12 | @property (nonatomic, copy) NSString *prefix; 13 | @end 14 | 15 | @implementation KWStringPrefixMatcher 16 | 17 | + (id)matcherWithPrefix:(NSString *)aPrefix { 18 | return [[self alloc] initWithPrefix:aPrefix]; 19 | } 20 | 21 | - (id)initWithPrefix:(NSString *)aPrefix { 22 | self = [super init]; 23 | if (self) { 24 | _prefix = [aPrefix copy]; 25 | } 26 | return self; 27 | } 28 | 29 | 30 | - (BOOL)matches:(id)item { 31 | if (![item respondsToSelector:@selector(hasPrefix:)]) 32 | return NO; 33 | 34 | return [item hasPrefix:self.prefix]; 35 | } 36 | 37 | - (NSString *)description { 38 | return [NSString stringWithFormat:@"a string with prefix '%@'", self.prefix]; 39 | } 40 | 41 | @end 42 | -------------------------------------------------------------------------------- /Tests/Pods/Local Podspecs/ECSlidingViewController.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = "ECSlidingViewController" 3 | s.version = "2.0.0-beta1" 4 | s.summary = "View controller container that presents its child view controllers in two sliding layers. Inspired by the Path 2.0 and Facebook iPhone apps." 5 | s.description = "ECSlidingViewController is a view controller container that presents its child view controllers in two layers. It provides functionality for sliding the top view to reveal the views underneath it. This functionality is inspired by the Path 2.0 and Facebook iPhone apps." 6 | s.homepage = "https://github.com/ECSlidingViewController/ECSlidingViewController" 7 | s.license = 'MIT' 8 | s.author = { "Mike Enriquez" => "mike@enriquez.me" } 9 | s.source = { :git => "https://github.com/ECSlidingViewController/ECSlidingViewController.git", :tag => "2.0.0-beta1" } 10 | 11 | s.platform = :ios, '7.0' 12 | s.requires_arc = true 13 | 14 | s.source_files = 'ECSlidingViewController' 15 | end 16 | -------------------------------------------------------------------------------- /Examples/Pods/Local Podspecs/ECSlidingViewController.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = "ECSlidingViewController" 3 | s.version = "2.0.0-beta1" 4 | s.summary = "View controller container that presents its child view controllers in two sliding layers. Inspired by the Path 2.0 and Facebook iPhone apps." 5 | s.description = "ECSlidingViewController is a view controller container that presents its child view controllers in two layers. It provides functionality for sliding the top view to reveal the views underneath it. This functionality is inspired by the Path 2.0 and Facebook iPhone apps." 6 | s.homepage = "https://github.com/ECSlidingViewController/ECSlidingViewController" 7 | s.license = 'MIT' 8 | s.author = { "Mike Enriquez" => "mike@enriquez.me" } 9 | s.source = { :git => "https://github.com/ECSlidingViewController/ECSlidingViewController.git", :tag => "2.0.0-beta1" } 10 | 11 | s.platform = :ios, '7.0' 12 | s.requires_arc = true 13 | 14 | s.source_files = 'ECSlidingViewController' 15 | end 16 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Nodes/KWRegisterMatchersNode.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWRegisterMatchersNode.h" 8 | 9 | #import "KWCallSite.h" 10 | #import "KWExampleNodeVisitor.h" 11 | 12 | @implementation KWRegisterMatchersNode 13 | 14 | #pragma mark - Initializing 15 | 16 | - (id)initWithCallSite:(KWCallSite *)aCallSite namespacePrefix:(NSString *)aNamespacePrefix { 17 | self = [super init]; 18 | if (self) { 19 | _callSite = aCallSite; 20 | _namespacePrefix = [aNamespacePrefix copy]; 21 | } 22 | 23 | return self; 24 | } 25 | 26 | + (id)registerMatchersNodeWithCallSite:(KWCallSite *)aCallSite namespacePrefix:(NSString *)aNamespacePrefix { 27 | return [[self alloc] initWithCallSite:aCallSite namespacePrefix:aNamespacePrefix]; 28 | } 29 | 30 | #pragma mark - Accepting Visitors 31 | 32 | - (void)acceptExampleNodeVisitor:(id)aVisitor { 33 | [aVisitor visitRegisterMatchersNode:self]; 34 | } 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/NSObject+KiwiSpyAdditions.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "NSObject+KiwiSpyAdditions.h" 8 | 9 | #import "KWCaptureSpy.h" 10 | #import "KWMessagePattern.h" 11 | #import "NSObject+KiwiStubAdditions.h" 12 | 13 | @implementation NSObject (KiwiSpyAdditions) 14 | 15 | - (KWCaptureSpy *)captureArgument:(SEL)selector atIndex:(NSUInteger)index { 16 | KWCaptureSpy *spy = [[KWCaptureSpy alloc] initWithArgumentIndex:index]; 17 | KWMessagePattern *pattern = [[KWMessagePattern alloc] initWithSelector:selector]; 18 | [self addMessageSpy:spy forMessagePattern:pattern]; 19 | return spy; 20 | } 21 | 22 | + (KWCaptureSpy *)captureArgument:(SEL)selector atIndex:(NSUInteger)index { 23 | KWCaptureSpy *spy = [[KWCaptureSpy alloc] initWithArgumentIndex:index]; 24 | KWMessagePattern *pattern = [[KWMessagePattern alloc] initWithSelector:selector]; 25 | [self addMessageSpy:spy forMessagePattern:pattern]; 26 | return spy; 27 | } 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /Examples/LayoutDemo/LayoutDemo/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "40x40", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "60x60", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "ipad", 20 | "size" : "29x29", 21 | "scale" : "1x" 22 | }, 23 | { 24 | "idiom" : "ipad", 25 | "size" : "29x29", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "ipad", 30 | "size" : "40x40", 31 | "scale" : "1x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "40x40", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "76x76", 41 | "scale" : "1x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "76x76", 46 | "scale" : "2x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWStringContainsMatcher.m: -------------------------------------------------------------------------------- 1 | // 2 | // StringContainsMatcher.m 3 | // Kiwi 4 | // 5 | // Created by Stewart Gleadow on 7/06/12. 6 | // Copyright (c) 2012 Allen Ding. All rights reserved. 7 | // 8 | 9 | #import "KWStringContainsMatcher.h" 10 | 11 | @interface KWStringContainsMatcher(){} 12 | @property (nonatomic, copy) NSString *substring; 13 | @end 14 | 15 | @implementation KWStringContainsMatcher 16 | 17 | + (id)matcherWithSubstring:(NSString *)aSubstring { 18 | return [[self alloc] initWithSubstring:aSubstring]; 19 | } 20 | 21 | - (id)initWithSubstring:(NSString *)aSubstring { 22 | self = [super init]; 23 | if (self) { 24 | _substring = [aSubstring copy]; 25 | } 26 | return self; 27 | } 28 | 29 | 30 | - (BOOL)matches:(id)item { 31 | if (![item respondsToSelector:@selector(rangeOfString:)]) { 32 | return NO; 33 | } 34 | 35 | return [item rangeOfString:self.substring].location != NSNotFound; 36 | } 37 | 38 | - (NSString *)description { 39 | return [NSString stringWithFormat:@"a string with substring '%@'", self.substring]; 40 | } 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013 Mike Enriquez 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWSpec.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import 9 | #import "KWExpectationType.h" 10 | #import "KWVerifying.h" 11 | #import "KWExampleDelegate.h" 12 | 13 | 14 | @class KWCallSite; 15 | 16 | #ifdef XCT_EXPORT 17 | @interface KWSpec : XCTestCase 18 | #else 19 | @interface KWSpec : SenTestCase 20 | #endif 21 | 22 | #pragma mark - Adding Verifiers 23 | 24 | + (id)addVerifier:(id)aVerifier; 25 | + (id)addExistVerifierWithExpectationType:(KWExpectationType)anExpectationType callSite:(KWCallSite *)aCallSite; 26 | + (id)addMatchVerifierWithExpectationType:(KWExpectationType)anExpectationType callSite:(KWCallSite *)aCallSite; 27 | + (id)addAsyncVerifierWithExpectationType:(KWExpectationType)anExpectationType callSite:(KWCallSite *)aCallSite timeout:(NSInteger)timeout shouldWait:(BOOL)shouldWait; 28 | 29 | #pragma mark - Building Example Groups 30 | 31 | + (NSString *)file; 32 | + (void)buildExampleGroups; 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWGenericMatcher.m: -------------------------------------------------------------------------------- 1 | // 2 | // KWGenericMatcher.m 3 | // Kiwi 4 | // 5 | // Created by Luke Redpath on 24/01/2011. 6 | // Copyright 2011 Allen Ding. All rights reserved. 7 | // 8 | 9 | #import "KWGenericMatcher.h" 10 | #import "KWGenericMatchEvaluator.h" 11 | 12 | @interface KWGenericMatcher () 13 | 14 | @property (nonatomic, strong) id matcher; 15 | 16 | @end 17 | 18 | @implementation KWGenericMatcher 19 | 20 | #pragma mark - Matching 21 | 22 | - (BOOL)evaluate { 23 | return [KWGenericMatchEvaluator genericMatcher:self.matcher matches:self.subject]; 24 | } 25 | 26 | - (NSString *)failureMessageForShould { 27 | return [NSString stringWithFormat:@"expected subject to match %@", self.matcher]; 28 | } 29 | 30 | - (NSString *)description 31 | { 32 | return [NSString stringWithFormat:@"match %@", [self.matcher description]]; 33 | } 34 | 35 | #pragma mark - Getting Matcher Strings 36 | 37 | + (NSArray *)matcherStrings { 38 | return @[@"match:"]; 39 | } 40 | 41 | #pragma mark - Configuring Matchers 42 | 43 | - (void)match:(id)aMatcher; 44 | { 45 | self.matcher = aMatcher; 46 | } 47 | 48 | @end 49 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWInvocationCapturer.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @protocol KWInvocationCapturerDelegate; 10 | 11 | @interface KWInvocationCapturer : NSProxy 12 | 13 | #pragma mark - Initializing 14 | 15 | - (id)initWithDelegate:(id)aDelegate; 16 | - (id)initWithDelegate:(id)aDelegate userInfo:(NSDictionary *)aUserInfo; 17 | 18 | + (id)invocationCapturerWithDelegate:(id)aDelegate; 19 | + (id)invocationCapturerWithDelegate:(id)aDelegate userInfo:(NSDictionary *)aUserInfo; 20 | 21 | #pragma mark - Properties 22 | 23 | @property (nonatomic, weak, readonly) id delegate; 24 | @property (nonatomic, strong, readonly) NSDictionary *userInfo; 25 | 26 | @end 27 | 28 | @protocol KWInvocationCapturerDelegate 29 | 30 | #pragma mark - Capturing Invocations 31 | 32 | - (NSMethodSignature *)invocationCapturer:(KWInvocationCapturer *)anInvocationCapturer methodSignatureForSelector:(SEL)aSelector; 33 | - (void)invocationCapturer:(KWInvocationCapturer *)anInvocationCapturer didCaptureInvocation:(NSInvocation *)anInvocation; 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWMatcherFactory.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWMatching.h" 9 | 10 | @class KWFailure; 11 | @class KWMatcher; 12 | @class KWUserDefinedMatcherBuilder; 13 | 14 | @interface KWMatcherFactory : NSObject 15 | 16 | #pragma mark - Initializing 17 | 18 | - (id)init; 19 | 20 | #pragma mark - Properties 21 | 22 | @property (nonatomic, readonly) NSArray *registeredMatcherClasses; 23 | 24 | #pragma mark - Registering Matcher Classes 25 | 26 | - (void)registerMatcherClass:(Class)aClass; 27 | - (void)registerMatcherClassesWithNamespacePrefix:(NSString *)aNamespacePrefix; 28 | 29 | #pragma mark - Registering User Defined Matchers 30 | 31 | //- (void)registerUserDefinedMatcherWithBuilder:(KWUserDefinedMatcherBuilder *)aBuilder; 32 | 33 | #pragma mark - Getting Method Signatures 34 | 35 | - (NSMethodSignature *)methodSignatureForMatcherSelector:(SEL)aSelector; 36 | 37 | #pragma mark - Getting Matchers 38 | 39 | - (KWMatcher *)matcherFromInvocation:(NSInvocation *)anInvocation subject:(id)subject; 40 | 41 | @end 42 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Verifiers/KWAsyncVerifier.h: -------------------------------------------------------------------------------- 1 | // 2 | // KWAsyncVerifier.h 3 | // iOSFalconCore 4 | // 5 | // Created by Luke Redpath on 13/01/2011. 6 | // Copyright 2011 LJR Software Limited. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "KWMatchVerifier.h" 11 | #import "KWProbe.h" 12 | 13 | #define kKW_DEFAULT_PROBE_TIMEOUT 1.0 14 | 15 | @class KWAsyncMatcherProbe; 16 | 17 | 18 | @interface KWAsyncVerifier : KWMatchVerifier 19 | 20 | @property (nonatomic, assign) NSTimeInterval timeout; 21 | @property (nonatomic, assign) BOOL shouldWait; 22 | 23 | + (id)asyncVerifierWithExpectationType:(KWExpectationType)anExpectationType callSite:(KWCallSite *)aCallSite matcherFactory:(KWMatcherFactory *)aMatcherFactory reporter:(id)aReporter probeTimeout:(NSTimeInterval)probeTimeout shouldWait:(BOOL)shouldWait; 24 | - (void)verifyWithProbe:(KWAsyncMatcherProbe *)aProbe; 25 | 26 | @end 27 | 28 | 29 | @interface KWAsyncMatcherProbe : NSObject 30 | 31 | @property (nonatomic, assign) BOOL matchResult; 32 | @property (nonatomic, readonly) id matcher; 33 | 34 | - (id)initWithMatcher:(id)aMatcher; 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWObjCUtilities.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | #pragma mark - Objective-C Type Utilities 10 | 11 | BOOL KWObjCTypeEqualToObjCType(const char *firstObjCType, const char *secondObjCType); 12 | BOOL KWObjCTypeIsNumeric(const char *objCType); 13 | BOOL KWObjCTypeIsFloatingPoint(const char *objCType); 14 | BOOL KWObjCTypeIsIntegral(const char *objCType); 15 | BOOL KWObjCTypeIsSignedIntegral(const char *objCType); 16 | BOOL KWObjCTypeIsUnsignedIntegral(const char *objCType); 17 | BOOL KWObjCTypeIsObject(const char *objCType); 18 | BOOL KWObjCTypeIsCharString(const char *objCType); 19 | BOOL KWObjCTypeIsClass(const char *objCType); 20 | BOOL KWObjCTypeIsSelector(const char *objCType); 21 | BOOL KWObjCTypeIsPointerToType(const char *objCType); 22 | BOOL KWObjCTypeIsPointerLike(const char *objCType); 23 | BOOL KWObjCTypeIsUnknown(const char *objCType); 24 | BOOL KWObjCTypeIsBlock(const char *objCType); 25 | 26 | NSUInteger KWObjCTypeLength(const char *objCType); 27 | 28 | #pragma mark - Selector Utlities 29 | 30 | NSUInteger KWSelectorParameterCount(SEL selector); 31 | -------------------------------------------------------------------------------- /Tests/Pods/Pods-environment.h: -------------------------------------------------------------------------------- 1 | 2 | // To check if a library is compiled with CocoaPods you 3 | // can use the `COCOAPODS` macro definition which is 4 | // defined in the xcconfigs so it is available in 5 | // headers also when they are imported in the client 6 | // project. 7 | 8 | 9 | // ECSlidingViewController 10 | #define COCOAPODS_POD_AVAILABLE_ECSlidingViewController 11 | #define COCOAPODS_VERSION_MAJOR_ECSlidingViewController 2 12 | #define COCOAPODS_VERSION_MINOR_ECSlidingViewController 0 13 | #define COCOAPODS_VERSION_PATCH_ECSlidingViewController 0 14 | 15 | // Kiwi/ARC 16 | #define COCOAPODS_POD_AVAILABLE_Kiwi_ARC 17 | #define COCOAPODS_VERSION_MAJOR_Kiwi_ARC 2 18 | #define COCOAPODS_VERSION_MINOR_Kiwi_ARC 2 19 | #define COCOAPODS_VERSION_PATCH_Kiwi_ARC 3 20 | 21 | // Kiwi/NonARC 22 | #define COCOAPODS_POD_AVAILABLE_Kiwi_NonARC 23 | #define COCOAPODS_VERSION_MAJOR_Kiwi_NonARC 2 24 | #define COCOAPODS_VERSION_MINOR_Kiwi_NonARC 2 25 | #define COCOAPODS_VERSION_PATCH_Kiwi_NonARC 3 26 | 27 | // Kiwi/XCTest 28 | #define COCOAPODS_POD_AVAILABLE_Kiwi_XCTest 29 | #define COCOAPODS_VERSION_MAJOR_Kiwi_XCTest 2 30 | #define COCOAPODS_VERSION_MINOR_Kiwi_XCTest 2 31 | #define COCOAPODS_VERSION_PATCH_Kiwi_XCTest 3 32 | 33 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/NSNumber+KiwiAdditions.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @interface NSNumber(KiwiAdditions) 10 | 11 | #pragma mark - Creating Numbers 12 | 13 | + (id)numberWithBytes:(const void *)bytes objCType:(const char *)anObjCType; 14 | + (id)numberWithBoolBytes:(const void *)bytes; 15 | + (id)numberWithCharBytes:(const void *)bytes; 16 | + (id)numberWithDoubleBytes:(const void *)bytes; 17 | + (id)numberWithFloatBytes:(const void *)bytes; 18 | + (id)numberWithIntBytes:(const void *)bytes; 19 | + (id)numberWithIntegerBytes:(const void *)bytes; 20 | + (id)numberWithLongBytes:(const void *)bytes; 21 | + (id)numberWithLongLongBytes:(const void *)bytes; 22 | + (id)numberWithShortBytes:(const void *)bytes; 23 | + (id)numberWithUnsignedCharBytes:(const void *)bytes; 24 | + (id)numberWithUnsignedIntBytes:(const void *)bytes; 25 | + (id)numberWithUnsignedIntegerBytes:(const void *)bytes; 26 | + (id)numberWithUnsignedLongBytes:(const void *)bytes; 27 | + (id)numberWithUnsignedLongLongBytes:(const void *)bytes; 28 | + (id)numberWithUnsignedShortBytes:(const void *)bytes; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWBeZeroMatcher.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWBeZeroMatcher.h" 8 | #import "KWFormatter.h" 9 | #import "KWValue.h" 10 | 11 | @implementation KWBeZeroMatcher 12 | 13 | #pragma mark - Getting Matcher Strings 14 | 15 | + (NSArray *)matcherStrings { 16 | return @[@"beZero"]; 17 | } 18 | 19 | #pragma mark - Matching 20 | 21 | - (BOOL)evaluate { 22 | if (![self.subject respondsToSelector:@selector(boolValue)]) 23 | [NSException raise:@"KWMatcherException" format:@"subject does not respond to -numberValue"]; 24 | 25 | return [[self.subject numberValue] isEqualToNumber:@0]; 26 | } 27 | 28 | #pragma mark - Getting Failure Messages 29 | 30 | - (NSString *)failureMessageForShould { 31 | return [NSString stringWithFormat:@"expected subject to be zero, got %@", 32 | [KWFormatter formatObject:self.subject]]; 33 | } 34 | 35 | - (NSString *)failureMessageForShouldNot { 36 | return [NSString stringWithFormat:@"expected subject not to be zero"]; 37 | } 38 | 39 | #pragma mark - Configuring Matchers 40 | 41 | - (void)beZero { 42 | } 43 | 44 | @end 45 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWCallSite.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWCallSite.h" 8 | 9 | @implementation KWCallSite 10 | 11 | #pragma mark - Initializing 12 | 13 | - (id)initWithFilename:(NSString *)aFilename lineNumber:(NSUInteger)aLineNumber { 14 | self = [super init]; 15 | if (self) { 16 | _filename = [aFilename copy]; 17 | _lineNumber = aLineNumber; 18 | } 19 | 20 | return self; 21 | } 22 | 23 | + (id)callSiteWithFilename:(NSString *)aFilename lineNumber:(NSUInteger)aLineNumber { 24 | return [[self alloc] initWithFilename:aFilename lineNumber:aLineNumber]; 25 | } 26 | 27 | #pragma mark - Identifying and Comparing 28 | 29 | - (NSUInteger)hash { 30 | return [[NSString stringWithFormat:@"%@%u", self.filename, (unsigned)self.lineNumber] hash]; 31 | } 32 | 33 | - (BOOL)isEqual:(id)anObject { 34 | if (![anObject isKindOfClass:[KWCallSite class]]) 35 | return NO; 36 | 37 | return [self isEqualToCallSite:anObject]; 38 | } 39 | 40 | - (BOOL)isEqualToCallSite:(KWCallSite *)aCallSite { 41 | return [self.filename isEqualToString:aCallSite.filename] && (self.lineNumber == aCallSite.lineNumber); 42 | } 43 | 44 | @end 45 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/KWMessageTracker.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWCountType.h" 9 | #import "KWMessageSpying.h" 10 | 11 | @class KWMessagePattern; 12 | 13 | @interface KWMessageTracker : NSObject 14 | 15 | #pragma mark - Initializing 16 | 17 | - (id)initWithSubject:(id)anObject messagePattern:(KWMessagePattern *)aMessagePattern countType:(KWCountType)aCountType count:(NSUInteger)aCount; 18 | 19 | + (id)messageTrackerWithSubject:(id)anObject messagePattern:(KWMessagePattern *)aMessagePattern countType:(KWCountType)aCountType count:(NSUInteger)aCount; 20 | 21 | #pragma mark - Properties 22 | 23 | @property (nonatomic, readonly) id subject; 24 | @property (nonatomic, readonly) KWMessagePattern *messagePattern; 25 | @property (nonatomic, readonly) KWCountType countType; 26 | @property (nonatomic, readonly) NSUInteger count; 27 | 28 | #pragma mark - Stopping Tracking 29 | 30 | - (void)stopTracking; 31 | 32 | #pragma mark - Getting Message Tracker Status 33 | 34 | - (BOOL)succeeded; 35 | 36 | #pragma mark - Getting Phrases 37 | 38 | - (NSString *)expectedCountPhrase; 39 | - (NSString *)receivedCountPhrase; 40 | 41 | @end 42 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWConformToProtocolMatcher.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWConformToProtocolMatcher.h" 8 | #import "KWFormatter.h" 9 | 10 | @interface KWConformToProtocolMatcher() 11 | 12 | @property (nonatomic, assign) Protocol *protocol; 13 | 14 | @end 15 | 16 | @implementation KWConformToProtocolMatcher 17 | 18 | #pragma mark - Getting Matcher Strings 19 | 20 | + (NSArray *)matcherStrings { 21 | return @[@"conformToProtocol:"]; 22 | } 23 | 24 | #pragma mark - Matching 25 | 26 | - (BOOL)evaluate { 27 | return [self.subject conformsToProtocol:self.protocol]; 28 | } 29 | 30 | #pragma mark - Getting Failure Messages 31 | 32 | - (NSString *)failureMessageForShould { 33 | return [NSString stringWithFormat:@"expected subject to conform to %@ protocol", 34 | NSStringFromProtocol(self.protocol)]; 35 | } 36 | 37 | - (NSString *)description { 38 | return [NSString stringWithFormat:@"conform to %@ protocol", NSStringFromProtocol(self.protocol)]; 39 | } 40 | 41 | #pragma mark - Configuring Matchers 42 | 43 | - (void)conformToProtocol:(Protocol *)aProtocol { 44 | self.protocol = aProtocol; 45 | } 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWRespondToSelectorMatcher.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWRespondToSelectorMatcher.h" 8 | #import "KWFormatter.h" 9 | 10 | @interface KWRespondToSelectorMatcher() 11 | 12 | #pragma mark - Properties 13 | 14 | @property (nonatomic, assign) SEL selector; 15 | 16 | @end 17 | 18 | @implementation KWRespondToSelectorMatcher 19 | 20 | #pragma mark - Getting Matcher Strings 21 | 22 | + (NSArray *)matcherStrings { 23 | return @[@"respondToSelector:"]; 24 | } 25 | 26 | #pragma mark - Matching 27 | 28 | - (BOOL)evaluate { 29 | return [self.subject respondsToSelector:self.selector]; 30 | } 31 | 32 | #pragma mark - Getting Failure Messages 33 | 34 | - (NSString *)failureMessageForShould { 35 | return [NSString stringWithFormat:@"expected subject to respond to -%@", 36 | NSStringFromSelector(self.selector)]; 37 | } 38 | 39 | - (NSString *)description { 40 | return [NSString stringWithFormat:@"respond to -%@", NSStringFromSelector(self.selector)]; 41 | } 42 | 43 | #pragma mark - Configuring Matchers 44 | 45 | - (void)respondToSelector:(SEL)aSelector { 46 | self.selector = aSelector; 47 | } 48 | 49 | @end 50 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWBeKindOfClassMatcher.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWBeKindOfClassMatcher.h" 8 | #import "KWFormatter.h" 9 | 10 | @interface KWBeKindOfClassMatcher() 11 | 12 | @property (nonatomic, assign) Class targetClass; 13 | 14 | @end 15 | 16 | @implementation KWBeKindOfClassMatcher 17 | 18 | #pragma mark - Getting Matcher Strings 19 | 20 | + (NSArray *)matcherStrings { 21 | return @[@"beKindOfClass:"]; 22 | } 23 | 24 | #pragma mark - Matching 25 | 26 | - (BOOL)evaluate { 27 | return [self.subject isKindOfClass:self.targetClass]; 28 | } 29 | 30 | #pragma mark - Getting Failure Messages 31 | 32 | - (NSString *)failureMessageForShould { 33 | return [NSString stringWithFormat:@"expected subject to be kind of %@, got %@", 34 | NSStringFromClass(self.targetClass), 35 | NSStringFromClass([self.subject class])]; 36 | } 37 | 38 | - (NSString *)description { 39 | return [NSString stringWithFormat:@"be kind of %@", NSStringFromClass(self.targetClass)]; 40 | } 41 | 42 | #pragma mark - Configuring Matchers 43 | 44 | - (void)beKindOfClass:(Class)aClass { 45 | self.targetClass = aClass; 46 | } 47 | 48 | @end 49 | -------------------------------------------------------------------------------- /Examples/Pods/Pods-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## ECSlidingViewController 5 | 6 | Copyright (c) 2013 Mike Enriquez 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - http://cocoapods.org 27 | -------------------------------------------------------------------------------- /Examples/Pods/Pods-LayoutDemo-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## ECSlidingViewController 5 | 6 | Copyright (c) 2013 Mike Enriquez 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - http://cocoapods.org 27 | -------------------------------------------------------------------------------- /Examples/Pods/Pods-TransitionFun-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## ECSlidingViewController 5 | 6 | Copyright (c) 2013 Mike Enriquez 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - http://cocoapods.org 27 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWBeMemberOfClassMatcher.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWBeMemberOfClassMatcher.h" 8 | #import "KWFormatter.h" 9 | 10 | @interface KWBeMemberOfClassMatcher() 11 | 12 | @property (nonatomic, assign) Class targetClass; 13 | 14 | @end 15 | 16 | @implementation KWBeMemberOfClassMatcher 17 | 18 | #pragma mark - Getting Matcher Strings 19 | 20 | + (NSArray *)matcherStrings { 21 | return @[@"beMemberOfClass:"]; 22 | } 23 | 24 | #pragma mark - Matching 25 | 26 | - (BOOL)evaluate { 27 | return [self.subject isMemberOfClass:self.targetClass]; 28 | } 29 | 30 | #pragma mark - Getting Failure Messages 31 | 32 | - (NSString *)failureMessageForShould { 33 | return [NSString stringWithFormat:@"expected subject to be member of %@, got %@", 34 | NSStringFromClass(self.targetClass), 35 | NSStringFromClass([self.subject class])]; 36 | } 37 | 38 | - (NSString *)description { 39 | return [NSString stringWithFormat:@"be member of %@", 40 | NSStringFromClass(self.targetClass)]; 41 | } 42 | 43 | #pragma mark - Configuring Matchers 44 | 45 | - (void)beMemberOfClass:(Class)aClass { 46 | self.targetClass = aClass; 47 | } 48 | 49 | @end 50 | -------------------------------------------------------------------------------- /Examples/LayoutDemo/LayoutDemo/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "7.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "portrait", 12 | "idiom" : "iphone", 13 | "subtype" : "retina4", 14 | "extent" : "full-screen", 15 | "minimum-system-version" : "7.0", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "orientation" : "portrait", 20 | "idiom" : "ipad", 21 | "extent" : "full-screen", 22 | "minimum-system-version" : "7.0", 23 | "scale" : "1x" 24 | }, 25 | { 26 | "orientation" : "landscape", 27 | "idiom" : "ipad", 28 | "extent" : "full-screen", 29 | "minimum-system-version" : "7.0", 30 | "scale" : "1x" 31 | }, 32 | { 33 | "orientation" : "portrait", 34 | "idiom" : "ipad", 35 | "extent" : "full-screen", 36 | "minimum-system-version" : "7.0", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "orientation" : "landscape", 41 | "idiom" : "ipad", 42 | "extent" : "full-screen", 43 | "minimum-system-version" : "7.0", 44 | "scale" : "2x" 45 | } 46 | ], 47 | "info" : { 48 | "version" : 1, 49 | "author" : "xcode" 50 | } 51 | } -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWContainStringMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // KWContainStringMatcher.h 3 | // Kiwi 4 | // 5 | // Created by Kristopher Johnson on 4/28/13. 6 | // Copyright (c) 2013 Allen Ding. All rights reserved. 7 | // 8 | 9 | #import "KiwiConfiguration.h" 10 | #import "KWMatcher.h" 11 | 12 | // Kiwi matcher for determining whether a string contains an expected substring 13 | // 14 | // Examples: 15 | // 16 | // [[@"Hello, world!" should] containString:@"world"]; 17 | // [[@"Hello, world!" shouldNot] containString:@"xyzzy"]; 18 | // 19 | // [[@"Hello, world!" should] containString:@"WORLD" 20 | // options:NSCaseInsensitiveSearch]; 21 | // 22 | // [[@"Hello, world!" should] startWithString:@"Hello,"]; 23 | // [[@"Hello, world!" should] endWithString:@"world!"]; 24 | 25 | @interface KWContainStringMatcher : KWMatcher 26 | 27 | // Match if subject contains specified substring 28 | - (void)containString:(NSString *)string; 29 | 30 | // Match if subject contains specified substring, using specified comparison options 31 | - (void)containString:(NSString *)string options:(NSStringCompareOptions)options; 32 | 33 | // Match if subject starts with the specified prefix 34 | - (void)startWithString:(NSString *)prefix; 35 | 36 | // Match if subject ends with the specified prefix 37 | - (void)endWithString:(NSString *)suffix; 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/NonARC/KWMessagePattern.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @interface KWMessagePattern : NSObject 10 | 11 | #pragma mark - Initializing 12 | 13 | - (id)initWithSelector:(SEL)aSelector; 14 | - (id)initWithSelector:(SEL)aSelector argumentFilters:(NSArray *)anArray; 15 | - (id)initWithSelector:(SEL)aSelector firstArgumentFilter:(id)firstArgumentFilter argumentList:(va_list)argumentList; 16 | 17 | + (id)messagePatternWithSelector:(SEL)aSelector; 18 | + (id)messagePatternWithSelector:(SEL)aSelector argumentFilters:(NSArray *)anArray; 19 | + (id)messagePatternWithSelector:(SEL)aSelector firstArgumentFilter:(id)firstArgumentFilter argumentList:(va_list)argumentList; 20 | 21 | + (id)messagePatternFromInvocation:(NSInvocation *)anInvocation; 22 | 23 | #pragma mark - Properties 24 | 25 | @property (nonatomic, readonly) SEL selector; 26 | @property (nonatomic, readonly) NSArray *argumentFilters; 27 | 28 | #pragma mark - Matching Invocations 29 | 30 | - (BOOL)matchesInvocation:(NSInvocation *)anInvocation; 31 | 32 | #pragma mark - Comparing Message Patterns 33 | 34 | - (BOOL)isEqualToMessagePattern:(KWMessagePattern *)aMessagePattern; 35 | 36 | #pragma mark - Retrieving String Representations 37 | 38 | - (NSString *)stringValue; 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWHaveMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWCountType.h" 9 | #import "KWMatcher.h" 10 | #import "KWMatchVerifier.h" 11 | 12 | @interface KWHaveMatcher : KWMatcher 13 | 14 | #pragma mark - Configuring Matchers 15 | 16 | - (void)haveCountOf:(NSUInteger)aCount; 17 | - (void)haveCountOfAtLeast:(NSUInteger)aCount; 18 | - (void)haveCountOfAtMost:(NSUInteger)aCount; 19 | - (void)haveLengthOf:(NSUInteger)aCount; 20 | - (void)haveLengthOfAtLeast:(NSUInteger)aCount; 21 | - (void)haveLengthOfAtMost:(NSUInteger)aCount; 22 | - (void)have:(NSUInteger)aCount itemsForInvocation:(NSInvocation *)anInvocation; 23 | - (void)haveAtLeast:(NSUInteger)aCount itemsForInvocation:(NSInvocation *)anInvocation; 24 | - (void)haveAtMost:(NSUInteger)aCount itemsForInvocation:(NSInvocation *)anInvocation; 25 | 26 | @end 27 | 28 | @protocol KWContainmentCountMatcherTerminals 29 | 30 | #pragma mark - Terminals 31 | 32 | - (id)objects; 33 | - (id)items; 34 | - (id)elements; 35 | 36 | @end 37 | 38 | #pragma mark - Verifying 39 | 40 | @interface KWMatchVerifier(KWHaveMatcherAdditions) 41 | 42 | #pragma mark - Invocation Capturing Methods 43 | 44 | - (id)have:(NSUInteger)aCount; 45 | - (id)haveAtLeast:(NSUInteger)aCount; 46 | - (id)haveAtMost:(NSUInteger)aCount; 47 | 48 | @end 49 | -------------------------------------------------------------------------------- /Examples/BasicMenu/BasicMenu/BasicMenu-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | me.enriquez.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWBeSubclassOfClassMatcher.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWBeSubclassOfClassMatcher.h" 8 | #import "KWFormatter.h" 9 | 10 | @interface KWBeSubclassOfClassMatcher() 11 | 12 | #pragma mark - Properties 13 | 14 | @property (nonatomic, assign) Class targetClass; 15 | 16 | @end 17 | 18 | @implementation KWBeSubclassOfClassMatcher 19 | 20 | #pragma mark - Getting Matcher Strings 21 | 22 | + (NSArray *)matcherStrings { 23 | return @[@"beSubclassOfClass:"]; 24 | } 25 | 26 | #pragma mark - Matching 27 | 28 | - (BOOL)evaluate { 29 | return [self.subject isSubclassOfClass:self.targetClass]; 30 | } 31 | 32 | #pragma mark - Getting Failure Messages 33 | 34 | - (NSString *)failureMessageForShould { 35 | return [NSString stringWithFormat:@"expected subject to be subclass of %@, got %@", 36 | NSStringFromClass(self.targetClass), 37 | NSStringFromClass([self.subject class])]; 38 | } 39 | 40 | - (NSString *)description { 41 | return [NSString stringWithFormat:@"be subclass of %@", 42 | NSStringFromClass(self.targetClass)]; 43 | } 44 | 45 | #pragma mark - Configuring Matchers 46 | 47 | - (void)beSubclassOfClass:(Class)aClass { 48 | self.targetClass = aClass; 49 | } 50 | 51 | @end 52 | -------------------------------------------------------------------------------- /Examples/BasicMenu/BasicMenu/MEAppDelegate.h: -------------------------------------------------------------------------------- 1 | // MEAppDelegate.h 2 | // BasicMenu 3 | // 4 | // Copyright (c) 2013, Michael Enriquez (http://enriquez.me) 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #import 25 | 26 | @interface MEAppDelegate : UIResponder 27 | 28 | @property (strong, nonatomic) UIWindow *window; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /Examples/LayoutDemo/LayoutDemo/MEAppDelegate.h: -------------------------------------------------------------------------------- 1 | // MEAppDelegate.h 2 | // LayoutDemo 3 | // 4 | // Copyright (c) 2013, Michael Enriquez (http://enriquez.me) 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #import 25 | 26 | @interface MEAppDelegate : UIResponder 27 | 28 | @property (strong, nonatomic) UIWindow *window; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /Examples/TransitionFun/TransitionFun/MEAppDelegate.h: -------------------------------------------------------------------------------- 1 | // MEAppDelegate.h 2 | // TransitionFun 3 | // 4 | // Copyright (c) 2013, Michael Enriquez (http://enriquez.me) 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #import 25 | 26 | @interface MEAppDelegate : UIResponder 27 | 28 | @property (strong, nonatomic) UIWindow *window; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /Examples/TransitionFun/TransitionFun/MESettingsViewController.h: -------------------------------------------------------------------------------- 1 | // MESettingsViewController.h 2 | // TransitionFun 3 | // 4 | // Copyright (c) 2013, Michael Enriquez (http://enriquez.me) 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #import 25 | 26 | @interface MESettingsViewController : UITableViewController 27 | - (IBAction)menuButtonTapped:(id)sender; 28 | @end 29 | -------------------------------------------------------------------------------- /Examples/BasicMenu/BasicMenu/MEMenuViewController.h: -------------------------------------------------------------------------------- 1 | // MEMenuViewController.h 2 | // BasicMenu 3 | // 4 | // Copyright (c) 2013, Michael Enriquez (http://enriquez.me) 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #import 25 | 26 | @interface MEMenuViewController : UITableViewController 27 | - (IBAction)unwindToMenuViewController:(UIStoryboardSegue *)segue; 28 | @end 29 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Readme.md: -------------------------------------------------------------------------------- 1 | # Simple BDD for iOS # 2 | [![Build Status](https://travis-ci.org/allending/Kiwi.png?branch=master)](https://travis-ci.org/allending/Kiwi) 3 | 4 | Kiwi is a Behavior Driven Development library for iOS development. 5 | The goal is to provide a BDD library that is exquisitely simple to setup and use. 6 | 7 | # Why? # 8 | The idea behind Kiwi is to have tests that are more readable than what is possible with the bundled test framework. 9 | 10 | Tests (or rather specs) are written in Objective-C and run within the comfort of Xcode to provide a test environment that is as unobtrusive and seamless as possible in terms of running tests and error reporting. 11 | 12 | Specs look like this: 13 | 14 | ```objective-c 15 | describe(@"Team", ^{ 16 | context(@"when newly created", ^{ 17 | it(@"should have a name", ^{ 18 | id team = [Team team]; 19 | [[team.name should] equal:@"Black Hawks"]; 20 | }); 21 | 22 | it(@"should have 11 players", ^{ 23 | id team = [Team team]; 24 | [[[team should] have:11] players]; 25 | }); 26 | }); 27 | }); 28 | ``` 29 | 30 | # Documentation # 31 | The [Kiwi Wiki](https://github.com/allending/Kiwi/wiki) is the official documentation source. 32 | 33 | # Getting it # 34 | The best way to get Kiwi is by using [CocoaPods](https://github.com/cocoapods/cocoapods). 35 | For all the installation details, check out the [Wiki](https://github.com/allending/kiwi/wiki) 36 | 37 | -------------------------------------------------------------------------------- /Examples/TransitionFun/TransitionFun/MEMenuViewController.h: -------------------------------------------------------------------------------- 1 | // MEMenuViewController.h 2 | // TransitionFun 3 | // 4 | // Copyright (c) 2013, Michael Enriquez (http://enriquez.me) 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #import 25 | 26 | @interface MEMenuViewController : UIViewController 27 | @property (weak, nonatomic) IBOutlet UITableView *tableView; 28 | @end 29 | -------------------------------------------------------------------------------- /Examples/TransitionFun/TransitionFun/TransitionFun-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | me.enriquez.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UIViewControllerBasedStatusBarAppearance 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /Examples/BasicMenu/BasicMenu/main.m: -------------------------------------------------------------------------------- 1 | // main.m 2 | // BasicMenu 3 | // 4 | // Copyright (c) 2013, Michael Enriquez (http://enriquez.me) 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #import 25 | 26 | #import "MEAppDelegate.h" 27 | 28 | int main(int argc, char * argv[]) 29 | { 30 | @autoreleasepool { 31 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([MEAppDelegate class])); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Examples/BasicMenu/BasicMenu/MEMenuViewController.m: -------------------------------------------------------------------------------- 1 | // MEMenuViewController.m 2 | // BasicMenu 3 | // 4 | // Copyright (c) 2013, Michael Enriquez (http://enriquez.me) 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #import "MEMenuViewController.h" 25 | 26 | @interface MEMenuViewController () 27 | 28 | @end 29 | 30 | @implementation MEMenuViewController 31 | - (IBAction)unwindToMenuViewController:(UIStoryboardSegue *)segue { } 32 | @end 33 | -------------------------------------------------------------------------------- /Examples/LayoutDemo/LayoutDemo/main.m: -------------------------------------------------------------------------------- 1 | // main.m 2 | // LayoutDemo 3 | // 4 | // Copyright (c) 2013, Michael Enriquez (http://enriquez.me) 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #import 25 | 26 | #import "MEAppDelegate.h" 27 | 28 | int main(int argc, char * argv[]) 29 | { 30 | @autoreleasepool { 31 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([MEAppDelegate class])); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Examples/TransitionFun/TransitionFun/main.m: -------------------------------------------------------------------------------- 1 | // main.m 2 | // TransitionFun 3 | // 4 | // Copyright (c) 2013, Michael Enriquez (http://enriquez.me) 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #import 25 | 26 | #import "MEAppDelegate.h" 27 | 28 | int main(int argc, char * argv[]) 29 | { 30 | @autoreleasepool { 31 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([MEAppDelegate class])); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/NonARC/KWStub.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | 9 | @class KWMessagePattern; 10 | 11 | @interface KWStub : NSObject 12 | 13 | #pragma mark - Initializing 14 | 15 | - (id)initWithMessagePattern:(KWMessagePattern *)aMessagePattern; 16 | - (id)initWithMessagePattern:(KWMessagePattern *)aMessagePattern value:(id)aValue; 17 | - (id)initWithMessagePattern:(KWMessagePattern *)aMessagePattern block:(id (^)(NSArray *params))aBlock; 18 | - (id)initWithMessagePattern:(KWMessagePattern *)aMessagePattern value:(id)aValue times:(id)times afterThatReturn:(id)aSecondValue; 19 | 20 | + (id)stubWithMessagePattern:(KWMessagePattern *)aMessagePattern; 21 | + (id)stubWithMessagePattern:(KWMessagePattern *)aMessagePattern value:(id)aValue; 22 | + (id)stubWithMessagePattern:(KWMessagePattern *)aMessagePattern block:(id (^)(NSArray *params))aBlock; 23 | + (id)stubWithMessagePattern:(KWMessagePattern *)aMessagePattern value:(id)aValue times:(id)times afterThatReturn:(id)aSecondValue; 24 | 25 | #pragma mark - Properties 26 | 27 | @property (nonatomic, readonly) KWMessagePattern *messagePattern; 28 | @property (nonatomic, readonly) id value; 29 | @property (nonatomic, readonly) id returnValueTimes; 30 | @property (nonatomic, readonly) int returnedValueTimes; 31 | @property (nonatomic, readonly) id secondValue; 32 | 33 | #pragma mark - Processing Invocations 34 | 35 | - (BOOL)processInvocation:(NSInvocation *)anInvocation; 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /Examples/TransitionFun/TransitionFun/METransitionsViewController.h: -------------------------------------------------------------------------------- 1 | // METransitionsViewController.h 2 | // TransitionFun 3 | // 4 | // Copyright (c) 2013, Michael Enriquez (http://enriquez.me) 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #import 25 | #import "ECSlidingViewController.h" 26 | 27 | @interface METransitionsViewController : UITableViewController 28 | - (IBAction)menuButtonTapped:(id)sender; 29 | @end 30 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Nodes/KWPendingNode.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWPendingNode.h" 8 | 9 | #import "KWCallSite.h" 10 | #import "KWContextNode.h" 11 | #import "KWExampleNodeVisitor.h" 12 | 13 | @implementation KWPendingNode 14 | 15 | #pragma mark - Initializing 16 | 17 | - (id)initWithCallSite:(KWCallSite *)aCallSite context:(KWContextNode *)context description:(NSString *)aDescription { 18 | self = [super init]; 19 | if (self) { 20 | _callSite = aCallSite; 21 | _description = [aDescription copy]; 22 | _context = context; 23 | } 24 | 25 | return self; 26 | } 27 | 28 | + (id)pendingNodeWithCallSite:(KWCallSite *)aCallSite context:(KWContextNode *)context description:(NSString *)aDescription { 29 | return [[self alloc] initWithCallSite:aCallSite context:context description:aDescription]; 30 | } 31 | 32 | #pragma mark - Accepting Visitors 33 | 34 | - (void)acceptExampleNodeVisitor:(id)aVisitor { 35 | [aVisitor visitPendingNode:self]; 36 | } 37 | 38 | #pragma mark - Accessing the context stack 39 | 40 | - (NSArray *)contextStack 41 | { 42 | NSMutableArray *contextStack = [NSMutableArray array]; 43 | 44 | KWContextNode *currentContext = _context; 45 | 46 | while (currentContext) { 47 | [contextStack addObject:currentContext]; 48 | currentContext = currentContext.parentContext; 49 | } 50 | return contextStack; 51 | } 52 | 53 | @end 54 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Core/NSInvocation+OCMAdditions.h: -------------------------------------------------------------------------------- 1 | //--------------------------------------------------------------------------------------- 2 | // $Id$ 3 | // Copyright (c) 2006-2009 by Mulle Kybernetik. See License file for details. 4 | //--------------------------------------------------------------------------------------- 5 | 6 | #import 7 | 8 | @interface NSInvocation(OCMAdditions) 9 | 10 | - (id)getArgumentAtIndexAsObject:(int)argIndex; 11 | 12 | - (NSString *)invocationDescription; 13 | 14 | - (NSString *)argumentDescriptionAtIndex:(int)argIndex; 15 | 16 | - (NSString *)objectDescriptionAtIndex:(int)anInt; 17 | - (NSString *)charDescriptionAtIndex:(int)anInt; 18 | - (NSString *)unsignedCharDescriptionAtIndex:(int)anInt; 19 | - (NSString *)intDescriptionAtIndex:(int)anInt; 20 | - (NSString *)unsignedIntDescriptionAtIndex:(int)anInt; 21 | - (NSString *)shortDescriptionAtIndex:(int)anInt; 22 | - (NSString *)unsignedShortDescriptionAtIndex:(int)anInt; 23 | - (NSString *)longDescriptionAtIndex:(int)anInt; 24 | - (NSString *)unsignedLongDescriptionAtIndex:(int)anInt; 25 | - (NSString *)longLongDescriptionAtIndex:(int)anInt; 26 | - (NSString *)unsignedLongLongDescriptionAtIndex:(int)anInt; 27 | - (NSString *)doubleDescriptionAtIndex:(int)anInt; 28 | - (NSString *)floatDescriptionAtIndex:(int)anInt; 29 | - (NSString *)structDescriptionAtIndex:(int)anInt; 30 | - (NSString *)pointerDescriptionAtIndex:(int)anInt; 31 | - (NSString *)cStringDescriptionAtIndex:(int)anInt; 32 | - (NSString *)selectorDescriptionAtIndex:(int)anInt; 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Verifiers/KWMatchVerifier.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import "KWExpectationType.h" 9 | #import "KWVerifying.h" 10 | 11 | @class KWCallSite; 12 | @class KWMatcherFactory; 13 | 14 | @protocol KWMatching; 15 | @protocol KWReporting; 16 | 17 | @interface KWMatchVerifier : NSObject 18 | 19 | #pragma mark - Properties 20 | 21 | @property (nonatomic, readonly) KWExpectationType expectationType; 22 | 23 | @property (nonatomic, readonly) KWMatcherFactory *matcherFactory; 24 | @property (nonatomic, readonly) id reporter; 25 | 26 | @property (nonatomic, strong) id subject; 27 | 28 | 29 | #pragma mark - Initializing 30 | 31 | - (id)initForShouldWithCallSite:(KWCallSite *)aCallSite matcherFactory:(KWMatcherFactory *)aMatcherFactory reporter:(id)aReporter; 32 | - (id)initForShouldNotWithCallSite:(KWCallSite *)aCallSite matcherFactory:(KWMatcherFactory *)aMatcherFactory reporter:(id)aReporter; 33 | - (id)initWithExpectationType:(KWExpectationType)anExpectationType callSite:(KWCallSite *)aCallSite matcherFactory:(KWMatcherFactory *)aMatcherFactory reporter:(id)aReporter; 34 | 35 | + (id)matchVerifierWithExpectationType:(KWExpectationType)anExpectationType callSite:(KWCallSite *)aCallSite matcherFactory:(KWMatcherFactory *)aMatcherFactory reporter:(id)aReporter; 36 | 37 | - (void)verifyWithMatcher:(id)aMatcher; 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/NonARC/KWSymbolicator.m: -------------------------------------------------------------------------------- 1 | // 2 | // KWSymbolicator.m 3 | // Kiwi 4 | // 5 | // Created by Jerry Marino on 4/28/13. 6 | // Copyright (c) 2013 Allen Ding. All rights reserved. 7 | // 8 | 9 | #import "KWSymbolicator.h" 10 | #import 11 | #import 12 | 13 | long kwCallerAddress (void){ 14 | #if !__arm__ 15 | unw_cursor_t cursor; unw_context_t uc; 16 | unw_word_t ip; 17 | 18 | unw_getcontext(&uc); 19 | unw_init_local(&cursor, &uc); 20 | 21 | int pos = 2; 22 | while (unw_step(&cursor) && pos--){ 23 | unw_get_reg (&cursor, UNW_REG_IP, &ip); 24 | if(pos == 0) return (NSUInteger)(ip - 4); 25 | } 26 | #endif 27 | return 0; 28 | } 29 | 30 | @implementation NSString (KWShellCommand) 31 | 32 | #pragma clang diagnostic push 33 | #pragma clang diagnostic ignored "-Wobjc-method-access" 34 | 35 | + (NSString *)stringWithShellCommand:(NSString *)command arguments:(NSArray *)arguments { 36 | id task = [[NSClassFromString(@"NSTask") alloc] init]; 37 | [task setEnvironment:[NSDictionary dictionary]]; 38 | [task setLaunchPath:command]; 39 | [task setArguments:arguments]; 40 | 41 | NSPipe *pipe = [NSPipe pipe]; 42 | [task setStandardOutput:pipe]; 43 | [task launch]; 44 | 45 | [task waitUntilExit]; 46 | 47 | NSData *data = [[pipe fileHandleForReading] readDataToEndOfFile]; 48 | NSString *string = [[[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding] autorelease]; 49 | [task release]; 50 | return string; 51 | } 52 | 53 | #pragma clang diagnostic pop 54 | 55 | @end 56 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWBeTrueMatcher.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWBeTrueMatcher.h" 8 | 9 | @interface KWBeTrueMatcher() 10 | 11 | @property (nonatomic, readwrite) BOOL expectedValue; 12 | 13 | @end 14 | 15 | @implementation KWBeTrueMatcher 16 | 17 | #pragma mark - Getting Matcher Strings 18 | 19 | + (NSArray *)matcherStrings { 20 | return @[@"beTrue", @"beFalse", @"beYes", @"beNo"]; 21 | } 22 | 23 | #pragma mark - Matching 24 | 25 | - (BOOL)evaluate { 26 | if (![self.subject respondsToSelector:@selector(boolValue)]) 27 | [NSException raise:@"KWMatcherException" format:@"subject does not respond to -boolValue"]; 28 | 29 | return [self.subject boolValue] == self.expectedValue; 30 | } 31 | 32 | #pragma mark - Getting Failure Messages 33 | 34 | - (NSString *)failureMessageForShould { 35 | return [NSString stringWithFormat:@"expected subject to be %@", 36 | self.expectedValue ? @"true" : @"false"]; 37 | } 38 | 39 | - (NSString *)description { 40 | if (self.expectedValue == YES) { 41 | return @"be true"; 42 | } 43 | return @"be false"; 44 | } 45 | 46 | #pragma mark - Configuring Matchers 47 | 48 | - (void)beTrue { 49 | self.expectedValue = YES; 50 | } 51 | 52 | - (void)beFalse { 53 | self.expectedValue = NO; 54 | } 55 | 56 | - (void)beYes { 57 | self.expectedValue = YES; 58 | } 59 | 60 | - (void)beNo { 61 | self.expectedValue = NO; 62 | } 63 | 64 | @end 65 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/NonARC/KWIntercept.h: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KiwiConfiguration.h" 8 | #import 9 | 10 | @class KWMessagePattern; 11 | @class KWStub; 12 | 13 | #pragma mark - Getting Forwarding Implementations 14 | 15 | IMP KWRegularForwardingImplementation(void); 16 | IMP KWStretForwardingImplementation(void); 17 | IMP KWForwardingImplementationForMethodEncoding(const char* encoding); 18 | 19 | #pragma mark - Getting Intercept Class Information 20 | 21 | BOOL KWObjectIsClass(id anObject); 22 | BOOL KWClassIsInterceptClass(Class aClass); 23 | NSString *KWInterceptClassNameForClass(Class aClass); 24 | Class KWInterceptClassForCanonicalClass(Class canonicalClass); 25 | Class KWRealClassForClass(Class aClass); 26 | 27 | #pragma mark - Enabling Intercepting 28 | 29 | Class KWSetupObjectInterceptSupport(id anObject); 30 | void KWSetupMethodInterceptSupport(Class interceptClass, SEL aSelector); 31 | 32 | #pragma mark - Managing Stubs & Spies 33 | void KWClearStubsAndSpies(void); 34 | 35 | #pragma mark - Managing Objects Stubs 36 | 37 | void KWAssociateObjectStub(id anObject, KWStub *aStub, BOOL overrideExisting); 38 | void KWClearObjectStubs(id anObject); 39 | void KWClearAllObjectStubs(void); 40 | 41 | #pragma mark - Managing Message Spies 42 | 43 | void KWAssociateMessageSpy(id anObject, id aSpy, KWMessagePattern *aMessagePattern); 44 | void KWClearObjectSpy(id anObject, id aSpy, KWMessagePattern *aMessagePattern); 45 | void KWClearAllMessageSpies(void); 46 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/License.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010, Allen Ding 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | 7 | 1. Redistributions of source code must retain the above copyright notice, this 8 | list of conditions and the following disclaimer. 9 | 10 | 2. Redistributions in binary form must reproduce the above copyright notice, 11 | this list of conditions and the following disclaimer in the documentation 12 | and/or other materials provided with the distribution. 13 | 14 | 3. Neither the name of Allen Ding nor the names of any contributors may be 15 | used to endorse or promote products derived from this software without specific 16 | prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 19 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 22 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 24 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 25 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 26 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /Examples/TransitionFun/TransitionFun/MEFoldAnimationController.h: -------------------------------------------------------------------------------- 1 | // MEFoldAnimationController.h 2 | // TransitionFun 3 | // 4 | // Copyright (c) 2013, Michael Enriquez (http://enriquez.me) 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #import 25 | #import "ECSlidingViewController.h" 26 | 27 | @interface MEFoldAnimationController : NSObject 29 | @end 30 | -------------------------------------------------------------------------------- /Examples/TransitionFun/TransitionFun/MEZoomAnimationController.h: -------------------------------------------------------------------------------- 1 | // MEZoomAnimationController.h 2 | // TransitionFun 3 | // 4 | // Copyright (c) 2013, Michael Enriquez (http://enriquez.me) 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | 24 | #import 25 | #import "ECSlidingViewController.h" 26 | 27 | @interface MEZoomAnimationController : NSObject 30 | @end 31 | -------------------------------------------------------------------------------- /Examples/LayoutDemo/LayoutDemo/LayoutDemo-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | me.enriquez.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UISupportedInterfaceOrientations~ipad 38 | 39 | UIInterfaceOrientationPortrait 40 | UIInterfaceOrientationPortraitUpsideDown 41 | UIInterfaceOrientationLandscapeLeft 42 | UIInterfaceOrientationLandscapeRight 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Matchers/KWBeEmptyMatcher.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWBeEmptyMatcher.h" 8 | #import "KWFormatter.h" 9 | 10 | @interface KWBeEmptyMatcher() 11 | 12 | #pragma mark - Properties 13 | 14 | @property (nonatomic, readwrite) NSUInteger count; 15 | 16 | @end 17 | 18 | @implementation KWBeEmptyMatcher 19 | 20 | #pragma mark - Getting Matcher Strings 21 | 22 | + (NSArray *)matcherStrings { 23 | return @[@"beEmpty"]; 24 | } 25 | 26 | #pragma mark - Matching 27 | 28 | - (BOOL)evaluate { 29 | if ([self.subject respondsToSelector:@selector(count)]) { 30 | self.count = [self.subject count]; 31 | return self.count == 0; 32 | } 33 | else if ([self.subject respondsToSelector:@selector(length)]) { 34 | self.count = [self.subject length]; 35 | return self.count == 0; 36 | } 37 | 38 | [NSException raise:@"KWMatcherException" format:@"subject does not respond to -count or -length"]; 39 | return NO; 40 | } 41 | 42 | #pragma mark - Getting Failure Messages 43 | 44 | - (NSString *)countPhrase { 45 | if (self.count == 1) 46 | return @"1 item"; 47 | else 48 | return [NSString stringWithFormat:@"%u items", (unsigned)self.count]; 49 | } 50 | 51 | - (NSString *)failureMessageForShould { 52 | return [NSString stringWithFormat:@"expected subject to be empty, got %@", [self countPhrase]]; 53 | } 54 | 55 | - (NSString *)failureMessageForShouldNot { 56 | return @"expected subject not to be empty"; 57 | } 58 | 59 | - (NSString *)description { 60 | return @"be empty"; 61 | } 62 | 63 | #pragma mark - Configuring Matchers 64 | 65 | - (void)beEmpty { 66 | } 67 | 68 | @end 69 | -------------------------------------------------------------------------------- /Tests/Pods/Kiwi/Classes/Nodes/KWItNode.m: -------------------------------------------------------------------------------- 1 | // 2 | // Licensed under the terms in License.txt 3 | // 4 | // Copyright 2010 Allen Ding. All rights reserved. 5 | // 6 | 7 | #import "KWItNode.h" 8 | #import "KWExampleNodeVisitor.h" 9 | #import "KWExample.h" 10 | #import "KWVerifying.h" 11 | #import "KWContextNode.h" 12 | 13 | @interface KWItNode () 14 | 15 | @property (nonatomic, weak) KWContextNode *context; 16 | 17 | @end 18 | 19 | @implementation KWItNode 20 | 21 | #pragma mark - Initializing 22 | 23 | + (id)itNodeWithCallSite:(KWCallSite *)aCallSite 24 | description:(NSString *)aDescription 25 | context:(KWContextNode *)context 26 | block:(void (^)(void))block { 27 | KWItNode *itNode = [[self alloc] initWithCallSite:aCallSite description:aDescription block:block]; 28 | itNode.context = context; 29 | return itNode; 30 | } 31 | 32 | #pragma mark - Accepting Visitors 33 | 34 | - (void)acceptExampleNodeVisitor:(id)aVisitor { 35 | [aVisitor visitItNode:self]; 36 | } 37 | 38 | #pragma mark - Runtime Description support 39 | 40 | - (NSString *)description { 41 | NSString *description = [super description]; 42 | if (description == nil) { 43 | description = [self.example generateDescriptionForAnonymousItNode]; 44 | } 45 | return description; 46 | } 47 | 48 | #pragma mark - Accessing the context stack 49 | 50 | - (NSArray *)contextStack { 51 | NSMutableArray *contextStack = [NSMutableArray array]; 52 | 53 | KWContextNode *currentContext = _context; 54 | 55 | while (currentContext) { 56 | [contextStack addObject:currentContext]; 57 | currentContext = currentContext.parentContext; 58 | } 59 | return contextStack; 60 | } 61 | 62 | @end 63 | --------------------------------------------------------------------------------