├── .gitignore ├── .idea ├── .name ├── ODSAccordionView.iml ├── encodings.xml ├── find.xml ├── misc.xml ├── modules.xml ├── scopes │ └── scope_settings.xml ├── vcs.xml └── xcode.xml ├── CHANGELOG.md ├── Classes ├── ODSAccordionSection.h ├── ODSAccordionSection.m ├── ODSAccordionSectionStyle.h ├── ODSAccordionSectionStyle.m ├── ODSAccordionSectionView.h ├── ODSAccordionSectionView.m ├── ODSAccordionView-Prefix.pch ├── ODSAccordionView.h ├── ODSAccordionView.m ├── ODSArrowIcon.h ├── ODSArrowIcon.m └── ODSMacros.h ├── Demo.gif ├── Example ├── Demo.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata ├── Demo.xcworkspace │ └── contents.xcworkspacedata ├── Demo │ ├── Demo-Info.plist │ ├── Demo-Prefix.pch │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ ├── LaunchImage.launchimage │ │ │ └── Contents.json │ │ └── catcontent.imageset │ │ │ ├── Contents.json │ │ │ ├── catcontent-1.png │ │ │ └── catcontent@2x-1.png │ ├── ODSAppDelegate.h │ ├── ODSAppDelegate.m │ ├── ODSExampleViewController.h │ ├── ODSExampleViewController.m │ ├── en.lproj │ │ ├── 2014-05-06 22.59.27.jpg │ │ └── InfoPlist.strings │ └── main.m ├── DemoTests │ ├── DemoTests-Info.plist │ ├── DemoTests.m │ └── en.lproj │ │ └── InfoPlist.strings └── Podfile ├── LICENSE ├── ODSAccordionView.podspec ├── ODSAccordionView.xcodeproj ├── project.pbxproj └── project.xcworkspace │ └── contents.xcworkspacedata ├── ODSAccordionView.xcworkspace └── contents.xcworkspacedata ├── Podfile ├── Podfile.lock ├── Pods ├── BuildHeaders │ ├── OCHamcrest │ │ ├── HCAllOf.h │ │ ├── HCAnyOf.h │ │ ├── HCAssertThat.h │ │ ├── HCBaseDescription.h │ │ ├── HCBaseMatcher.h │ │ ├── HCBoolReturnGetter.h │ │ ├── HCCharReturnGetter.h │ │ ├── HCClassMatcher.h │ │ ├── HCCollect.h │ │ ├── HCConformsToProtocol.h │ │ ├── HCDescribedAs.h │ │ ├── HCDescription.h │ │ ├── HCDoubleReturnGetter.h │ │ ├── HCFloatReturnGetter.h │ │ ├── HCGenericTestFailureHandler.h │ │ ├── HCHasCount.h │ │ ├── HCHasDescription.h │ │ ├── HCHasProperty.h │ │ ├── HCIntReturnGetter.h │ │ ├── HCInvocationMatcher.h │ │ ├── HCIs.h │ │ ├── HCIsAnything.h │ │ ├── HCIsCloseTo.h │ │ ├── HCIsCollectionContaining.h │ │ ├── HCIsCollectionContainingInAnyOrder.h │ │ ├── HCIsCollectionContainingInOrder.h │ │ ├── HCIsCollectionOnlyContaining.h │ │ ├── HCIsDictionaryContaining.h │ │ ├── HCIsDictionaryContainingEntries.h │ │ ├── HCIsDictionaryContainingKey.h │ │ ├── HCIsDictionaryContainingValue.h │ │ ├── HCIsEmptyCollection.h │ │ ├── HCIsEqual.h │ │ ├── HCIsEqualIgnoringCase.h │ │ ├── HCIsEqualIgnoringWhiteSpace.h │ │ ├── HCIsEqualToNumber.h │ │ ├── HCIsIn.h │ │ ├── HCIsInstanceOf.h │ │ ├── HCIsNil.h │ │ ├── HCIsNot.h │ │ ├── HCIsSame.h │ │ ├── HCIsTypeOf.h │ │ ├── HCLongLongReturnGetter.h │ │ ├── HCLongReturnGetter.h │ │ ├── HCMatcher.h │ │ ├── HCNumberAssert.h │ │ ├── HCObjectReturnGetter.h │ │ ├── HCOrderingComparison.h │ │ ├── HCRequireNonNilObject.h │ │ ├── HCReturnTypeHandlerChain.h │ │ ├── HCReturnValueGetter.h │ │ ├── HCSelfDescribing.h │ │ ├── HCSenTestFailureHandler.h │ │ ├── HCShortReturnGetter.h │ │ ├── HCStringContains.h │ │ ├── HCStringContainsInOrder.h │ │ ├── HCStringDescription.h │ │ ├── HCStringEndsWith.h │ │ ├── HCStringStartsWith.h │ │ ├── HCSubstringMatcher.h │ │ ├── HCTestFailure.h │ │ ├── HCTestFailureHandler.h │ │ ├── HCTestFailureHandlerChain.h │ │ ├── HCUnsignedCharReturnGetter.h │ │ ├── HCUnsignedIntReturnGetter.h │ │ ├── HCUnsignedLongLongReturnGetter.h │ │ ├── HCUnsignedLongReturnGetter.h │ │ ├── HCUnsignedShortReturnGetter.h │ │ ├── HCWrapInMatcher.h │ │ ├── HCXCTestFailureHandler.h │ │ ├── NSInvocation+OCHamcrest.h │ │ └── OCHamcrest.h │ ├── OCMockito │ │ ├── MKTArgumentCaptor.h │ │ ├── MKTArgumentGetter.h │ │ ├── MKTArgumentGetterChain.h │ │ ├── MKTAtLeastTimes.h │ │ ├── MKTBaseMockObject.h │ │ ├── MKTBlockArgumentGetter.h │ │ ├── MKTBoolArgumentGetter.h │ │ ├── MKTBoolReturnSetter.h │ │ ├── MKTCapturingMatcher.h │ │ ├── MKTCharArgumentGetter.h │ │ ├── MKTCharReturnSetter.h │ │ ├── MKTClassArgumentGetter.h │ │ ├── MKTClassObjectMock.h │ │ ├── MKTClassReturnSetter.h │ │ ├── MKTDoubleArgumentGetter.h │ │ ├── MKTDoubleReturnSetter.h │ │ ├── MKTExactTimes.h │ │ ├── MKTFloatArgumentGetter.h │ │ ├── MKTFloatReturnSetter.h │ │ ├── MKTIntArgumentGetter.h │ │ ├── MKTIntReturnSetter.h │ │ ├── MKTInvocationContainer.h │ │ ├── MKTInvocationMatcher.h │ │ ├── MKTLongArgumentGetter.h │ │ ├── MKTLongLongArgumentGetter.h │ │ ├── MKTLongLongReturnSetter.h │ │ ├── MKTLongReturnSetter.h │ │ ├── MKTMockingProgress.h │ │ ├── MKTMockitoCore.h │ │ ├── MKTObjectAndProtocolMock.h │ │ ├── MKTObjectArgumentGetter.h │ │ ├── MKTObjectMock.h │ │ ├── MKTObjectReturnSetter.h │ │ ├── MKTOngoingStubbing.h │ │ ├── MKTPointerArgumentGetter.h │ │ ├── MKTPrimitiveArgumentMatching.h │ │ ├── MKTProtocolMock.h │ │ ├── MKTReturnValueSetter.h │ │ ├── MKTReturnValueSetterChain.h │ │ ├── MKTSelectorArgumentGetter.h │ │ ├── MKTShortArgumentGetter.h │ │ ├── MKTShortReturnSetter.h │ │ ├── MKTStructArgumentGetter.h │ │ ├── MKTStructReturnSetter.h │ │ ├── MKTStubbedInvocationMatcher.h │ │ ├── MKTTestLocation.h │ │ ├── MKTUnsignedCharArgumentGetter.h │ │ ├── MKTUnsignedCharReturnSetter.h │ │ ├── MKTUnsignedIntArgumentGetter.h │ │ ├── MKTUnsignedIntReturnSetter.h │ │ ├── MKTUnsignedLongArgumentGetter.h │ │ ├── MKTUnsignedLongLongArgumentGetter.h │ │ ├── MKTUnsignedLongLongReturnSetter.h │ │ ├── MKTUnsignedLongReturnSetter.h │ │ ├── MKTUnsignedShortArgumentGetter.h │ │ ├── MKTUnsignedShortReturnSetter.h │ │ ├── MKTVerificationData.h │ │ ├── MKTVerificationMode.h │ │ ├── NSInvocation+OCMockito.h │ │ └── OCMockito.h │ └── TPWeakProxy │ │ └── TPWeakProxy.h ├── Headers │ ├── OCHamcrest │ │ ├── HCAllOf.h │ │ ├── HCAnyOf.h │ │ ├── HCAssertThat.h │ │ ├── HCBaseDescription.h │ │ ├── HCBaseMatcher.h │ │ ├── HCBoolReturnGetter.h │ │ ├── HCCharReturnGetter.h │ │ ├── HCClassMatcher.h │ │ ├── HCCollect.h │ │ ├── HCConformsToProtocol.h │ │ ├── HCDescribedAs.h │ │ ├── HCDescription.h │ │ ├── HCDoubleReturnGetter.h │ │ ├── HCFloatReturnGetter.h │ │ ├── HCGenericTestFailureHandler.h │ │ ├── HCHasCount.h │ │ ├── HCHasDescription.h │ │ ├── HCHasProperty.h │ │ ├── HCIntReturnGetter.h │ │ ├── HCInvocationMatcher.h │ │ ├── HCIs.h │ │ ├── HCIsAnything.h │ │ ├── HCIsCloseTo.h │ │ ├── HCIsCollectionContaining.h │ │ ├── HCIsCollectionContainingInAnyOrder.h │ │ ├── HCIsCollectionContainingInOrder.h │ │ ├── HCIsCollectionOnlyContaining.h │ │ ├── HCIsDictionaryContaining.h │ │ ├── HCIsDictionaryContainingEntries.h │ │ ├── HCIsDictionaryContainingKey.h │ │ ├── HCIsDictionaryContainingValue.h │ │ ├── HCIsEmptyCollection.h │ │ ├── HCIsEqual.h │ │ ├── HCIsEqualIgnoringCase.h │ │ ├── HCIsEqualIgnoringWhiteSpace.h │ │ ├── HCIsEqualToNumber.h │ │ ├── HCIsIn.h │ │ ├── HCIsInstanceOf.h │ │ ├── HCIsNil.h │ │ ├── HCIsNot.h │ │ ├── HCIsSame.h │ │ ├── HCIsTypeOf.h │ │ ├── HCLongLongReturnGetter.h │ │ ├── HCLongReturnGetter.h │ │ ├── HCMatcher.h │ │ ├── HCNumberAssert.h │ │ ├── HCObjectReturnGetter.h │ │ ├── HCOrderingComparison.h │ │ ├── HCRequireNonNilObject.h │ │ ├── HCReturnTypeHandlerChain.h │ │ ├── HCReturnValueGetter.h │ │ ├── HCSelfDescribing.h │ │ ├── HCSenTestFailureHandler.h │ │ ├── HCShortReturnGetter.h │ │ ├── HCStringContains.h │ │ ├── HCStringContainsInOrder.h │ │ ├── HCStringDescription.h │ │ ├── HCStringEndsWith.h │ │ ├── HCStringStartsWith.h │ │ ├── HCSubstringMatcher.h │ │ ├── HCTestFailure.h │ │ ├── HCTestFailureHandler.h │ │ ├── HCTestFailureHandlerChain.h │ │ ├── HCUnsignedCharReturnGetter.h │ │ ├── HCUnsignedIntReturnGetter.h │ │ ├── HCUnsignedLongLongReturnGetter.h │ │ ├── HCUnsignedLongReturnGetter.h │ │ ├── HCUnsignedShortReturnGetter.h │ │ ├── HCWrapInMatcher.h │ │ ├── HCXCTestFailureHandler.h │ │ ├── NSInvocation+OCHamcrest.h │ │ └── OCHamcrest.h │ ├── OCMockito │ │ ├── MKTArgumentCaptor.h │ │ ├── MKTBaseMockObject.h │ │ ├── MKTClassObjectMock.h │ │ ├── MKTObjectAndProtocolMock.h │ │ ├── MKTObjectMock.h │ │ ├── MKTOngoingStubbing.h │ │ ├── MKTPrimitiveArgumentMatching.h │ │ ├── MKTProtocolMock.h │ │ └── OCMockito.h │ └── TPWeakProxy │ │ └── TPWeakProxy.h ├── Manifest.lock ├── OCHamcrest │ ├── LICENSE.txt │ ├── README.md │ └── Source │ │ ├── Core │ │ ├── HCAssertThat.h │ │ ├── HCAssertThat.m │ │ ├── HCBaseDescription.h │ │ ├── HCBaseDescription.m │ │ ├── HCBaseMatcher.h │ │ ├── HCBaseMatcher.m │ │ ├── HCDescription.h │ │ ├── HCMatcher.h │ │ ├── HCSelfDescribing.h │ │ ├── HCStringDescription.h │ │ ├── HCStringDescription.m │ │ └── Helpers │ │ │ ├── HCCollect.h │ │ │ ├── HCCollect.m │ │ │ ├── HCInvocationMatcher.h │ │ │ ├── HCInvocationMatcher.m │ │ │ ├── HCRequireNonNilObject.h │ │ │ ├── HCRequireNonNilObject.m │ │ │ ├── HCWrapInMatcher.h │ │ │ ├── HCWrapInMatcher.m │ │ │ ├── NSInvocation+OCHamcrest.h │ │ │ ├── NSInvocation+OCHamcrest.m │ │ │ ├── ReturnValueGetters │ │ │ ├── HCBoolReturnGetter.h │ │ │ ├── HCBoolReturnGetter.m │ │ │ ├── HCCharReturnGetter.h │ │ │ ├── HCCharReturnGetter.m │ │ │ ├── HCDoubleReturnGetter.h │ │ │ ├── HCDoubleReturnGetter.m │ │ │ ├── HCFloatReturnGetter.h │ │ │ ├── HCFloatReturnGetter.m │ │ │ ├── HCIntReturnGetter.h │ │ │ ├── HCIntReturnGetter.m │ │ │ ├── HCLongLongReturnGetter.h │ │ │ ├── HCLongLongReturnGetter.m │ │ │ ├── HCLongReturnGetter.h │ │ │ ├── HCLongReturnGetter.m │ │ │ ├── HCObjectReturnGetter.h │ │ │ ├── HCObjectReturnGetter.m │ │ │ ├── HCReturnTypeHandlerChain.h │ │ │ ├── HCReturnTypeHandlerChain.m │ │ │ ├── HCReturnValueGetter.h │ │ │ ├── HCReturnValueGetter.m │ │ │ ├── HCShortReturnGetter.h │ │ │ ├── HCShortReturnGetter.m │ │ │ ├── HCUnsignedCharReturnGetter.h │ │ │ ├── HCUnsignedCharReturnGetter.m │ │ │ ├── HCUnsignedIntReturnGetter.h │ │ │ ├── HCUnsignedIntReturnGetter.m │ │ │ ├── HCUnsignedLongLongReturnGetter.h │ │ │ ├── HCUnsignedLongLongReturnGetter.m │ │ │ ├── HCUnsignedLongReturnGetter.h │ │ │ ├── HCUnsignedLongReturnGetter.m │ │ │ ├── HCUnsignedShortReturnGetter.h │ │ │ └── HCUnsignedShortReturnGetter.m │ │ │ └── TestFailureHandlers │ │ │ ├── HCGenericTestFailureHandler.h │ │ │ ├── HCGenericTestFailureHandler.m │ │ │ ├── HCSenTestFailureHandler.h │ │ │ ├── HCSenTestFailureHandler.m │ │ │ ├── HCTestFailure.h │ │ │ ├── HCTestFailure.m │ │ │ ├── HCTestFailureHandler.h │ │ │ ├── HCTestFailureHandler.m │ │ │ ├── HCTestFailureHandlerChain.h │ │ │ ├── HCTestFailureHandlerChain.m │ │ │ ├── HCXCTestFailureHandler.h │ │ │ └── HCXCTestFailureHandler.m │ │ ├── Library │ │ ├── Collection │ │ │ ├── HCHasCount.h │ │ │ ├── HCHasCount.m │ │ │ ├── HCIsCollectionContaining.h │ │ │ ├── HCIsCollectionContaining.m │ │ │ ├── HCIsCollectionContainingInAnyOrder.h │ │ │ ├── HCIsCollectionContainingInAnyOrder.m │ │ │ ├── HCIsCollectionContainingInOrder.h │ │ │ ├── HCIsCollectionContainingInOrder.m │ │ │ ├── HCIsCollectionOnlyContaining.h │ │ │ ├── HCIsCollectionOnlyContaining.m │ │ │ ├── HCIsDictionaryContaining.h │ │ │ ├── HCIsDictionaryContaining.m │ │ │ ├── HCIsDictionaryContainingEntries.h │ │ │ ├── HCIsDictionaryContainingEntries.m │ │ │ ├── HCIsDictionaryContainingKey.h │ │ │ ├── HCIsDictionaryContainingKey.m │ │ │ ├── HCIsDictionaryContainingValue.h │ │ │ ├── HCIsDictionaryContainingValue.m │ │ │ ├── HCIsEmptyCollection.h │ │ │ ├── HCIsEmptyCollection.m │ │ │ ├── HCIsIn.h │ │ │ └── HCIsIn.m │ │ ├── Decorator │ │ │ ├── HCDescribedAs.h │ │ │ ├── HCDescribedAs.m │ │ │ ├── HCIs.h │ │ │ └── HCIs.m │ │ ├── Logical │ │ │ ├── HCAllOf.h │ │ │ ├── HCAllOf.m │ │ │ ├── HCAnyOf.h │ │ │ ├── HCAnyOf.m │ │ │ ├── HCIsAnything.h │ │ │ ├── HCIsAnything.m │ │ │ ├── HCIsNot.h │ │ │ └── HCIsNot.m │ │ ├── Number │ │ │ ├── HCIsCloseTo.h │ │ │ ├── HCIsCloseTo.m │ │ │ ├── HCIsEqualToNumber.h │ │ │ ├── HCIsEqualToNumber.m │ │ │ ├── HCNumberAssert.h │ │ │ ├── HCNumberAssert.m │ │ │ ├── HCOrderingComparison.h │ │ │ └── HCOrderingComparison.m │ │ ├── Object │ │ │ ├── HCClassMatcher.h │ │ │ ├── HCClassMatcher.m │ │ │ ├── HCConformsToProtocol.h │ │ │ ├── HCConformsToProtocol.m │ │ │ ├── HCHasDescription.h │ │ │ ├── HCHasDescription.m │ │ │ ├── HCHasProperty.h │ │ │ ├── HCHasProperty.m │ │ │ ├── HCIsEqual.h │ │ │ ├── HCIsEqual.m │ │ │ ├── HCIsInstanceOf.h │ │ │ ├── HCIsInstanceOf.m │ │ │ ├── HCIsNil.h │ │ │ ├── HCIsNil.m │ │ │ ├── HCIsSame.h │ │ │ ├── HCIsSame.m │ │ │ ├── HCIsTypeOf.h │ │ │ └── HCIsTypeOf.m │ │ └── Text │ │ │ ├── HCIsEqualIgnoringCase.h │ │ │ ├── HCIsEqualIgnoringCase.m │ │ │ ├── HCIsEqualIgnoringWhiteSpace.h │ │ │ ├── HCIsEqualIgnoringWhiteSpace.m │ │ │ ├── HCStringContains.h │ │ │ ├── HCStringContains.m │ │ │ ├── HCStringContainsInOrder.h │ │ │ ├── HCStringContainsInOrder.m │ │ │ ├── HCStringEndsWith.h │ │ │ ├── HCStringEndsWith.m │ │ │ ├── HCStringStartsWith.h │ │ │ ├── HCStringStartsWith.m │ │ │ ├── HCSubstringMatcher.h │ │ │ └── HCSubstringMatcher.m │ │ └── OCHamcrest.h ├── OCMockito │ ├── LICENSE.txt │ ├── README.md │ └── Source │ │ └── OCMockito │ │ ├── Helpers │ │ ├── ArgumentGetters │ │ │ ├── MKTArgumentGetter.h │ │ │ ├── MKTArgumentGetter.m │ │ │ ├── MKTArgumentGetterChain.h │ │ │ ├── MKTArgumentGetterChain.m │ │ │ ├── MKTBlockArgumentGetter.h │ │ │ ├── MKTBlockArgumentGetter.m │ │ │ ├── MKTBoolArgumentGetter.h │ │ │ ├── MKTBoolArgumentGetter.m │ │ │ ├── MKTCharArgumentGetter.h │ │ │ ├── MKTCharArgumentGetter.m │ │ │ ├── MKTClassArgumentGetter.h │ │ │ ├── MKTClassArgumentGetter.m │ │ │ ├── MKTDoubleArgumentGetter.h │ │ │ ├── MKTDoubleArgumentGetter.m │ │ │ ├── MKTFloatArgumentGetter.h │ │ │ ├── MKTFloatArgumentGetter.m │ │ │ ├── MKTIntArgumentGetter.h │ │ │ ├── MKTIntArgumentGetter.m │ │ │ ├── MKTLongArgumentGetter.h │ │ │ ├── MKTLongArgumentGetter.m │ │ │ ├── MKTLongLongArgumentGetter.h │ │ │ ├── MKTLongLongArgumentGetter.m │ │ │ ├── MKTObjectArgumentGetter.h │ │ │ ├── MKTObjectArgumentGetter.m │ │ │ ├── MKTPointerArgumentGetter.h │ │ │ ├── MKTPointerArgumentGetter.m │ │ │ ├── MKTSelectorArgumentGetter.h │ │ │ ├── MKTSelectorArgumentGetter.m │ │ │ ├── MKTShortArgumentGetter.h │ │ │ ├── MKTShortArgumentGetter.m │ │ │ ├── MKTStructArgumentGetter.h │ │ │ ├── MKTStructArgumentGetter.m │ │ │ ├── MKTUnsignedCharArgumentGetter.h │ │ │ ├── MKTUnsignedCharArgumentGetter.m │ │ │ ├── MKTUnsignedIntArgumentGetter.h │ │ │ ├── MKTUnsignedIntArgumentGetter.m │ │ │ ├── MKTUnsignedLongArgumentGetter.h │ │ │ ├── MKTUnsignedLongArgumentGetter.m │ │ │ ├── MKTUnsignedLongLongArgumentGetter.h │ │ │ ├── MKTUnsignedLongLongArgumentGetter.m │ │ │ ├── MKTUnsignedShortArgumentGetter.h │ │ │ └── MKTUnsignedShortArgumentGetter.m │ │ └── ReturnValueSetters │ │ │ ├── MKTBoolReturnSetter.h │ │ │ ├── MKTBoolReturnSetter.m │ │ │ ├── MKTCharReturnSetter.h │ │ │ ├── MKTCharReturnSetter.m │ │ │ ├── MKTClassReturnSetter.h │ │ │ ├── MKTClassReturnSetter.m │ │ │ ├── MKTDoubleReturnSetter.h │ │ │ ├── MKTDoubleReturnSetter.m │ │ │ ├── MKTFloatReturnSetter.h │ │ │ ├── MKTFloatReturnSetter.m │ │ │ ├── MKTIntReturnSetter.h │ │ │ ├── MKTIntReturnSetter.m │ │ │ ├── MKTLongLongReturnSetter.h │ │ │ ├── MKTLongLongReturnSetter.m │ │ │ ├── MKTLongReturnSetter.h │ │ │ ├── MKTLongReturnSetter.m │ │ │ ├── MKTObjectReturnSetter.h │ │ │ ├── MKTObjectReturnSetter.m │ │ │ ├── MKTReturnValueSetter.h │ │ │ ├── MKTReturnValueSetter.m │ │ │ ├── MKTReturnValueSetterChain.h │ │ │ ├── MKTReturnValueSetterChain.m │ │ │ ├── MKTShortReturnSetter.h │ │ │ ├── MKTShortReturnSetter.m │ │ │ ├── MKTStructReturnSetter.h │ │ │ ├── MKTStructReturnSetter.m │ │ │ ├── MKTUnsignedCharReturnSetter.h │ │ │ ├── MKTUnsignedCharReturnSetter.m │ │ │ ├── MKTUnsignedIntReturnSetter.h │ │ │ ├── MKTUnsignedIntReturnSetter.m │ │ │ ├── MKTUnsignedLongLongReturnSetter.h │ │ │ ├── MKTUnsignedLongLongReturnSetter.m │ │ │ ├── MKTUnsignedLongReturnSetter.h │ │ │ ├── MKTUnsignedLongReturnSetter.m │ │ │ ├── MKTUnsignedShortReturnSetter.h │ │ │ └── MKTUnsignedShortReturnSetter.m │ │ ├── MKTArgumentCaptor.h │ │ ├── MKTArgumentCaptor.m │ │ ├── MKTAtLeastTimes.h │ │ ├── MKTAtLeastTimes.m │ │ ├── MKTBaseMockObject.h │ │ ├── MKTBaseMockObject.m │ │ ├── MKTCapturingMatcher.h │ │ ├── MKTCapturingMatcher.m │ │ ├── MKTClassObjectMock.h │ │ ├── MKTClassObjectMock.m │ │ ├── MKTExactTimes.h │ │ ├── MKTExactTimes.m │ │ ├── MKTInvocationContainer.h │ │ ├── MKTInvocationContainer.m │ │ ├── MKTInvocationMatcher.h │ │ ├── MKTInvocationMatcher.m │ │ ├── MKTMockingProgress.h │ │ ├── MKTMockingProgress.m │ │ ├── MKTMockitoCore.h │ │ ├── MKTMockitoCore.m │ │ ├── MKTObjectAndProtocolMock.h │ │ ├── MKTObjectAndProtocolMock.m │ │ ├── MKTObjectMock.h │ │ ├── MKTObjectMock.m │ │ ├── MKTOngoingStubbing.h │ │ ├── MKTOngoingStubbing.m │ │ ├── MKTPrimitiveArgumentMatching.h │ │ ├── MKTProtocolMock.h │ │ ├── MKTProtocolMock.m │ │ ├── MKTStubbedInvocationMatcher.h │ │ ├── MKTStubbedInvocationMatcher.m │ │ ├── MKTTestLocation.h │ │ ├── MKTTestLocation.m │ │ ├── MKTVerificationData.h │ │ ├── MKTVerificationData.m │ │ ├── MKTVerificationMode.h │ │ ├── NSInvocation+OCMockito.h │ │ ├── NSInvocation+OCMockito.m │ │ ├── OCMockito.h │ │ └── OCMockito.m ├── Pods-ODSAccordionViewTests-OCHamcrest-Private.xcconfig ├── Pods-ODSAccordionViewTests-OCHamcrest-dummy.m ├── Pods-ODSAccordionViewTests-OCHamcrest-prefix.pch ├── Pods-ODSAccordionViewTests-OCHamcrest.xcconfig ├── Pods-ODSAccordionViewTests-OCMockito-Private.xcconfig ├── Pods-ODSAccordionViewTests-OCMockito-dummy.m ├── Pods-ODSAccordionViewTests-OCMockito-prefix.pch ├── Pods-ODSAccordionViewTests-OCMockito.xcconfig ├── Pods-ODSAccordionViewTests-TPWeakProxy-Private.xcconfig ├── Pods-ODSAccordionViewTests-TPWeakProxy-dummy.m ├── Pods-ODSAccordionViewTests-TPWeakProxy-prefix.pch ├── Pods-ODSAccordionViewTests-TPWeakProxy.xcconfig ├── Pods-ODSAccordionViewTests-acknowledgements.markdown ├── Pods-ODSAccordionViewTests-acknowledgements.plist ├── Pods-ODSAccordionViewTests-dummy.m ├── Pods-ODSAccordionViewTests-environment.h ├── Pods-ODSAccordionViewTests-resources.sh ├── Pods-ODSAccordionViewTests.xcconfig ├── Pods.xcodeproj │ └── project.pbxproj └── TPWeakProxy │ ├── LICENSE │ ├── README.md │ ├── TPWeakProxy.h │ └── TPWeakProxy.m ├── README.md ├── Rakefile ├── Screenshot1.png ├── Screenshot2.png ├── TODO ├── Tests ├── ODSAccordionViewTests-Info.plist ├── ODSAccordionViewTests.m └── en.lproj │ └── InfoPlist.strings └── VERSION /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # We recommend against adding the Pods directory to your .gitignore. However 23 | # you should judge for yourself, the pros and cons are mentioned at: 24 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control? 25 | # 26 | # Pods/ 27 | 28 | Example/Podfile.lock 29 | Example/Pods/ 30 | 31 | #Appcode 32 | .idea/workspace.xml 33 | -------------------------------------------------------------------------------- /.idea/.name: -------------------------------------------------------------------------------- 1 | ODSAccordionView -------------------------------------------------------------------------------- /.idea/ODSAccordionView.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/find.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/scopes/scope_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/xcode.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Classes/ODSAccordionSection.h: -------------------------------------------------------------------------------- 1 | // 2 | // ODSAccordionSection.h 3 | // 4 | // 5 | // Created by Johannes Seitz on 17/06/14. 6 | // 7 | // 8 | 9 | #import 10 | #import "ODSMacros.h" 11 | 12 | @interface ODSAccordionSection : NSObject 13 | 14 | -(id)initWithTitle:(NSString *)sectionTitle andView:(UIView *)sectionView; 15 | -(id)initWithTitle:(NSString *)sectionTitle andView:(UIView *)sectionView collapse:(BOOL)collapse NS_DESIGNATED_INITIALIZER; 16 | 17 | @property (nonatomic) UIView *view; 18 | @property (nonatomic) NSString *title; 19 | @property (nonatomic) BOOL collapse; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Classes/ODSAccordionSection.m: -------------------------------------------------------------------------------- 1 | // 2 | // ODSAccordionSection.m 3 | // 4 | // 5 | // Created by Johannes Seitz on 17/06/14. 6 | // 7 | // 8 | 9 | #import "ODSAccordionSection.h" 10 | 11 | 12 | @implementation ODSAccordionSection 13 | 14 | -(instancetype)initWithTitle:(NSString *)sectionTitle andView:(UIView *)sectionView collapse:(BOOL)collapse { 15 | self = [super init]; 16 | if (self){ 17 | _title = sectionTitle; 18 | _view = sectionView; 19 | _collapse = collapse; 20 | } 21 | return self; 22 | } 23 | 24 | -(instancetype)initWithTitle:(NSString *)sectionTitle andView:(UIView *)sectionView { 25 | return [self initWithTitle:sectionTitle andView:sectionView collapse:YES]; 26 | } 27 | 28 | 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /Classes/ODSAccordionSectionStyle.m: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Johannes Seitz on 18/06/14. 3 | // Copyright (c) 2014 Johannes W. Seitz. All rights reserved. 4 | // 5 | 6 | #import "ODSAccordionSectionStyle.h" 7 | 8 | 9 | @implementation ODSAccordionSectionStyle 10 | 11 | -(id)init { 12 | self = [super init]; 13 | if (self) { 14 | _headerHeight = 30; 15 | _headerTitleLabelFont = [UIFont systemFontOfSize:14]; 16 | _headerTitleLabelTextColor = [UIColor blackColor]; 17 | _headerTitleLabelHighlightedTextColor = [UIColor darkGrayColor]; 18 | _headerStyle = ODSAccordionHeaderStyleLabelLeft; 19 | _headerBackgroundColor = [UIColor clearColor]; 20 | _backgroundColor = [UIColor clearColor]; 21 | _dividerColor = [UIColor lightGrayColor]; 22 | _arrowVisible = YES; 23 | _stickyHeaders = YES; 24 | _animationDuration = 0.5; 25 | _arrowHeight = 5; 26 | } 27 | return self; 28 | } 29 | 30 | -(UIColor *)arrowColor { 31 | if (_arrowColor){ 32 | return _arrowColor; 33 | } else { 34 | return _dividerColor; 35 | } 36 | } 37 | 38 | @end -------------------------------------------------------------------------------- /Classes/ODSAccordionSectionView.h: -------------------------------------------------------------------------------- 1 | // 2 | // ODSSectionView.h 3 | // ODSAccordionView 4 | // 5 | // Created by Johannes Seitz on 17/06/14. 6 | // Copyright (c) 2014 Johannes W. Seitz. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "ODSMacros.h" 11 | 12 | @class ODSAccordionSectionStyle; 13 | 14 | @interface ODSAccordionSectionView : UIView 15 | 16 | @property (nonatomic, readwrite) CGFloat height; 17 | @property (nonatomic, readonly) UIButton *header; 18 | @property (nonatomic, readonly) UIView *sectionView; 19 | @property (nonatomic, readonly, getter=isExpanded) BOOL expanded; 20 | 21 | -(instancetype)initWithTitle:(NSString *)sectionTitle 22 | andView:(UIView *)sectionView 23 | sectionStyle:(ODSAccordionSectionStyle *)sectionStyle; 24 | 25 | -(instancetype)initWithTitle:(NSString *)sectionTitle 26 | andView:(UIView *)sectionView 27 | sectionStyle:(ODSAccordionSectionStyle *)sectionStyle 28 | collapse:(BOOL)collapse NS_DESIGNATED_INITIALIZER; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /Classes/ODSAccordionView-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 | #endif 10 | -------------------------------------------------------------------------------- /Classes/ODSAccordionView.h: -------------------------------------------------------------------------------- 1 | // 2 | // ODSAccordionView.h 3 | // 4 | // 5 | // Created by Johannes Seitz on 17/06/14. 6 | // 7 | // 8 | 9 | #import 10 | #import "ODSAccordionSection.h" 11 | #import "ODSMacros.h" 12 | 13 | @class ODSAccordionSectionStyle; 14 | 15 | 16 | @interface ODSAccordionView : UIScrollView 17 | 18 | -(id)initWithSections:(NSArray *)sections andSectionStyle:(ODSAccordionSectionStyle *)sectionStyle; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Classes/ODSArrowIcon.h: -------------------------------------------------------------------------------- 1 | // 2 | // ODSArrowIcon.h 3 | // ODSAccordionView 4 | // 5 | // Created by Johannes Seitz on 18/06/14. 6 | // Copyright (c) 2014 Johannes W. Seitz. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ODSArrowIcon : UIView 12 | 13 | @property (nonatomic) UIColor *color; /// Defaults to [UIColor lightGreyColor] 14 | 15 | 16 | -(void)pointDownAnimated:(BOOL)animated; 17 | -(void)pointUpAnimated:(BOOL)animated; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Classes/ODSMacros.h: -------------------------------------------------------------------------------- 1 | // 2 | // ODSMacros.h 3 | // ODSAccordionView 4 | // 5 | // Created by Johannes Seitz on 17/06/14. 6 | // Copyright (c) 2014 Johannes W. Seitz. All rights reserved. 7 | // 8 | 9 | 10 | #ifndef NS_DESIGNATED_INITIALIZER 11 | #if __has_attribute(objc_designated_initializer) 12 | #define NS_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) 13 | #else 14 | #define NS_DESIGNATED_INITIALIZER 15 | #endif 16 | #endif -------------------------------------------------------------------------------- /Demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johanneswseitz/ODSAccordionView/5afb72ed13a87408fc7971c15fc1438727b62f21/Demo.gif -------------------------------------------------------------------------------- /Example/Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Demo.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/Demo/Demo-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 | -------------------------------------------------------------------------------- /Example/Demo/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 | } -------------------------------------------------------------------------------- /Example/Demo/Images.xcassets/catcontent.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "catcontent-1.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "catcontent@2x-1.png" 12 | } 13 | ], 14 | "info" : { 15 | "version" : 1, 16 | "author" : "xcode" 17 | } 18 | } -------------------------------------------------------------------------------- /Example/Demo/Images.xcassets/catcontent.imageset/catcontent-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johanneswseitz/ODSAccordionView/5afb72ed13a87408fc7971c15fc1438727b62f21/Example/Demo/Images.xcassets/catcontent.imageset/catcontent-1.png -------------------------------------------------------------------------------- /Example/Demo/Images.xcassets/catcontent.imageset/catcontent@2x-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johanneswseitz/ODSAccordionView/5afb72ed13a87408fc7971c15fc1438727b62f21/Example/Demo/Images.xcassets/catcontent.imageset/catcontent@2x-1.png -------------------------------------------------------------------------------- /Example/Demo/ODSAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // ODSAppDelegate.h 3 | // Demo 4 | // 5 | // Created by Johannes Seitz on 17/06/14. 6 | // Copyright (c) 2014 Johannes W. Seitz. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ODSAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Example/Demo/ODSExampleViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ODSExampleViewController.h 3 | // Demo 4 | // 5 | // Created by Johannes Seitz on 17/06/14. 6 | // Copyright (c) 2014 Johannes W. Seitz. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ODSExampleViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example/Demo/en.lproj/2014-05-06 22.59.27.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johanneswseitz/ODSAccordionView/5afb72ed13a87408fc7971c15fc1438727b62f21/Example/Demo/en.lproj/2014-05-06 22.59.27.jpg -------------------------------------------------------------------------------- /Example/Demo/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/Demo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // Demo 4 | // 5 | // Created by Johannes Seitz on 17/06/14. 6 | // Copyright (c) 2014 Johannes W. Seitz. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "ODSAppDelegate.h" 12 | 13 | int main(int argc, char * argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([ODSAppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Example/DemoTests/DemoTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | de.ods-marketing.${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 | -------------------------------------------------------------------------------- /Example/DemoTests/DemoTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // DemoTests.m 3 | // DemoTests 4 | // 5 | // Created by Johannes Seitz on 17/06/14. 6 | // Copyright (c) 2014 Johannes W. Seitz. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface DemoTests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation DemoTests 16 | 17 | - (void)setUp 18 | { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown 24 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /Example/DemoTests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | platform :ios, '7.0' 3 | 4 | target "Demo" do 5 | #podspec :path => "../ODSAccordionView.podspec" 6 | pod "ODSAccordionView", :path => "../" 7 | end 8 | 9 | # Uncomment the following lines to add testing dependencies 10 | #target "DemoTests" do 11 | # pod 'OCHamcrest' 12 | # pod 'OCMockito' 13 | #end 14 | 15 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014 Johannes Seitz 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 | -------------------------------------------------------------------------------- /ODSAccordionView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ODSAccordionView.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Podfile: -------------------------------------------------------------------------------- 1 | 2 | # Uncomment the following lines to add testing dependencies 3 | target "ODSAccordionViewTests" do 4 | pod 'OCHamcrest' 5 | pod 'OCMockito' 6 | end 7 | 8 | -------------------------------------------------------------------------------- /Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - OCHamcrest (4.0.1) 3 | - OCMockito (1.3.0): 4 | - OCHamcrest (~> 4.0) 5 | - TPWeakProxy (~> 1.0) 6 | - TPWeakProxy (1.0.0) 7 | 8 | DEPENDENCIES: 9 | - OCHamcrest 10 | - OCMockito 11 | 12 | SPEC CHECKSUMS: 13 | OCHamcrest: b464725bbb48d0f1cd9c6f4ec3cb35fe0c4f2b94 14 | OCMockito: eca2670b3ce4a457d316b046a36d6f2b980a4da7 15 | TPWeakProxy: a23251ba7fbe268c93f809cc072ef834f5063798 16 | 17 | COCOAPODS: 0.33.1 18 | -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCAllOf.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Logical/HCAllOf.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCAnyOf.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Logical/HCAnyOf.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCAssertThat.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/HCAssertThat.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCBaseDescription.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/HCBaseDescription.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCBaseMatcher.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/HCBaseMatcher.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCBoolReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCBoolReturnGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCCharReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCCharReturnGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCClassMatcher.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Object/HCClassMatcher.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCCollect.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/HCCollect.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCConformsToProtocol.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Object/HCConformsToProtocol.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCDescribedAs.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Decorator/HCDescribedAs.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCDescription.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/HCDescription.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCDoubleReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCDoubleReturnGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCFloatReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCFloatReturnGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCGenericTestFailureHandler.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/TestFailureHandlers/HCGenericTestFailureHandler.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCHasCount.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCHasCount.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCHasDescription.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Object/HCHasDescription.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCHasProperty.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Object/HCHasProperty.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIntReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCIntReturnGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCInvocationMatcher.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/HCInvocationMatcher.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIs.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Decorator/HCIs.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsAnything.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Logical/HCIsAnything.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsCloseTo.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Number/HCIsCloseTo.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsCollectionContaining.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCIsCollectionContaining.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsCollectionContainingInAnyOrder.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCIsCollectionContainingInAnyOrder.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsCollectionContainingInOrder.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCIsCollectionContainingInOrder.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsCollectionOnlyContaining.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCIsCollectionOnlyContaining.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsDictionaryContaining.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCIsDictionaryContaining.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsDictionaryContainingEntries.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCIsDictionaryContainingEntries.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsDictionaryContainingKey.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCIsDictionaryContainingKey.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsDictionaryContainingValue.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCIsDictionaryContainingValue.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsEmptyCollection.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCIsEmptyCollection.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsEqual.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Object/HCIsEqual.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsEqualIgnoringCase.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Text/HCIsEqualIgnoringCase.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsEqualIgnoringWhiteSpace.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Text/HCIsEqualIgnoringWhiteSpace.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsEqualToNumber.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Number/HCIsEqualToNumber.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsIn.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCIsIn.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsInstanceOf.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Object/HCIsInstanceOf.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsNil.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Object/HCIsNil.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsNot.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Logical/HCIsNot.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsSame.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Object/HCIsSame.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCIsTypeOf.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Object/HCIsTypeOf.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCLongLongReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCLongLongReturnGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCLongReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCLongReturnGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCMatcher.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/HCMatcher.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCNumberAssert.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Number/HCNumberAssert.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCObjectReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCObjectReturnGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCOrderingComparison.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Number/HCOrderingComparison.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCRequireNonNilObject.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/HCRequireNonNilObject.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCReturnTypeHandlerChain.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCReturnTypeHandlerChain.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCReturnValueGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCReturnValueGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCSelfDescribing.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/HCSelfDescribing.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCSenTestFailureHandler.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/TestFailureHandlers/HCSenTestFailureHandler.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCShortReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCShortReturnGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCStringContains.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Text/HCStringContains.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCStringContainsInOrder.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Text/HCStringContainsInOrder.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCStringDescription.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/HCStringDescription.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCStringEndsWith.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Text/HCStringEndsWith.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCStringStartsWith.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Text/HCStringStartsWith.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCSubstringMatcher.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Text/HCSubstringMatcher.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCTestFailure.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/TestFailureHandlers/HCTestFailure.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCTestFailureHandler.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/TestFailureHandlers/HCTestFailureHandler.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCTestFailureHandlerChain.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/TestFailureHandlers/HCTestFailureHandlerChain.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCUnsignedCharReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCUnsignedCharReturnGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCUnsignedIntReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCUnsignedIntReturnGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCUnsignedLongLongReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongLongReturnGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCUnsignedLongReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongReturnGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCUnsignedShortReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCUnsignedShortReturnGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCWrapInMatcher.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/HCWrapInMatcher.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/HCXCTestFailureHandler.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/TestFailureHandlers/HCXCTestFailureHandler.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/NSInvocation+OCHamcrest.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/NSInvocation+OCHamcrest.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCHamcrest/OCHamcrest.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/OCHamcrest.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTArgumentCaptor.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTArgumentCaptor.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTArgumentGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTArgumentGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTArgumentGetterChain.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTArgumentGetterChain.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTAtLeastTimes.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTAtLeastTimes.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTBaseMockObject.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTBaseMockObject.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTBlockArgumentGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTBlockArgumentGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTBoolArgumentGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTBoolArgumentGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTBoolReturnSetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTBoolReturnSetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTCapturingMatcher.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTCapturingMatcher.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTCharArgumentGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTCharArgumentGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTCharReturnSetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTCharReturnSetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTClassArgumentGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTClassArgumentGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTClassObjectMock.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTClassObjectMock.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTClassReturnSetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTClassReturnSetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTDoubleArgumentGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTDoubleArgumentGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTDoubleReturnSetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTDoubleReturnSetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTExactTimes.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTExactTimes.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTFloatArgumentGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTFloatArgumentGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTFloatReturnSetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTFloatReturnSetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTIntArgumentGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTIntArgumentGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTIntReturnSetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTIntReturnSetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTInvocationContainer.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTInvocationContainer.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTInvocationMatcher.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTInvocationMatcher.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTLongArgumentGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTLongArgumentGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTLongLongArgumentGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTLongLongArgumentGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTLongLongReturnSetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTLongLongReturnSetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTLongReturnSetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTLongReturnSetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTMockingProgress.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTMockingProgress.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTMockitoCore.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTMockitoCore.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTObjectAndProtocolMock.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTObjectAndProtocolMock.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTObjectArgumentGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTObjectArgumentGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTObjectMock.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTObjectMock.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTObjectReturnSetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTObjectReturnSetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTOngoingStubbing.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTOngoingStubbing.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTPointerArgumentGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTPointerArgumentGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTPrimitiveArgumentMatching.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTPrimitiveArgumentMatching.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTProtocolMock.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTProtocolMock.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTReturnValueSetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTReturnValueSetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTReturnValueSetterChain.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTReturnValueSetterChain.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTSelectorArgumentGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTSelectorArgumentGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTShortArgumentGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTShortArgumentGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTShortReturnSetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTShortReturnSetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTStructArgumentGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTStructArgumentGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTStructReturnSetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTStructReturnSetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTStubbedInvocationMatcher.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTStubbedInvocationMatcher.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTTestLocation.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTTestLocation.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTUnsignedCharArgumentGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTUnsignedCharArgumentGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTUnsignedCharReturnSetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTUnsignedCharReturnSetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTUnsignedIntArgumentGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTUnsignedIntArgumentGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTUnsignedIntReturnSetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTUnsignedIntReturnSetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTUnsignedLongArgumentGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTUnsignedLongArgumentGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTUnsignedLongLongArgumentGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTUnsignedLongLongArgumentGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTUnsignedLongLongReturnSetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTUnsignedLongLongReturnSetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTUnsignedLongReturnSetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTUnsignedLongReturnSetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTUnsignedShortArgumentGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTUnsignedShortArgumentGetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTUnsignedShortReturnSetter.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTUnsignedShortReturnSetter.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTVerificationData.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTVerificationData.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/MKTVerificationMode.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTVerificationMode.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/NSInvocation+OCMockito.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/NSInvocation+OCMockito.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/OCMockito/OCMockito.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/OCMockito.h -------------------------------------------------------------------------------- /Pods/BuildHeaders/TPWeakProxy/TPWeakProxy.h: -------------------------------------------------------------------------------- 1 | ../../TPWeakProxy/TPWeakProxy.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCAllOf.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Logical/HCAllOf.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCAnyOf.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Logical/HCAnyOf.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCAssertThat.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/HCAssertThat.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCBaseDescription.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/HCBaseDescription.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCBaseMatcher.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/HCBaseMatcher.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCBoolReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCBoolReturnGetter.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCCharReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCCharReturnGetter.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCClassMatcher.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Object/HCClassMatcher.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCCollect.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/HCCollect.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCConformsToProtocol.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Object/HCConformsToProtocol.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCDescribedAs.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Decorator/HCDescribedAs.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCDescription.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/HCDescription.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCDoubleReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCDoubleReturnGetter.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCFloatReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCFloatReturnGetter.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCGenericTestFailureHandler.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/TestFailureHandlers/HCGenericTestFailureHandler.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCHasCount.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCHasCount.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCHasDescription.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Object/HCHasDescription.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCHasProperty.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Object/HCHasProperty.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIntReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCIntReturnGetter.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCInvocationMatcher.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/HCInvocationMatcher.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIs.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Decorator/HCIs.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsAnything.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Logical/HCIsAnything.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsCloseTo.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Number/HCIsCloseTo.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsCollectionContaining.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCIsCollectionContaining.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsCollectionContainingInAnyOrder.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCIsCollectionContainingInAnyOrder.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsCollectionContainingInOrder.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCIsCollectionContainingInOrder.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsCollectionOnlyContaining.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCIsCollectionOnlyContaining.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsDictionaryContaining.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCIsDictionaryContaining.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsDictionaryContainingEntries.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCIsDictionaryContainingEntries.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsDictionaryContainingKey.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCIsDictionaryContainingKey.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsDictionaryContainingValue.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCIsDictionaryContainingValue.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsEmptyCollection.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCIsEmptyCollection.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsEqual.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Object/HCIsEqual.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsEqualIgnoringCase.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Text/HCIsEqualIgnoringCase.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsEqualIgnoringWhiteSpace.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Text/HCIsEqualIgnoringWhiteSpace.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsEqualToNumber.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Number/HCIsEqualToNumber.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsIn.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Collection/HCIsIn.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsInstanceOf.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Object/HCIsInstanceOf.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsNil.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Object/HCIsNil.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsNot.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Logical/HCIsNot.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsSame.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Object/HCIsSame.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCIsTypeOf.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Object/HCIsTypeOf.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCLongLongReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCLongLongReturnGetter.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCLongReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCLongReturnGetter.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCMatcher.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/HCMatcher.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCNumberAssert.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Number/HCNumberAssert.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCObjectReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCObjectReturnGetter.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCOrderingComparison.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Number/HCOrderingComparison.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCRequireNonNilObject.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/HCRequireNonNilObject.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCReturnTypeHandlerChain.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCReturnTypeHandlerChain.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCReturnValueGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCReturnValueGetter.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCSelfDescribing.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/HCSelfDescribing.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCSenTestFailureHandler.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/TestFailureHandlers/HCSenTestFailureHandler.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCShortReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCShortReturnGetter.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCStringContains.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Text/HCStringContains.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCStringContainsInOrder.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Text/HCStringContainsInOrder.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCStringDescription.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/HCStringDescription.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCStringEndsWith.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Text/HCStringEndsWith.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCStringStartsWith.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Text/HCStringStartsWith.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCSubstringMatcher.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Library/Text/HCSubstringMatcher.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCTestFailure.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/TestFailureHandlers/HCTestFailure.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCTestFailureHandler.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/TestFailureHandlers/HCTestFailureHandler.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCTestFailureHandlerChain.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/TestFailureHandlers/HCTestFailureHandlerChain.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCUnsignedCharReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCUnsignedCharReturnGetter.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCUnsignedIntReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCUnsignedIntReturnGetter.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCUnsignedLongLongReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongLongReturnGetter.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCUnsignedLongReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongReturnGetter.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCUnsignedShortReturnGetter.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCUnsignedShortReturnGetter.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCWrapInMatcher.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/HCWrapInMatcher.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/HCXCTestFailureHandler.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/TestFailureHandlers/HCXCTestFailureHandler.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/NSInvocation+OCHamcrest.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/Core/Helpers/NSInvocation+OCHamcrest.h -------------------------------------------------------------------------------- /Pods/Headers/OCHamcrest/OCHamcrest.h: -------------------------------------------------------------------------------- 1 | ../../OCHamcrest/Source/OCHamcrest.h -------------------------------------------------------------------------------- /Pods/Headers/OCMockito/MKTArgumentCaptor.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTArgumentCaptor.h -------------------------------------------------------------------------------- /Pods/Headers/OCMockito/MKTBaseMockObject.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTBaseMockObject.h -------------------------------------------------------------------------------- /Pods/Headers/OCMockito/MKTClassObjectMock.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTClassObjectMock.h -------------------------------------------------------------------------------- /Pods/Headers/OCMockito/MKTObjectAndProtocolMock.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTObjectAndProtocolMock.h -------------------------------------------------------------------------------- /Pods/Headers/OCMockito/MKTObjectMock.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTObjectMock.h -------------------------------------------------------------------------------- /Pods/Headers/OCMockito/MKTOngoingStubbing.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTOngoingStubbing.h -------------------------------------------------------------------------------- /Pods/Headers/OCMockito/MKTPrimitiveArgumentMatching.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTPrimitiveArgumentMatching.h -------------------------------------------------------------------------------- /Pods/Headers/OCMockito/MKTProtocolMock.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/MKTProtocolMock.h -------------------------------------------------------------------------------- /Pods/Headers/OCMockito/OCMockito.h: -------------------------------------------------------------------------------- 1 | ../../OCMockito/Source/OCMockito/OCMockito.h -------------------------------------------------------------------------------- /Pods/Headers/TPWeakProxy/TPWeakProxy.h: -------------------------------------------------------------------------------- 1 | ../../TPWeakProxy/TPWeakProxy.h -------------------------------------------------------------------------------- /Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - OCHamcrest (4.0.1) 3 | - OCMockito (1.3.0): 4 | - OCHamcrest (~> 4.0) 5 | - TPWeakProxy (~> 1.0) 6 | - TPWeakProxy (1.0.0) 7 | 8 | DEPENDENCIES: 9 | - OCHamcrest 10 | - OCMockito 11 | 12 | SPEC CHECKSUMS: 13 | OCHamcrest: b464725bbb48d0f1cd9c6f4ec3cb35fe0c4f2b94 14 | OCMockito: eca2670b3ce4a457d316b046a36d6f2b980a4da7 15 | TPWeakProxy: a23251ba7fbe268c93f809cc072ef834f5063798 16 | 17 | COCOAPODS: 0.33.1 18 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/HCBaseDescription.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCBaseDescription.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import 11 | #import 12 | 13 | 14 | /** 15 | Base class for all HCDescription implementations. 16 | 17 | @ingroup core 18 | */ 19 | @interface HCBaseDescription : NSObject 20 | @end 21 | 22 | 23 | /** 24 | Methods that must be provided by subclasses of HCBaseDescription. 25 | */ 26 | @interface HCBaseDescription (SubclassResponsibility) 27 | 28 | /** 29 | Append the string @a str to the description. 30 | */ 31 | - (void)append:(NSString *)str; 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/HCBaseMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCBaseMatcher.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import 11 | #import 12 | 13 | 14 | /** 15 | Base class for all HCMatcher implementations. 16 | 17 | Most implementations can just implement @c -matches: and let 18 | -matches:describingMismatchTo: call it. But if it makes more sense to generate the 19 | mismatch description during the matching, override -matches:describingMismatchTo: 20 | and have @c -matches: call it with a @c nil description. 21 | 22 | @ingroup core 23 | */ 24 | @interface HCBaseMatcher : NSObject 25 | @end 26 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/HCSelfDescribing.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCSelfDescribing.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import 11 | 12 | #import "HCDescription.h" // Convenience header 13 | 14 | 15 | /** 16 | The ability of an object to describe itself. 17 | 18 | @ingroup core 19 | */ 20 | @protocol HCSelfDescribing 21 | 22 | /** 23 | Generates a description of the object. 24 | 25 | The description may be part of a description of a larger object of which this is just a 26 | component, so it should be worded appropriately. 27 | 28 | @param description The description to be built or appended to. 29 | */ 30 | - (void)describeTo:(id)description; 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/HCStringDescription.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCStringDescription.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import 11 | 12 | @protocol HCSelfDescribing; 13 | 14 | 15 | /** 16 | An HCDescription that is stored as a string. 17 | 18 | @ingroup core 19 | */ 20 | @interface HCStringDescription : HCBaseDescription 21 | { 22 | NSMutableString *accumulator; 23 | } 24 | 25 | /** 26 | Returns the description of an HCSelfDescribing object as a string. 27 | 28 | @param selfDescribing The object to be described. 29 | @return The description of the object. 30 | */ 31 | + (NSString *)stringFrom:(id)selfDescribing; 32 | 33 | /** 34 | Returns an empty description. 35 | */ 36 | + (instancetype)stringDescription; 37 | 38 | /** 39 | Returns an initialized HCStringDescription object that is empty. 40 | */ 41 | - (instancetype)init; 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/HCCollect.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCCollect.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCCollect.h" 11 | 12 | #import "HCWrapInMatcher.h" 13 | 14 | static id passThrough(id value) 15 | { 16 | return value; 17 | } 18 | 19 | NSMutableArray *HCCollectItems(id item, va_list args) 20 | { 21 | return HCCollectWrappedItems(item, args, passThrough); 22 | } 23 | 24 | NSMutableArray *HCCollectMatchers(id item, va_list args) 25 | { 26 | return HCCollectWrappedItems(item, args, HCWrapInMatcher); 27 | } 28 | 29 | NSMutableArray *HCCollectWrappedItems(id item, va_list args, id (*wrap)(id)) 30 | { 31 | NSMutableArray *list = [NSMutableArray arrayWithObject:wrap(item)]; 32 | 33 | id nextItem = va_arg(args, id); 34 | while (nextItem) 35 | { 36 | [list addObject:wrap(nextItem)]; 37 | nextItem = va_arg(args, id); 38 | } 39 | 40 | return list; 41 | } 42 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/HCRequireNonNilObject.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCRequireNonNilObject.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import 11 | 12 | 13 | /** 14 | Throws an NSException if @a obj is @c nil. 15 | 16 | @ingroup helpers 17 | */ 18 | FOUNDATION_EXPORT void HCRequireNonNilObject(id obj); 19 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/HCRequireNonNilObject.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCRequireNonNilObject.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCRequireNonNilObject.h" 11 | 12 | 13 | void HCRequireNonNilObject(id obj) 14 | { 15 | if (obj == nil) 16 | { 17 | @throw [NSException exceptionWithName:@"NilObject" 18 | reason:@"Must be non-nil object" 19 | userInfo:nil]; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/HCWrapInMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCWrapInMatcher.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import 11 | 12 | @protocol HCMatcher; 13 | 14 | 15 | /** 16 | Wraps argument in a matcher, if necessary. 17 | 18 | @return The argument as-if if it is already a matcher, otherwise wrapped in an @ref equalTo matcher. 19 | 20 | @ingroup helpers 21 | */ 22 | FOUNDATION_EXPORT id HCWrapInMatcher(id matcherOrValue); 23 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/HCWrapInMatcher.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCWrapInMatcher.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCWrapInMatcher.h" 11 | 12 | #import "HCIsEqual.h" 13 | 14 | 15 | id HCWrapInMatcher(id matcherOrValue) 16 | { 17 | if (!matcherOrValue) 18 | return nil; 19 | 20 | if ([matcherOrValue conformsToProtocol:@protocol(HCMatcher)]) 21 | return matcherOrValue; 22 | return HC_equalTo(matcherOrValue); 23 | } 24 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/NSInvocation+OCHamcrest.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - NSInvocation+OCHamcrest.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import 11 | 12 | 13 | @interface NSInvocation (OCHamcrest) 14 | 15 | + (NSInvocation *)och_invocationWithTarget:(id)target selector:(SEL)selector; 16 | + (NSInvocation *)och_invocationOnObjectOfType:(Class)aClass selector:(SEL)selector; 17 | - (id)och_invoke; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCBoolReturnGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCBoolReturnGetter.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCReturnValueGetter.h" 11 | 12 | 13 | @interface HCBoolReturnGetter : HCReturnValueGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCBoolReturnGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCBoolReturnGetter.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCBoolReturnGetter.h" 11 | 12 | 13 | @implementation HCBoolReturnGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor 16 | { 17 | self = [super initWithType:@encode(BOOL) successor:successor]; 18 | return self; 19 | } 20 | 21 | - (id)returnValueFromInvocation:(NSInvocation *)invocation 22 | { 23 | BOOL value; 24 | [invocation getReturnValue:&value]; 25 | return @(value); 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCCharReturnGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCCharReturnGetter.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCReturnValueGetter.h" 11 | 12 | 13 | @interface HCCharReturnGetter : HCReturnValueGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCCharReturnGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCCharReturnGetter.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCCharReturnGetter.h" 11 | 12 | 13 | @implementation HCCharReturnGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor 16 | { 17 | self = [super initWithType:@encode(char) successor:successor]; 18 | return self; 19 | } 20 | 21 | - (id)returnValueFromInvocation:(NSInvocation *)invocation 22 | { 23 | char value; 24 | [invocation getReturnValue:&value]; 25 | return @(value); 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCDoubleReturnGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCDoubleReturnGetter.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCReturnValueGetter.h" 11 | 12 | 13 | @interface HCDoubleReturnGetter : HCReturnValueGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCDoubleReturnGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCDoubleReturnGetter.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCDoubleReturnGetter.h" 11 | 12 | 13 | @implementation HCDoubleReturnGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor 16 | { 17 | self = [super initWithType:@encode(double) successor:successor]; 18 | return self; 19 | } 20 | 21 | - (id)returnValueFromInvocation:(NSInvocation *)invocation 22 | { 23 | double value; 24 | [invocation getReturnValue:&value]; 25 | return @(value); 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCFloatReturnGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCFloatReturnGetter.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCReturnValueGetter.h" 11 | 12 | 13 | @interface HCFloatReturnGetter : HCReturnValueGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCFloatReturnGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCFloatReturnGetter.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCFloatReturnGetter.h" 11 | 12 | 13 | @implementation HCFloatReturnGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor 16 | { 17 | self = [super initWithType:@encode(float) successor:successor]; 18 | return self; 19 | } 20 | 21 | - (id)returnValueFromInvocation:(NSInvocation *)invocation 22 | { 23 | float value; 24 | [invocation getReturnValue:&value]; 25 | return @(value); 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCIntReturnGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCIntReturnGetter.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCReturnValueGetter.h" 11 | 12 | 13 | @interface HCIntReturnGetter : HCReturnValueGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCIntReturnGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCIntReturnGetter.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCIntReturnGetter.h" 11 | 12 | 13 | @implementation HCIntReturnGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor 16 | { 17 | self = [super initWithType:@encode(int) successor:successor]; 18 | return self; 19 | } 20 | 21 | - (id)returnValueFromInvocation:(NSInvocation *)invocation 22 | { 23 | int value; 24 | [invocation getReturnValue:&value]; 25 | return @(value); 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCLongLongReturnGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCLongLongReturnGetter.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCReturnValueGetter.h" 11 | 12 | 13 | @interface HCLongLongReturnGetter : HCReturnValueGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCLongLongReturnGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCLongLongReturnGetter.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCLongLongReturnGetter.h" 11 | 12 | 13 | @implementation HCLongLongReturnGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor 16 | { 17 | self = [super initWithType:@encode(long long) successor:successor]; 18 | return self; 19 | } 20 | 21 | - (id)returnValueFromInvocation:(NSInvocation *)invocation 22 | { 23 | long long value; 24 | [invocation getReturnValue:&value]; 25 | return @(value); 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCLongReturnGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCLongReturnGetter.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCReturnValueGetter.h" 11 | 12 | 13 | @interface HCLongReturnGetter : HCReturnValueGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCLongReturnGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCLongReturnGetter.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCLongReturnGetter.h" 11 | 12 | 13 | @implementation HCLongReturnGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor 16 | { 17 | self = [super initWithType:@encode(long) successor:successor]; 18 | return self; 19 | } 20 | 21 | - (id)returnValueFromInvocation:(NSInvocation *)invocation 22 | { 23 | long value; 24 | [invocation getReturnValue:&value]; 25 | return @(value); 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCObjectReturnGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCObjectReturnGetter.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCReturnValueGetter.h" 11 | 12 | 13 | @interface HCObjectReturnGetter : HCReturnValueGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCObjectReturnGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCObjectReturnGetter.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCObjectReturnGetter.h" 11 | 12 | 13 | @implementation HCObjectReturnGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor 16 | { 17 | self = [super initWithType:@encode(id) successor:successor]; 18 | return self; 19 | } 20 | 21 | - (id)returnValueFromInvocation:(NSInvocation *)invocation 22 | { 23 | __unsafe_unretained id value; 24 | [invocation getReturnValue:&value]; 25 | return value; 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCReturnTypeHandlerChain.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCReturnValueGetterChain.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import 11 | 12 | @class HCReturnValueGetter; 13 | 14 | 15 | /** 16 | Returns chain of return type handlers. 17 | */ 18 | FOUNDATION_EXPORT HCReturnValueGetter *HCReturnValueGetterChain(void); 19 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCReturnValueGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCReturnValueGetter.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import 11 | 12 | 13 | /** 14 | Chain-of-responsibility for handling NSInvocation return types. 15 | */ 16 | @interface HCReturnValueGetter : NSObject 17 | 18 | - (instancetype)initWithType:(char const *)handlerType successor:(HCReturnValueGetter *)successor; 19 | - (id)returnValueOfType:(char const *)type fromInvocation:(NSInvocation *)invocation; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCShortReturnGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCShortReturnGetter.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCReturnValueGetter.h" 11 | 12 | 13 | @interface HCShortReturnGetter : HCReturnValueGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCShortReturnGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCShortReturnGetter.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCShortReturnGetter.h" 11 | 12 | 13 | @implementation HCShortReturnGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor 16 | { 17 | self = [super initWithType:@encode(short) successor:successor]; 18 | return self; 19 | } 20 | 21 | - (id)returnValueFromInvocation:(NSInvocation *)invocation 22 | { 23 | short value; 24 | [invocation getReturnValue:&value]; 25 | return @(value); 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCUnsignedCharReturnGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCUnsignedCharReturnGetter.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCReturnValueGetter.h" 11 | 12 | 13 | @interface HCUnsignedCharReturnGetter : HCReturnValueGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCUnsignedCharReturnGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCUnsignedCharReturnGetter.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCUnsignedCharReturnGetter.h" 11 | 12 | 13 | @implementation HCUnsignedCharReturnGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor 16 | { 17 | self = [super initWithType:@encode(unsigned char) successor:successor]; 18 | return self; 19 | } 20 | 21 | - (id)returnValueFromInvocation:(NSInvocation *)invocation 22 | { 23 | unsigned char value; 24 | [invocation getReturnValue:&value]; 25 | return @(value); 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCUnsignedIntReturnGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCUnsignedIntReturnGetter.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCReturnValueGetter.h" 11 | 12 | 13 | @interface HCUnsignedIntReturnGetter : HCReturnValueGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCUnsignedIntReturnGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCUnsignedIntReturnGetter.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCUnsignedIntReturnGetter.h" 11 | 12 | 13 | @implementation HCUnsignedIntReturnGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor 16 | { 17 | self = [super initWithType:@encode(unsigned int) successor:successor]; 18 | return self; 19 | } 20 | 21 | - (id)returnValueFromInvocation:(NSInvocation *)invocation 22 | { 23 | unsigned int value; 24 | [invocation getReturnValue:&value]; 25 | return @(value); 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongLongReturnGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCUnsignedLongLongReturnGetter.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCReturnValueGetter.h" 11 | 12 | 13 | @interface HCUnsignedLongLongReturnGetter : HCReturnValueGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongLongReturnGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCUnsignedLongLongReturnGetter.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCUnsignedLongLongReturnGetter.h" 11 | 12 | 13 | @implementation HCUnsignedLongLongReturnGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor 16 | { 17 | self = [super initWithType:@encode(unsigned long long) successor:successor]; 18 | return self; 19 | } 20 | 21 | - (id)returnValueFromInvocation:(NSInvocation *)invocation 22 | { 23 | unsigned long long value; 24 | [invocation getReturnValue:&value]; 25 | return @(value); 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongReturnGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCUnsignedLongReturnGetter.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCReturnValueGetter.h" 11 | 12 | 13 | @interface HCUnsignedLongReturnGetter : HCReturnValueGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongReturnGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCUnsignedLongReturnGetter.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCUnsignedLongReturnGetter.h" 11 | 12 | 13 | @implementation HCUnsignedLongReturnGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor 16 | { 17 | self = [super initWithType:@encode(unsigned long) successor:successor]; 18 | return self; 19 | } 20 | 21 | - (id)returnValueFromInvocation:(NSInvocation *)invocation 22 | { 23 | unsigned long value; 24 | [invocation getReturnValue:&value]; 25 | return @(value); 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCUnsignedShortReturnGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCUnsignedShortReturnGetter.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCReturnValueGetter.h" 11 | 12 | 13 | @interface HCUnsignedShortReturnGetter : HCReturnValueGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/ReturnValueGetters/HCUnsignedShortReturnGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCUnsignedShortReturnGetter.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCUnsignedShortReturnGetter.h" 11 | 12 | 13 | @implementation HCUnsignedShortReturnGetter 14 | 15 | - (instancetype)initWithSuccessor:(HCReturnValueGetter *)successor 16 | { 17 | self = [super initWithType:@encode(unsigned short) successor:successor]; 18 | return self; 19 | } 20 | 21 | - (id)returnValueFromInvocation:(NSInvocation *)invocation 22 | { 23 | unsigned short value; 24 | [invocation getReturnValue:&value]; 25 | return @(value); 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/TestFailureHandlers/HCGenericTestFailureHandler.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCGenericTestFailureHandler.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCTestFailureHandler.h" 11 | 12 | 13 | @interface HCGenericTestFailureHandler : HCTestFailureHandler 14 | @end 15 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/TestFailureHandlers/HCSenTestFailureHandler.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCSenTestFailureHandler.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCTestFailureHandler.h" 11 | 12 | 13 | @interface HCSenTestFailureHandler : HCTestFailureHandler 14 | @end 15 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/TestFailureHandlers/HCTestFailure.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCTestFailure.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import 11 | 12 | 13 | /** 14 | Test failure location and reason. 15 | 16 | @ingroup integration 17 | */ 18 | @interface HCTestFailure : NSObject 19 | 20 | @property (nonatomic, readonly) id testCase; 21 | @property (nonatomic, readonly) NSString *fileName; 22 | @property (nonatomic, readonly) NSUInteger lineNumber; 23 | @property (nonatomic, readonly) NSString *reason; 24 | 25 | - (instancetype)initWithTestCase:(id)testCase 26 | fileName:(NSString *)fileName 27 | lineNumber:(NSUInteger)lineNumber 28 | reason:(NSString *)reason; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/TestFailureHandlers/HCTestFailure.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCTestFailure.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCTestFailure.h" 11 | 12 | 13 | @implementation HCTestFailure 14 | 15 | - (instancetype)initWithTestCase:(id)testCase 16 | fileName:(NSString *)fileName 17 | lineNumber:(NSUInteger)lineNumber 18 | reason:(NSString *)reason 19 | { 20 | self = [super init]; 21 | if (self) 22 | { 23 | _testCase = testCase; 24 | _fileName = fileName; 25 | _lineNumber = lineNumber; 26 | _reason = reason; 27 | } 28 | return self; 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/TestFailureHandlers/HCTestFailureHandler.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCTestFailureHandler.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import 11 | 12 | @class HCTestFailure; 13 | 14 | 15 | /** 16 | Chain-of-responsibility for handling test failures. 17 | 18 | @ingroup integration 19 | */ 20 | @interface HCTestFailureHandler : NSObject 21 | 22 | - (instancetype)initWithSuccessor:(HCTestFailureHandler *)successor; 23 | 24 | /** 25 | Handle test failure at specific location, or pass to successor. 26 | */ 27 | - (void)handleFailure:(HCTestFailure *)failure; 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/TestFailureHandlers/HCTestFailureHandlerChain.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCTestFailureHandlerChain.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import 11 | 12 | @class HCTestFailureHandler; 13 | 14 | 15 | /** 16 | Returns chain of test failure handlers. 17 | 18 | @ingroup integration 19 | */ 20 | FOUNDATION_EXPORT HCTestFailureHandler *HC_testFailureHandlerChain(void); 21 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/TestFailureHandlers/HCTestFailureHandlerChain.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCTestFailureHandlerChain.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCTestFailureHandlerChain.h" 11 | 12 | #import "HCGenericTestFailureHandler.h" 13 | #import "HCSenTestFailureHandler.h" 14 | #import "HCXCTestFailureHandler.h" 15 | 16 | 17 | HCTestFailureHandler *HC_testFailureHandlerChain(void) 18 | { 19 | static HCTestFailureHandler *chain = nil; 20 | if (!chain) 21 | { 22 | HCTestFailureHandler *genericHandler = [[HCGenericTestFailureHandler alloc] initWithSuccessor:nil]; 23 | HCTestFailureHandler *ocunitHandler = [[HCSenTestFailureHandler alloc] initWithSuccessor:genericHandler]; 24 | HCTestFailureHandler *xctestHandler = [[HCXCTestFailureHandler alloc] initWithSuccessor:ocunitHandler]; 25 | chain = xctestHandler; 26 | } 27 | return chain; 28 | } 29 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Core/Helpers/TestFailureHandlers/HCXCTestFailureHandler.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCXCTestFailureHandler.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCTestFailureHandler.h" 11 | 12 | 13 | @interface HCXCTestFailureHandler : HCTestFailureHandler 14 | @end 15 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Library/Collection/HCIsEmptyCollection.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCIsEmptyCollection.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import 11 | 12 | 13 | @interface HCIsEmptyCollection : HCHasCount 14 | 15 | + (instancetype)isEmptyCollection; 16 | - (instancetype)init; 17 | 18 | @end 19 | 20 | 21 | FOUNDATION_EXPORT id HC_isEmpty(void); 22 | 23 | /** 24 | Matches empty collection. 25 | 26 | This matcher invokes @c -count on the evaluated object to determine if the number of elements it 27 | contains is zero. 28 | 29 | (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym 30 | @c HC_isEmpty instead.) 31 | 32 | @ingroup collection_matchers 33 | */ 34 | #ifdef HC_SHORTHAND 35 | #define isEmpty() HC_isEmpty() 36 | #endif 37 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Library/Collection/HCIsEmptyCollection.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCIsEmptyCollection.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCIsEmptyCollection.h" 11 | 12 | #import "HCIsEqual.h" 13 | 14 | 15 | @implementation HCIsEmptyCollection 16 | 17 | + (instancetype)isEmptyCollection 18 | { 19 | return [[self alloc] init]; 20 | } 21 | 22 | - (instancetype)init 23 | { 24 | self = [super initWithCount:HC_equalTo(@0)]; 25 | return self; 26 | } 27 | 28 | - (void)describeMismatchOf:(id)item to:(id)mismatchDescription 29 | { 30 | [[mismatchDescription appendText:@"was "] appendDescriptionOf:item]; 31 | } 32 | 33 | - (void)describeTo:(id)description 34 | { 35 | [description appendText:@"empty collection"]; 36 | } 37 | 38 | @end 39 | 40 | 41 | FOUNDATION_EXPORT id HC_isEmpty() 42 | { 43 | return [HCIsEmptyCollection isEmptyCollection]; 44 | } 45 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Library/Collection/HCIsIn.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCIsIn.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import 11 | 12 | 13 | @interface HCIsIn : HCBaseMatcher 14 | 15 | + (instancetype)isInCollection:(id)collection; 16 | - (instancetype)initWithCollection:(id)collection; 17 | 18 | @end 19 | 20 | 21 | FOUNDATION_EXPORT id HC_isIn(id aCollection); 22 | 23 | /** 24 | isIn(aCollection) - 25 | Matches if evaluated object is present in a given collection. 26 | 27 | @param aCollection The collection to search. 28 | 29 | This matcher invokes @c -containsObject: on @a aCollection to determine if the evaluated object 30 | is an element of the collection. 31 | 32 | (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym 33 | @c HC_isIn instead.) 34 | 35 | @ingroup collection_matchers 36 | */ 37 | #ifdef HC_SHORTHAND 38 | #define isIn HC_isIn 39 | #endif 40 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Library/Object/HCClassMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCClassMatcher.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import 11 | 12 | 13 | @interface HCClassMatcher : HCBaseMatcher 14 | 15 | @property (nonatomic, readonly) Class theClass; 16 | 17 | - (instancetype)initWithType:(Class)type; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Library/Object/HCConformsToProtocol.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCConformsToProtocol.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Todd Farrell 6 | // 7 | 8 | #import 9 | 10 | 11 | @interface HCConformsToProtocol : HCBaseMatcher 12 | 13 | + (instancetype)conformsTo:(Protocol *)protocol; 14 | - (instancetype)initWithProtocol:(Protocol *)protocol; 15 | 16 | @end 17 | 18 | 19 | FOUNDATION_EXPORT id HC_conformsTo(Protocol *aProtocol); 20 | 21 | /** 22 | conformsTo(aProtocol) - 23 | Matches if object conforms to a given protocol. 24 | 25 | @param aProtocol The protocol to compare against as the expected protocol. 26 | 27 | This matcher checks whether the evaluated object conforms to @a aProtocol. 28 | 29 | Example: 30 | @li @ref conformsTo(\@protocol(NSObject)) 31 | 32 | (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym 33 | @c HC_conformsTo instead.) 34 | 35 | @ingroup object_matchers 36 | */ 37 | #ifdef HC_SHORTHAND 38 | #define conformsTo HC_conformsTo 39 | #endif 40 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Library/Object/HCIsInstanceOf.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCIsInstanceOf.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCIsInstanceOf.h" 11 | 12 | 13 | @implementation HCIsInstanceOf 14 | 15 | + (instancetype)isInstanceOf:(Class)type 16 | { 17 | return [[self alloc] initWithType:type]; 18 | } 19 | 20 | - (BOOL)matches:(id)item 21 | { 22 | return [item isKindOfClass:self.theClass]; 23 | } 24 | 25 | - (NSString *)expectation 26 | { 27 | return @"an instance of "; 28 | } 29 | 30 | @end 31 | 32 | 33 | id HC_instanceOf(Class aClass) 34 | { 35 | return [HCIsInstanceOf isInstanceOf:aClass]; 36 | } 37 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Library/Object/HCIsNil.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCIsNil.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import 11 | 12 | 13 | @interface HCIsNil : HCBaseMatcher 14 | 15 | + (id)isNil; 16 | 17 | @end 18 | 19 | 20 | FOUNDATION_EXPORT id HC_nilValue(void); 21 | 22 | /** 23 | Matches if object is @c nil. 24 | 25 | (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym 26 | @c HC_nilValue instead.) 27 | 28 | @ingroup object_matchers 29 | */ 30 | #ifdef HC_SHORTHAND 31 | #define nilValue() HC_nilValue() 32 | #endif 33 | 34 | 35 | FOUNDATION_EXPORT id HC_notNilValue(void); 36 | 37 | /** 38 | Matches if object is not @c nil. 39 | 40 | (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym 41 | @c HC_notNilValue instead.) 42 | 43 | @ingroup object_matchers 44 | */ 45 | #ifdef HC_SHORTHAND 46 | #define notNilValue() HC_notNilValue() 47 | #endif 48 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Library/Object/HCIsNil.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCIsNil.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCIsNil.h" 11 | 12 | #import "HCIsNot.h" 13 | 14 | 15 | @implementation HCIsNil 16 | 17 | + (instancetype)isNil 18 | { 19 | return [[self alloc] init]; 20 | } 21 | 22 | - (BOOL)matches:(id)item 23 | { 24 | return item == nil; 25 | } 26 | 27 | - (void)describeTo:(id)description 28 | { 29 | [description appendText:@"nil"]; 30 | } 31 | 32 | @end 33 | 34 | 35 | id HC_nilValue() 36 | { 37 | return [HCIsNil isNil]; 38 | } 39 | 40 | id HC_notNilValue() 41 | { 42 | return HC_isNot([HCIsNil isNil]); 43 | } 44 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Library/Object/HCIsSame.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCIsSame.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import 11 | 12 | 13 | @interface HCIsSame : HCBaseMatcher 14 | 15 | + (instancetype)isSameAs:(id)object; 16 | - (instancetype)initSameAs:(id)object; 17 | 18 | @end 19 | 20 | 21 | FOUNDATION_EXPORT id HC_sameInstance(id object); 22 | 23 | /** 24 | sameInstance(anObject) - 25 | Matches if evaluated object is the same instance as a given object. 26 | 27 | @param anObject The object to compare against as the expected value. 28 | 29 | This matcher compares the address of the evaluated object to determine if it is the same object 30 | as @a anObject. 31 | 32 | (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym 33 | @c HC_sameInstance instead.) 34 | 35 | @ingroup object_matchers 36 | */ 37 | #ifdef HC_SHORTHAND 38 | #define sameInstance HC_sameInstance 39 | #endif 40 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Library/Object/HCIsTypeOf.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCIsTypeOf.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import 11 | 12 | 13 | @interface HCIsTypeOf : HCClassMatcher 14 | 15 | + (id)isTypeOf:(Class)type; 16 | 17 | @end 18 | 19 | 20 | FOUNDATION_EXPORT id HC_isA(Class aClass); 21 | 22 | /** 23 | isA(aClass) - 24 | Matches if object is an instance of a given class (but not of a subclass). 25 | 26 | @param aClass The class to compare against as the expected class. 27 | 28 | This matcher checks whether the evaluated object is an instance of @a aClass. 29 | 30 | Example: 31 | @li @ref isA([Foo class]) 32 | 33 | (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym 34 | @c HC_isA instead.) 35 | 36 | @ingroup object_matchers 37 | */ 38 | #ifdef HC_SHORTHAND 39 | #define isA HC_isA 40 | #endif 41 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Library/Object/HCIsTypeOf.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCIsTypeOf.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCIsTypeOf.h" 11 | 12 | 13 | @implementation HCIsTypeOf 14 | 15 | + (instancetype)isTypeOf:(Class)type 16 | { 17 | return [[self alloc] initWithType:type]; 18 | } 19 | 20 | - (BOOL)matches:(id)item 21 | { 22 | return [item isMemberOfClass:self.theClass]; 23 | } 24 | 25 | - (NSString *)expectation 26 | { 27 | return @"an exact instance of "; 28 | } 29 | 30 | @end 31 | 32 | 33 | id HC_isA(Class aClass) 34 | { 35 | return [HCIsTypeOf isTypeOf:aClass]; 36 | } 37 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Library/Text/HCStringContains.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCStringContains.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCStringContains.h" 11 | 12 | 13 | @implementation HCStringContains 14 | 15 | + (instancetype)stringContains:(NSString *)aString 16 | { 17 | return [[self alloc] initWithSubstring:aString]; 18 | } 19 | 20 | - (BOOL)matches:(id)item 21 | { 22 | if (![item respondsToSelector:@selector(rangeOfString:)]) 23 | return NO; 24 | 25 | return [item rangeOfString:self.substring].location != NSNotFound; 26 | } 27 | 28 | - (NSString *)relationship 29 | { 30 | return @"containing"; 31 | } 32 | 33 | @end 34 | 35 | 36 | id HC_containsString(NSString *aString) 37 | { 38 | return [HCStringContains stringContains:aString]; 39 | } 40 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Library/Text/HCStringEndsWith.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCStringEndsWith.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCStringEndsWith.h" 11 | 12 | 13 | @implementation HCStringEndsWith 14 | 15 | + (instancetype)stringEndsWith:(NSString *)aString 16 | { 17 | return [[self alloc] initWithSubstring:aString]; 18 | } 19 | 20 | - (BOOL)matches:(id)item 21 | { 22 | if (![item respondsToSelector:@selector(hasSuffix:)]) 23 | return NO; 24 | 25 | return [item hasSuffix:self.substring]; 26 | } 27 | 28 | - (NSString *)relationship 29 | { 30 | return @"ending with"; 31 | } 32 | 33 | @end 34 | 35 | 36 | id HC_endsWith(NSString *aString) 37 | { 38 | return [HCStringEndsWith stringEndsWith:aString]; 39 | } 40 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Library/Text/HCStringStartsWith.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCStringStartsWith.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCStringStartsWith.h" 11 | 12 | 13 | @implementation HCStringStartsWith 14 | 15 | + (instancetype)stringStartsWith:(NSString *)aSubstring 16 | { 17 | return [[self alloc] initWithSubstring:aSubstring]; 18 | } 19 | 20 | - (BOOL)matches:(id)item 21 | { 22 | if (![item respondsToSelector:@selector(hasPrefix:)]) 23 | return NO; 24 | 25 | return [item hasPrefix:self.substring]; 26 | } 27 | 28 | - (NSString *)relationship 29 | { 30 | return @"starting with"; 31 | } 32 | 33 | @end 34 | 35 | 36 | id HC_startsWith(NSString *aString) 37 | { 38 | return [HCStringStartsWith stringStartsWith:aString]; 39 | } 40 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Library/Text/HCSubstringMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCSubstringMatcher.h 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import 11 | 12 | 13 | @interface HCSubstringMatcher : HCBaseMatcher 14 | 15 | @property (nonatomic, readonly) NSString *substring; 16 | 17 | - (instancetype)initWithSubstring:(NSString *)aString; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/OCHamcrest/Source/Library/Text/HCSubstringMatcher.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCHamcrest - HCSubstringMatcher.m 3 | // Copyright 2014 hamcrest.org. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Docs: http://hamcrest.github.com/OCHamcrest/ 7 | // Source: https://github.com/hamcrest/OCHamcrest 8 | // 9 | 10 | #import "HCSubstringMatcher.h" 11 | 12 | #import "HCRequireNonNilObject.h" 13 | 14 | 15 | @interface HCSubstringMatcher (SubclassResponsibility) 16 | - (NSString *)relationship; 17 | @end 18 | 19 | 20 | @implementation HCSubstringMatcher 21 | 22 | - (instancetype)initWithSubstring:(NSString *)aString 23 | { 24 | HCRequireNonNilObject(aString); 25 | 26 | self = [super init]; 27 | if (self) 28 | _substring = [aString copy]; 29 | return self; 30 | } 31 | 32 | - (void)describeTo:(id)description 33 | { 34 | [[[[description appendText:@"a string "] 35 | appendText:[self relationship]] 36 | appendText:@" "] 37 | appendDescriptionOf:self.substring]; 38 | } 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /Pods/OCMockito/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright 2014 Jonathan M. Reid 2 | All rights reserved. 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy of 5 | this software and associated documentation files (the "Software"), to deal in 6 | the Software without restriction, including without limitation the rights to 7 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 8 | the Software, and to permit persons to whom the Software is furnished to do so, 9 | subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all 12 | copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 16 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 17 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 18 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 19 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20 | 21 | (MIT License) 22 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTArgumentGetter.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | @interface MKTArgumentGetter : NSObject 5 | 6 | - (instancetype)initWithType:(char const *)handlerType successor:(MKTArgumentGetter *)successor; 7 | - (id)retrieveArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation; 8 | 9 | @end 10 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTArgumentGetterChain.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTArgumentGetterChain.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import 10 | 11 | @class MKTArgumentGetter; 12 | 13 | 14 | /** 15 | Returns chain of argument getters. 16 | */ 17 | FOUNDATION_EXPORT MKTArgumentGetter *MKTArgumentGetterChain(void); 18 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTBlockArgumentGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTBlockArgumentGetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTArgumentGetter.h" 10 | 11 | 12 | @interface MKTBlockArgumentGetter : MKTArgumentGetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTBlockArgumentGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTBlockArgumentGetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTBlockArgumentGetter.h" 10 | 11 | typedef void (^MKTBlockType)(void); 12 | 13 | @implementation MKTBlockArgumentGetter 14 | 15 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor 16 | { 17 | self = [super initWithType:@encode(MKTBlockType) successor:successor]; 18 | return self; 19 | } 20 | 21 | - (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation 22 | { 23 | __unsafe_unretained id arg = nil; 24 | [invocation getArgument:&arg atIndex:idx]; 25 | return arg ? [arg copy] : [NSNull null]; 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTBoolArgumentGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTBoolArgumentGetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTArgumentGetter.h" 10 | 11 | 12 | @interface MKTBoolArgumentGetter : MKTArgumentGetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTBoolArgumentGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTBoolArgumentGetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTBoolArgumentGetter.h" 10 | 11 | @implementation MKTBoolArgumentGetter 12 | 13 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor 14 | { 15 | self = [super initWithType:@encode(BOOL) successor:successor]; 16 | return self; 17 | } 18 | 19 | - (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation 20 | { 21 | BOOL arg; 22 | [invocation getArgument:&arg atIndex:idx]; 23 | return @(arg); 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTCharArgumentGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTCharArgumentGetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTArgumentGetter.h" 10 | 11 | 12 | @interface MKTCharArgumentGetter : MKTArgumentGetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTCharArgumentGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTCharArgumentGetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTCharArgumentGetter.h" 10 | 11 | @implementation MKTCharArgumentGetter 12 | 13 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor 14 | { 15 | self = [super initWithType:@encode(char) successor:successor]; 16 | return self; 17 | } 18 | 19 | - (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation 20 | { 21 | char arg; 22 | [invocation getArgument:&arg atIndex:idx]; 23 | return @(arg); 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTClassArgumentGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTClassArgumentGetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTArgumentGetter.h" 10 | 11 | 12 | @interface MKTClassArgumentGetter : MKTArgumentGetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTClassArgumentGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTClassArgumentGetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTClassArgumentGetter.h" 10 | 11 | @implementation MKTClassArgumentGetter 12 | 13 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor 14 | { 15 | self = [super initWithType:@encode(Class) successor:successor]; 16 | return self; 17 | } 18 | 19 | - (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation 20 | { 21 | __unsafe_unretained Class arg = nil; 22 | [invocation getArgument:&arg atIndex:idx]; 23 | return arg; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTDoubleArgumentGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTDoubleArgumentGetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTArgumentGetter.h" 10 | 11 | 12 | @interface MKTDoubleArgumentGetter : MKTArgumentGetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTDoubleArgumentGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTDoubleArgumentGetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTDoubleArgumentGetter.h" 10 | 11 | @implementation MKTDoubleArgumentGetter 12 | 13 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor 14 | { 15 | self = [super initWithType:@encode(double) successor:successor]; 16 | return self; 17 | } 18 | 19 | - (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation 20 | { 21 | double arg; 22 | [invocation getArgument:&arg atIndex:idx]; 23 | return @(arg); 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTFloatArgumentGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTFloatArgumentGetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTArgumentGetter.h" 10 | 11 | 12 | @interface MKTFloatArgumentGetter : MKTArgumentGetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTFloatArgumentGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTFloatArgumentGetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTFloatArgumentGetter.h" 10 | 11 | @implementation MKTFloatArgumentGetter 12 | 13 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor 14 | { 15 | self = [super initWithType:@encode(float) successor:successor]; 16 | return self; 17 | } 18 | 19 | - (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation 20 | { 21 | float arg; 22 | [invocation getArgument:&arg atIndex:idx]; 23 | return @(arg); 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTIntArgumentGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTIntArgumentGetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTArgumentGetter.h" 10 | 11 | 12 | @interface MKTIntArgumentGetter : MKTArgumentGetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTIntArgumentGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTIntArgumentGetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTIntArgumentGetter.h" 10 | 11 | @implementation MKTIntArgumentGetter 12 | 13 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor 14 | { 15 | self = [super initWithType:@encode(int) successor:successor]; 16 | return self; 17 | } 18 | 19 | - (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation 20 | { 21 | int arg; 22 | [invocation getArgument:&arg atIndex:idx]; 23 | return @(arg); 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTLongArgumentGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTLongArgumentGetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTArgumentGetter.h" 10 | 11 | 12 | @interface MKTLongArgumentGetter : MKTArgumentGetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTLongArgumentGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTLongArgumentGetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTLongArgumentGetter.h" 10 | 11 | @implementation MKTLongArgumentGetter 12 | 13 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor 14 | { 15 | self = [super initWithType:@encode(long) successor:successor]; 16 | return self; 17 | } 18 | 19 | - (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation 20 | { 21 | long arg; 22 | [invocation getArgument:&arg atIndex:idx]; 23 | return @(arg); 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTLongLongArgumentGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTLongLongArgumentGetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTArgumentGetter.h" 10 | 11 | 12 | @interface MKTLongLongArgumentGetter : MKTArgumentGetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor; 15 | @end 16 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTLongLongArgumentGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTLongLongArgumentGetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTLongLongArgumentGetter.h" 10 | 11 | @implementation MKTLongLongArgumentGetter 12 | 13 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor 14 | { 15 | self = [super initWithType:@encode(long long) successor:successor]; 16 | return self; 17 | } 18 | 19 | - (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation 20 | { 21 | long long arg; 22 | [invocation getArgument:&arg atIndex:idx]; 23 | return @(arg); 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTObjectArgumentGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTObjectArgumentGetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTArgumentGetter.h" 10 | 11 | 12 | @interface MKTObjectArgumentGetter : MKTArgumentGetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTObjectArgumentGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTObjectArgumentGetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTObjectArgumentGetter.h" 10 | 11 | @implementation MKTObjectArgumentGetter 12 | 13 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor 14 | { 15 | self = [super initWithType:@encode(id) successor:successor]; 16 | return self; 17 | } 18 | 19 | - (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation 20 | { 21 | __unsafe_unretained id arg = nil; 22 | [invocation getArgument:&arg atIndex:idx]; 23 | return arg ? arg : [NSNull null]; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTPointerArgumentGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTPointerArgumentGetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTArgumentGetter.h" 10 | 11 | 12 | @interface MKTPointerArgumentGetter : MKTArgumentGetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTPointerArgumentGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTPointerArgumentGetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTPointerArgumentGetter.h" 10 | 11 | 12 | @implementation MKTPointerArgumentGetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor 15 | { 16 | self = [super initWithType:@encode(void *) successor:successor]; 17 | return self; 18 | } 19 | 20 | - (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation 21 | { 22 | void *arg; 23 | [invocation getArgument:&arg atIndex:idx]; 24 | return [NSValue valueWithPointer:arg]; 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTSelectorArgumentGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTSelectorArgumentGetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTArgumentGetter.h" 10 | 11 | 12 | @interface MKTSelectorArgumentGetter : MKTArgumentGetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTSelectorArgumentGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTSelectorArgumentGetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTSelectorArgumentGetter.h" 10 | 11 | @implementation MKTSelectorArgumentGetter 12 | 13 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor 14 | { 15 | self = [super initWithType:@encode(SEL) successor:successor]; 16 | return self; 17 | } 18 | 19 | - (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation 20 | { 21 | SEL arg = nil; 22 | [invocation getArgument:&arg atIndex:idx]; 23 | return arg ? NSStringFromSelector(arg) : [NSNull null]; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTShortArgumentGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTShortArgumentGetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTArgumentGetter.h" 10 | 11 | 12 | @interface MKTShortArgumentGetter : MKTArgumentGetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTShortArgumentGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTShortArgumentGetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTShortArgumentGetter.h" 10 | 11 | @implementation MKTShortArgumentGetter 12 | 13 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor 14 | { 15 | self = [super initWithType:@encode(short) successor:successor]; 16 | return self; 17 | } 18 | 19 | - (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation 20 | { 21 | short arg; 22 | [invocation getArgument:&arg atIndex:idx]; 23 | return @(arg); 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTStructArgumentGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTStructArgumentGetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTArgumentGetter.h" 10 | 11 | 12 | @interface MKTStructArgumentGetter : MKTArgumentGetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTStructArgumentGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTStructArgumentGetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTStructArgumentGetter.h" 10 | 11 | typedef struct {} MKTDummyStructure; 12 | 13 | 14 | @implementation MKTStructArgumentGetter 15 | 16 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor 17 | { 18 | self = [super initWithType:@encode(MKTDummyStructure) successor:successor]; 19 | return self; 20 | } 21 | 22 | - (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation 23 | { 24 | NSUInteger structSize = 0; 25 | NSGetSizeAndAlignment(type, &structSize, NULL); 26 | void *structMem = calloc(1, structSize); 27 | [invocation getArgument:structMem atIndex:idx]; 28 | id arg = [NSData dataWithBytes:structMem length:structSize]; 29 | free(structMem); 30 | return arg; 31 | } 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTUnsignedCharArgumentGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTUnsignedCharArgumentGetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTArgumentGetter.h" 10 | 11 | 12 | @interface MKTUnsignedCharArgumentGetter : MKTArgumentGetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTUnsignedCharArgumentGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTUnsignedCharArgumentGetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTUnsignedCharArgumentGetter.h" 10 | 11 | @implementation MKTUnsignedCharArgumentGetter 12 | 13 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor 14 | { 15 | self = [super initWithType:@encode(unsigned char) successor:successor]; 16 | return self; 17 | } 18 | 19 | - (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation 20 | { 21 | unsigned char arg; 22 | [invocation getArgument:&arg atIndex:idx]; 23 | return @(arg); 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTUnsignedIntArgumentGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTUnsignedIntArgumentGetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTArgumentGetter.h" 10 | 11 | 12 | @interface MKTUnsignedIntArgumentGetter : MKTArgumentGetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTUnsignedIntArgumentGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTUnsignedIntArgumentGetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTUnsignedIntArgumentGetter.h" 10 | 11 | @implementation MKTUnsignedIntArgumentGetter 12 | 13 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor 14 | { 15 | self = [super initWithType:@encode(unsigned int) successor:successor]; 16 | return self; 17 | } 18 | 19 | - (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation 20 | { 21 | unsigned int arg; 22 | [invocation getArgument:&arg atIndex:idx]; 23 | return @(arg); 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTUnsignedLongArgumentGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTUnsignedLongArgumentGetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTArgumentGetter.h" 10 | 11 | 12 | @interface MKTUnsignedLongArgumentGetter : MKTArgumentGetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTUnsignedLongArgumentGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTUnsignedLongArgumentGetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTUnsignedLongArgumentGetter.h" 10 | 11 | @implementation MKTUnsignedLongArgumentGetter 12 | 13 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor 14 | { 15 | self = [super initWithType:@encode(unsigned long) successor:successor]; 16 | return self; 17 | } 18 | 19 | - (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation 20 | { 21 | unsigned long arg; 22 | [invocation getArgument:&arg atIndex:idx]; 23 | return @(arg); 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTUnsignedLongLongArgumentGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTUnsignedLongLongArgumentGetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTArgumentGetter.h" 10 | 11 | 12 | @interface MKTUnsignedLongLongArgumentGetter : MKTArgumentGetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTUnsignedLongLongArgumentGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTUnsignedLongLongArgumentGetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTUnsignedLongLongArgumentGetter.h" 10 | 11 | @implementation MKTUnsignedLongLongArgumentGetter 12 | 13 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor 14 | { 15 | self = [super initWithType:@encode(unsigned long long) successor:successor]; 16 | return self; 17 | } 18 | 19 | - (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation 20 | { 21 | unsigned long long arg; 22 | [invocation getArgument:&arg atIndex:idx]; 23 | return @(arg); 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTUnsignedShortArgumentGetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTUnsignedShortArgumentGetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTArgumentGetter.h" 10 | 11 | 12 | @interface MKTUnsignedShortArgumentGetter : MKTArgumentGetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ArgumentGetters/MKTUnsignedShortArgumentGetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTUnsignedShortArgumentGetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTUnsignedShortArgumentGetter.h" 10 | 11 | @implementation MKTUnsignedShortArgumentGetter 12 | 13 | - (instancetype)initWithSuccessor:(MKTArgumentGetter *)successor 14 | { 15 | self = [super initWithType:@encode(unsigned short) successor:successor]; 16 | return self; 17 | } 18 | 19 | - (id)getArgumentAtIndex:(NSInteger)idx ofType:(char const *)type onInvocation:(NSInvocation *)invocation 20 | { 21 | unsigned short arg; 22 | [invocation getArgument:&arg atIndex:idx]; 23 | return @(arg); 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTBoolReturnSetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTBoolReturnSetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTReturnValueSetter.h" 10 | 11 | 12 | @interface MKTBoolReturnSetter : MKTReturnValueSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTBoolReturnSetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTBoolReturnSetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTBoolReturnSetter.h" 10 | 11 | 12 | @implementation MKTBoolReturnSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor 15 | { 16 | self = [super initWithType:@encode(BOOL) successor:successor]; 17 | return self; 18 | } 19 | 20 | - (void)setReturnValue:(id)returnValue onInvocation:(NSInvocation *)invocation 21 | { 22 | BOOL value = [returnValue boolValue]; 23 | [invocation setReturnValue:&value]; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTCharReturnSetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTCharReturnSetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTReturnValueSetter.h" 10 | 11 | 12 | @interface MKTCharReturnSetter : MKTReturnValueSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTCharReturnSetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTCharReturnSetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTCharReturnSetter.h" 10 | 11 | 12 | @implementation MKTCharReturnSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor 15 | { 16 | self = [super initWithType:@encode(char) successor:successor]; 17 | return self; 18 | } 19 | 20 | - (void)setReturnValue:(id)returnValue onInvocation:(NSInvocation *)invocation 21 | { 22 | char value = [returnValue charValue]; 23 | [invocation setReturnValue:&value]; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTClassReturnSetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTClassReturnSetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTReturnValueSetter.h" 10 | 11 | 12 | @interface MKTClassReturnSetter : MKTReturnValueSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTClassReturnSetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTClassReturnSetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTClassReturnSetter.h" 10 | 11 | 12 | @implementation MKTClassReturnSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor 15 | { 16 | self = [super initWithType:@encode(Class) successor:successor]; 17 | return self; 18 | } 19 | 20 | - (void)setReturnValue:(id)returnValue onInvocation:(NSInvocation *)invocation 21 | { 22 | __unsafe_unretained Class value = returnValue; 23 | [invocation setReturnValue:&value]; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTDoubleReturnSetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTDoubleReturnSetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTReturnValueSetter.h" 10 | 11 | 12 | @interface MKTDoubleReturnSetter : MKTReturnValueSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTDoubleReturnSetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTDoubleReturnSetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTDoubleReturnSetter.h" 10 | 11 | 12 | @implementation MKTDoubleReturnSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor 15 | { 16 | self = [super initWithType:@encode(double) successor:successor]; 17 | return self; 18 | } 19 | 20 | - (void)setReturnValue:(id)returnValue onInvocation:(NSInvocation *)invocation 21 | { 22 | double value = [returnValue doubleValue]; 23 | [invocation setReturnValue:&value]; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTFloatReturnSetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTFloatReturnSetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTReturnValueSetter.h" 10 | 11 | 12 | @interface MKTFloatReturnSetter : MKTReturnValueSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTFloatReturnSetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTFloatReturnSetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTFloatReturnSetter.h" 10 | 11 | 12 | @implementation MKTFloatReturnSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor 15 | { 16 | self = [super initWithType:@encode(float) successor:successor]; 17 | return self; 18 | } 19 | 20 | - (void)setReturnValue:(id)returnValue onInvocation:(NSInvocation *)invocation 21 | { 22 | float value = [returnValue floatValue]; 23 | [invocation setReturnValue:&value]; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTIntReturnSetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTIntReturnSetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTReturnValueSetter.h" 10 | 11 | 12 | @interface MKTIntReturnSetter : MKTReturnValueSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTIntReturnSetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTIntReturnSetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTIntReturnSetter.h" 10 | 11 | 12 | @implementation MKTIntReturnSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor 15 | { 16 | self = [super initWithType:@encode(int) successor:successor]; 17 | return self; 18 | } 19 | 20 | - (void)setReturnValue:(id)returnValue onInvocation:(NSInvocation *)invocation 21 | { 22 | int value = [returnValue intValue]; 23 | [invocation setReturnValue:&value]; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTLongLongReturnSetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTLongLongReturnSetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTReturnValueSetter.h" 10 | 11 | 12 | @interface MKTLongLongReturnSetter : MKTReturnValueSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTLongLongReturnSetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTLongLongReturnSetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTLongLongReturnSetter.h" 10 | 11 | 12 | @implementation MKTLongLongReturnSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor 15 | { 16 | self = [super initWithType:@encode(long long) successor:successor]; 17 | return self; 18 | } 19 | 20 | - (void)setReturnValue:(id)returnValue onInvocation:(NSInvocation *)invocation 21 | { 22 | long long value = [returnValue longLongValue]; 23 | [invocation setReturnValue:&value]; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTLongReturnSetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTLongReturnSetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTReturnValueSetter.h" 10 | 11 | 12 | @interface MKTLongReturnSetter : MKTReturnValueSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTLongReturnSetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTLongReturnSetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTLongReturnSetter.h" 10 | 11 | 12 | @implementation MKTLongReturnSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor 15 | { 16 | self = [super initWithType:@encode(long) successor:successor]; 17 | return self; 18 | } 19 | 20 | - (void)setReturnValue:(id)returnValue onInvocation:(NSInvocation *)invocation 21 | { 22 | long value = [returnValue longValue]; 23 | [invocation setReturnValue:&value]; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTObjectReturnSetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTObjectReturnSetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTReturnValueSetter.h" 10 | 11 | 12 | @interface MKTObjectReturnSetter : MKTReturnValueSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTObjectReturnSetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTObjectReturnSetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTObjectReturnSetter.h" 10 | 11 | 12 | @implementation MKTObjectReturnSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor 15 | { 16 | self = [super initWithType:@encode(id) successor:successor]; 17 | return self; 18 | } 19 | 20 | - (void)setReturnValue:(id)returnValue onInvocation:(NSInvocation *)invocation 21 | { 22 | __unsafe_unretained id value = returnValue; 23 | [invocation setReturnValue:&value]; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTReturnValueSetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTReturnValueSetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface MKTReturnValueSetter : NSObject 13 | 14 | - (instancetype)initWithType:(char const *)handlerType successor:(MKTReturnValueSetter *)successor; 15 | - (void)setReturnValue:(id)returnValue ofType:(char const *)type onInvocation:(NSInvocation *)invocation; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTReturnValueSetterChain.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTReturnValueSetterChain.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import 10 | 11 | @class MKTReturnValueSetter; 12 | 13 | 14 | /** 15 | Returns chain of return value handlers. 16 | */ 17 | FOUNDATION_EXPORT MKTReturnValueSetter *MKTReturnValueSetterChain(void); 18 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTShortReturnSetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTShortReturnSetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTReturnValueSetter.h" 10 | 11 | 12 | @interface MKTShortReturnSetter : MKTReturnValueSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTShortReturnSetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTShortReturnSetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTShortReturnSetter.h" 10 | 11 | 12 | @implementation MKTShortReturnSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor 15 | { 16 | self = [super initWithType:@encode(short) successor:successor]; 17 | return self; 18 | } 19 | 20 | - (void)setReturnValue:(id)returnValue onInvocation:(NSInvocation *)invocation 21 | { 22 | short value = [returnValue shortValue]; 23 | [invocation setReturnValue:&value]; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTStructReturnSetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTStructReturnSetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTReturnValueSetter.h" 10 | 11 | 12 | @interface MKTStructReturnSetter : MKTReturnValueSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTStructReturnSetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTStructReturnSetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTStructReturnSetter.h" 10 | 11 | 12 | @implementation MKTStructReturnSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor 15 | { 16 | self = [super initWithType:"{" successor:successor]; 17 | return self; 18 | } 19 | 20 | - (void)setReturnValue:(id)returnValue onInvocation:(NSInvocation *)invocation 21 | { 22 | NSMethodSignature *methodSignature = [invocation methodSignature]; 23 | NSMutableData *value = [NSMutableData dataWithLength:[methodSignature methodReturnLength]]; 24 | [returnValue getValue:[value mutableBytes]]; 25 | [invocation setReturnValue:[value mutableBytes]]; 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTUnsignedCharReturnSetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTUnsignedCharReturnSetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTReturnValueSetter.h" 10 | 11 | 12 | @interface MKTUnsignedCharReturnSetter : MKTReturnValueSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTUnsignedCharReturnSetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTUnsignedCharReturnSetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTUnsignedCharReturnSetter.h" 10 | 11 | 12 | @implementation MKTUnsignedCharReturnSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor 15 | { 16 | self = [super initWithType:@encode(unsigned char) successor:successor]; 17 | return self; 18 | } 19 | 20 | - (void)setReturnValue:(id)returnValue onInvocation:(NSInvocation *)invocation 21 | { 22 | unsigned char value = [returnValue unsignedCharValue]; 23 | [invocation setReturnValue:&value]; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTUnsignedIntReturnSetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTUnsignedIntReturnSetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTReturnValueSetter.h" 10 | 11 | 12 | @interface MKTUnsignedIntReturnSetter : MKTReturnValueSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTUnsignedIntReturnSetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTUnsignedIntReturnSetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTUnsignedIntReturnSetter.h" 10 | 11 | 12 | @implementation MKTUnsignedIntReturnSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor 15 | { 16 | self = [super initWithType:@encode(unsigned int) successor:successor]; 17 | return self; 18 | } 19 | 20 | - (void)setReturnValue:(id)returnValue onInvocation:(NSInvocation *)invocation 21 | { 22 | unsigned int value = [returnValue unsignedIntValue]; 23 | [invocation setReturnValue:&value]; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTUnsignedLongLongReturnSetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTUnsignedLongLongReturnSetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTReturnValueSetter.h" 10 | 11 | 12 | @interface MKTUnsignedLongLongReturnSetter : MKTReturnValueSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTUnsignedLongLongReturnSetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTUnsignedLongLongReturnSetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTUnsignedLongLongReturnSetter.h" 10 | 11 | 12 | @implementation MKTUnsignedLongLongReturnSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor 15 | { 16 | self = [super initWithType:@encode(unsigned long long) successor:successor]; 17 | return self; 18 | } 19 | 20 | - (void)setReturnValue:(id)returnValue onInvocation:(NSInvocation *)invocation 21 | { 22 | unsigned long long value = [returnValue unsignedLongLongValue]; 23 | [invocation setReturnValue:&value]; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTUnsignedLongReturnSetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTUnsignedLongReturnSetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTReturnValueSetter.h" 10 | 11 | 12 | @interface MKTUnsignedLongReturnSetter : MKTReturnValueSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTUnsignedLongReturnSetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTUnsignedLongReturnSetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTUnsignedLongReturnSetter.h" 10 | 11 | 12 | @implementation MKTUnsignedLongReturnSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor 15 | { 16 | self = [super initWithType:@encode(unsigned long) successor:successor]; 17 | return self; 18 | } 19 | 20 | - (void)setReturnValue:(id)returnValue onInvocation:(NSInvocation *)invocation 21 | { 22 | unsigned long value = [returnValue unsignedLongValue]; 23 | [invocation setReturnValue:&value]; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTUnsignedShortReturnSetter.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTUnsignedShortReturnSetter.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTReturnValueSetter.h" 10 | 11 | 12 | @interface MKTUnsignedShortReturnSetter : MKTReturnValueSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/Helpers/ReturnValueSetters/MKTUnsignedShortReturnSetter.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTUnsignedShortReturnSetter.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTUnsignedShortReturnSetter.h" 10 | 11 | 12 | @implementation MKTUnsignedShortReturnSetter 13 | 14 | - (instancetype)initWithSuccessor:(MKTReturnValueSetter *)successor 15 | { 16 | self = [super initWithType:@encode(unsigned short) successor:successor]; 17 | return self; 18 | } 19 | 20 | - (void)setReturnValue:(id)returnValue onInvocation:(NSInvocation *)invocation 21 | { 22 | unsigned short value = [returnValue unsignedShortValue]; 23 | [invocation setReturnValue:&value]; 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTArgumentCaptor.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTArgumentCaptor.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface MKTArgumentCaptor : NSObject 13 | 14 | - (id)capture; 15 | - (id)value; 16 | - (NSArray *)allValues; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTArgumentCaptor.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTArgumentCaptor.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTArgumentCaptor.h" 10 | 11 | #import "MKTCapturingMatcher.h" 12 | 13 | 14 | @implementation MKTArgumentCaptor 15 | { 16 | MKTCapturingMatcher *_matcher; 17 | } 18 | 19 | - (instancetype)init 20 | { 21 | self = [super init]; 22 | if (self) 23 | _matcher = [[MKTCapturingMatcher alloc] init]; 24 | return self; 25 | } 26 | 27 | - (id)capture 28 | { 29 | return _matcher; 30 | } 31 | 32 | - (id)value 33 | { 34 | return [_matcher lastValue]; 35 | } 36 | 37 | - (NSArray *)allValues 38 | { 39 | return [_matcher allValues]; 40 | } 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTAtLeastTimes.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTAtLeastTimes.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by Markus Gasser on 18.04.12. 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import 10 | #import "MKTVerificationMode.h" 11 | 12 | 13 | @interface MKTAtLeastTimes : NSObject 14 | 15 | - (instancetype)initWithMinimumCount:(NSUInteger)minimumExpectedNumberOfInvocations; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTBaseMockObject.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTBaseMockObject.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import 10 | #import "MKTPrimitiveArgumentMatching.h" 11 | 12 | 13 | @interface MKTBaseMockObject : NSProxy 14 | 15 | - (instancetype)init; 16 | - (void)reset; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTCapturingMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTCapturingMatcher.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #if TARGET_OS_MAC 10 | #import 11 | #else 12 | #import 13 | #endif 14 | 15 | 16 | @interface MKTCapturingMatcher : HCIsAnything 17 | 18 | - (void)captureArgument:(id)arg; 19 | - (NSArray *)allValues; 20 | - (id)lastValue; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTClassObjectMock.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTClassObjectMock.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | // Created by: David Hart 9 | // 10 | 11 | #import "MKTBaseMockObject.h" 12 | 13 | 14 | /** 15 | Mock object of a given class object. 16 | */ 17 | @interface MKTClassObjectMock : MKTBaseMockObject 18 | 19 | + (instancetype)mockForClass:(Class)aClass; 20 | - (instancetype)initWithClass:(Class)aClass; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTClassObjectMock.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTClassObjectMock.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: David Hart 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTClassObjectMock.h" 10 | 11 | 12 | @implementation MKTClassObjectMock 13 | { 14 | __strong Class _mockedClass; 15 | } 16 | 17 | + (instancetype)mockForClass:(Class)aClass 18 | { 19 | return [[self alloc] initWithClass:aClass]; 20 | } 21 | 22 | - (instancetype)initWithClass:(Class)aClass 23 | { 24 | self = [super init]; 25 | if (self) 26 | _mockedClass = aClass; 27 | return self; 28 | } 29 | 30 | - (NSString *)description 31 | { 32 | return [@"mock class of " stringByAppendingString:NSStringFromClass(_mockedClass)]; 33 | } 34 | 35 | - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 36 | { 37 | return [_mockedClass methodSignatureForSelector:aSelector]; 38 | } 39 | 40 | 41 | #pragma mark NSObject protocol 42 | 43 | - (BOOL)respondsToSelector:(SEL)aSelector 44 | { 45 | return [_mockedClass respondsToSelector:aSelector]; 46 | } 47 | 48 | @end 49 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTExactTimes.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTExactTimes.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import 10 | #import "MKTVerificationMode.h" 11 | 12 | 13 | @interface MKTExactTimes : NSObject 14 | 15 | - (instancetype)initWithCount:(NSUInteger)expectedNumberOfInvocations; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTInvocationContainer.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTInvocationContainer.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import 10 | 11 | @class MKTInvocationMatcher; 12 | @class MKTStubbedInvocationMatcher; 13 | @protocol HCMatcher; 14 | 15 | 16 | @interface MKTInvocationContainer : NSObject 17 | 18 | @property (nonatomic, strong, readonly) NSMutableArray *registeredInvocations; 19 | 20 | - (instancetype)init; 21 | - (void)setInvocationForPotentialStubbing:(NSInvocation *)invocation; 22 | - (void)setMatcher:(id )matcher atIndex:(NSUInteger)argumentIndex; 23 | - (void)addAnswer:(id)answer; 24 | - (MKTStubbedInvocationMatcher *)findAnswerFor:(NSInvocation *)invocation; 25 | @end 26 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTInvocationMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTInvocationMatcher.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import 10 | 11 | @protocol HCMatcher; 12 | 13 | 14 | @interface MKTInvocationMatcher : NSObject 15 | 16 | @property (nonatomic, strong) NSInvocation *expected; 17 | @property (nonatomic) NSUInteger numberOfArguments; 18 | @property (nonatomic, strong) NSMutableArray *argumentMatchers; 19 | 20 | - (instancetype)init; 21 | - (void)setMatcher:(id )matcher atIndex:(NSUInteger)index; 22 | - (NSUInteger)argumentMatchersCount; 23 | - (void)setExpectedInvocation:(NSInvocation *)expectedInvocation; 24 | - (BOOL)matches:(NSInvocation *)actual; 25 | - (void)captureArgumentsFromInvocations:(NSArray *)invocations; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTMockingProgress.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTMockingProgress.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import 10 | 11 | #import "MKTTestLocation.h" 12 | 13 | @class MKTInvocationMatcher; 14 | @class MKTOngoingStubbing; 15 | @protocol HCMatcher; 16 | @protocol MKTVerificationMode; 17 | 18 | 19 | @interface MKTMockingProgress : NSObject 20 | 21 | @property (nonatomic, assign) MKTTestLocation testLocation; 22 | 23 | + (instancetype)sharedProgress; 24 | - (void)reset; 25 | 26 | - (void)stubbingStartedAtLocation:(MKTTestLocation)location; 27 | - (void)reportOngoingStubbing:(MKTOngoingStubbing *)ongoingStubbing; 28 | - (MKTOngoingStubbing *)pullOngoingStubbing; 29 | 30 | - (void)verificationStarted:(id )mode atLocation:(MKTTestLocation)location; 31 | - (id )pullVerificationMode; 32 | 33 | - (void)setMatcher:(id )matcher forArgument:(NSUInteger)index; 34 | - (MKTInvocationMatcher *)pullInvocationMatcher; 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTMockitoCore.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTMockitoCore.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import 10 | 11 | #import "MKTTestLocation.h" 12 | 13 | @class MKTObjectMock; 14 | @class MKTOngoingStubbing; 15 | @protocol MKTVerificationMode; 16 | 17 | 18 | @interface MKTMockitoCore : NSObject 19 | 20 | + (instancetype)sharedCore; 21 | 22 | - (MKTOngoingStubbing *)stubAtLocation:(MKTTestLocation)location; 23 | 24 | - (id)verifyMock:(MKTObjectMock *)mock 25 | withMode:(id )mode 26 | atLocation:(MKTTestLocation)location; 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTObjectAndProtocolMock.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTObjectAndProtocolMock.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Kevin Lundberg 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTProtocolMock.h" 10 | 11 | 12 | /** 13 | Mock object of a given class that also implements a given protocol. 14 | */ 15 | @interface MKTObjectAndProtocolMock : MKTProtocolMock 16 | 17 | + (instancetype)mockForClass:(Class)aClass protocol:(Protocol *)protocol; 18 | - (instancetype)initWithClass:(Class)aClass protocol:(Protocol *)protocol; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTObjectMock.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTObjectMock.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTBaseMockObject.h" 10 | 11 | 12 | /** 13 | Mock object of a given class. 14 | */ 15 | @interface MKTObjectMock : MKTBaseMockObject 16 | 17 | + (instancetype)mockForClass:(Class)aClass; 18 | - (instancetype)initWithClass:(Class)aClass; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTProtocolMock.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTProtocolMock.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTBaseMockObject.h" 10 | 11 | 12 | /** 13 | Mock object implementing a given protocol. 14 | */ 15 | @interface MKTProtocolMock : MKTBaseMockObject 16 | { 17 | Protocol *_mockedProtocol; 18 | } 19 | 20 | + (instancetype)mockForProtocol:(Protocol *)aProtocol; 21 | - (instancetype)initWithProtocol:(Protocol *)aProtocol; 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTStubbedInvocationMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTStubbedInvocationMatcher.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTInvocationMatcher.h" 10 | 11 | 12 | @interface MKTStubbedInvocationMatcher : MKTInvocationMatcher 13 | 14 | @property (nonatomic, strong) id answer; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTStubbedInvocationMatcher.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTStubbedInvocationMatcher.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTInvocationMatcher.h" 10 | 11 | #import "MKTCapturingMatcher.h" 12 | #import "MKTStubbedInvocationMatcher.h" 13 | 14 | 15 | @implementation MKTStubbedInvocationMatcher 16 | @end 17 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTTestLocation.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTTestLocation.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import 10 | 11 | 12 | typedef struct 13 | { 14 | __unsafe_unretained id testCase; 15 | const char *fileName; 16 | int lineNumber; 17 | } MKTTestLocation; 18 | 19 | 20 | static inline MKTTestLocation MKTTestLocationMake(id test, const char *file, int line) 21 | { 22 | MKTTestLocation location; 23 | location.testCase = test; 24 | location.fileName = file; 25 | location.lineNumber = line; 26 | return location; 27 | } 28 | 29 | void MKTFailTest(id testCase, const char *fileName, int lineNumber, NSString *description); 30 | void MKTFailTestLocation(MKTTestLocation testLocation, NSString *description); 31 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTVerificationData.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTVerificationData.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import 10 | 11 | #import "MKTTestLocation.h" 12 | 13 | @class MKTInvocationContainer; 14 | @class MKTInvocationMatcher; 15 | 16 | 17 | @interface MKTVerificationData : NSObject 18 | 19 | @property (nonatomic, strong) MKTInvocationContainer *invocations; 20 | @property (nonatomic, strong) MKTInvocationMatcher *wanted; 21 | @property (nonatomic, assign) MKTTestLocation testLocation; 22 | 23 | - (NSUInteger)numberOfMatchingInvocations; 24 | - (void)captureArguments; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTVerificationData.m: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTVerificationData.m 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import "MKTVerificationData.h" 10 | 11 | #import "MKTInvocationContainer.h" 12 | #import "MKTInvocationMatcher.h" 13 | 14 | 15 | @implementation MKTVerificationData 16 | 17 | - (NSUInteger)numberOfMatchingInvocations 18 | { 19 | NSUInteger count = 0; 20 | for (NSInvocation *invocation in self.invocations.registeredInvocations) 21 | { 22 | if ([self.wanted matches:invocation]) 23 | ++count; 24 | } 25 | return count; 26 | } 27 | 28 | - (void)captureArguments 29 | { 30 | [self.wanted captureArgumentsFromInvocations:self.invocations.registeredInvocations]; 31 | } 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/MKTVerificationMode.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - MKTVerificationMode.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import 10 | 11 | @class MKTVerificationData; 12 | 13 | 14 | @protocol MKTVerificationMode 15 | 16 | - (void)verifyData:(MKTVerificationData *)data; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Pods/OCMockito/Source/OCMockito/NSInvocation+OCMockito.h: -------------------------------------------------------------------------------- 1 | // 2 | // OCMockito - NSInvocation+OCMockito.h 3 | // Copyright 2014 Jonathan M. Reid. See LICENSE.txt 4 | // 5 | // Created by: Jon Reid, http://qualitycoding.org/ 6 | // Source: https://github.com/jonreid/OCMockito 7 | // 8 | 9 | #import 10 | 11 | @interface NSInvocation (OCMockito) 12 | 13 | - (NSArray *)mkt_arguments; 14 | - (void)mkt_setReturnValue:(id)returnValue; 15 | - (void)mkt_retainArgumentsWithWeakTarget; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Pods/Pods-ODSAccordionViewTests-OCHamcrest-Private.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods-ODSAccordionViewTests-OCHamcrest.xcconfig" 2 | GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/OCHamcrest" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/OCHamcrest" "${PODS_ROOT}/Headers/OCMockito" "${PODS_ROOT}/Headers/TPWeakProxy" 4 | OTHER_LDFLAGS = -ObjC 5 | PODS_ROOT = ${SRCROOT} -------------------------------------------------------------------------------- /Pods/Pods-ODSAccordionViewTests-OCHamcrest-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ODSAccordionViewTests_OCHamcrest : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ODSAccordionViewTests_OCHamcrest 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Pods-ODSAccordionViewTests-OCHamcrest-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | #import "Pods-ODSAccordionViewTests-environment.h" 6 | -------------------------------------------------------------------------------- /Pods/Pods-ODSAccordionViewTests-OCHamcrest.xcconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johanneswseitz/ODSAccordionView/5afb72ed13a87408fc7971c15fc1438727b62f21/Pods/Pods-ODSAccordionViewTests-OCHamcrest.xcconfig -------------------------------------------------------------------------------- /Pods/Pods-ODSAccordionViewTests-OCMockito-Private.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods-ODSAccordionViewTests-OCMockito.xcconfig" 2 | GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/OCMockito" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/OCHamcrest" "${PODS_ROOT}/Headers/OCMockito" "${PODS_ROOT}/Headers/TPWeakProxy" 4 | OTHER_LDFLAGS = -ObjC 5 | PODS_ROOT = ${SRCROOT} -------------------------------------------------------------------------------- /Pods/Pods-ODSAccordionViewTests-OCMockito-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ODSAccordionViewTests_OCMockito : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ODSAccordionViewTests_OCMockito 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Pods-ODSAccordionViewTests-OCMockito-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | #import "Pods-ODSAccordionViewTests-environment.h" 6 | -------------------------------------------------------------------------------- /Pods/Pods-ODSAccordionViewTests-OCMockito.xcconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johanneswseitz/ODSAccordionView/5afb72ed13a87408fc7971c15fc1438727b62f21/Pods/Pods-ODSAccordionViewTests-OCMockito.xcconfig -------------------------------------------------------------------------------- /Pods/Pods-ODSAccordionViewTests-TPWeakProxy-Private.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods-ODSAccordionViewTests-TPWeakProxy.xcconfig" 2 | GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/TPWeakProxy" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/OCHamcrest" "${PODS_ROOT}/Headers/OCMockito" "${PODS_ROOT}/Headers/TPWeakProxy" 4 | OTHER_LDFLAGS = -ObjC 5 | PODS_ROOT = ${SRCROOT} -------------------------------------------------------------------------------- /Pods/Pods-ODSAccordionViewTests-TPWeakProxy-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ODSAccordionViewTests_TPWeakProxy : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ODSAccordionViewTests_TPWeakProxy 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Pods-ODSAccordionViewTests-TPWeakProxy-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | #import "Pods-ODSAccordionViewTests-environment.h" 6 | -------------------------------------------------------------------------------- /Pods/Pods-ODSAccordionViewTests-TPWeakProxy.xcconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johanneswseitz/ODSAccordionView/5afb72ed13a87408fc7971c15fc1438727b62f21/Pods/Pods-ODSAccordionViewTests-TPWeakProxy.xcconfig -------------------------------------------------------------------------------- /Pods/Pods-ODSAccordionViewTests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ODSAccordionViewTests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ODSAccordionViewTests 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Pods-ODSAccordionViewTests-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 | // OCHamcrest 10 | #define COCOAPODS_POD_AVAILABLE_OCHamcrest 11 | #define COCOAPODS_VERSION_MAJOR_OCHamcrest 4 12 | #define COCOAPODS_VERSION_MINOR_OCHamcrest 0 13 | #define COCOAPODS_VERSION_PATCH_OCHamcrest 1 14 | 15 | // OCMockito 16 | #define COCOAPODS_POD_AVAILABLE_OCMockito 17 | #define COCOAPODS_VERSION_MAJOR_OCMockito 1 18 | #define COCOAPODS_VERSION_MINOR_OCMockito 3 19 | #define COCOAPODS_VERSION_PATCH_OCMockito 0 20 | 21 | // TPWeakProxy 22 | #define COCOAPODS_POD_AVAILABLE_TPWeakProxy 23 | #define COCOAPODS_VERSION_MAJOR_TPWeakProxy 1 24 | #define COCOAPODS_VERSION_MINOR_TPWeakProxy 0 25 | #define COCOAPODS_VERSION_PATCH_TPWeakProxy 0 26 | 27 | -------------------------------------------------------------------------------- /Pods/Pods-ODSAccordionViewTests.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/OCHamcrest" "${PODS_ROOT}/Headers/OCMockito" "${PODS_ROOT}/Headers/TPWeakProxy" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers" -isystem "${PODS_ROOT}/Headers/OCHamcrest" -isystem "${PODS_ROOT}/Headers/OCMockito" -isystem "${PODS_ROOT}/Headers/TPWeakProxy" 4 | OTHER_LDFLAGS = -ObjC 5 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Pods/TPWeakProxy/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013 Tetherpad 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /Pods/TPWeakProxy/TPWeakProxy.h: -------------------------------------------------------------------------------- 1 | // 2 | // TPWeakProxy.h 3 | // TPWeakProxy 4 | // 5 | // Copyright (c) 2013 Tetherpad, Inc. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | @interface TPWeakProxy : NSProxy 11 | 12 | - (id)initWithObject:(id)object; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /Pods/TPWeakProxy/TPWeakProxy.m: -------------------------------------------------------------------------------- 1 | // 2 | // TPWeakProxy.m 3 | // TPWeakProxy 4 | // 5 | // Copyright (c) 2013 Tetherpad, Inc. All rights reserved. 6 | // 7 | 8 | #import "TPWeakProxy.h" 9 | 10 | @interface TPWeakProxy () 11 | 12 | @property (weak, nonatomic) id theObject; 13 | 14 | @end 15 | 16 | @implementation TPWeakProxy 17 | 18 | - (id)initWithObject:(id)object { 19 | // No init method in superclass 20 | self.theObject = object; 21 | return self; 22 | } 23 | 24 | - (void)forwardInvocation:(NSInvocation *)anInvocation { 25 | [anInvocation invokeWithTarget:self.theObject]; 26 | } 27 | 28 | - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector { 29 | return [self.theObject methodSignatureForSelector:aSelector]; 30 | } 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /Screenshot1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johanneswseitz/ODSAccordionView/5afb72ed13a87408fc7971c15fc1438727b62f21/Screenshot1.png -------------------------------------------------------------------------------- /Screenshot2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johanneswseitz/ODSAccordionView/5afb72ed13a87408fc7971c15fc1438727b62f21/Screenshot2.png -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- 1 | * Maybe add CI? 2 | * Colour for arrow 3 | * Hide arrow 4 | * intrinsicContentSize instead of frame.size.height -------------------------------------------------------------------------------- /Tests/ODSAccordionViewTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | de.ods-marketing.${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/ODSAccordionViewTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // ODSAccordionViewTests.m 3 | // ODSAccordionViewTests 4 | // 5 | // Created by Johannes Seitz on 17/06/14. 6 | // Copyright (c) 2014 Johannes W. Seitz. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "ODSAccordionView.h" 11 | #define HC_SHORTHAND 12 | #import 13 | 14 | @interface ODSAccordionViewTests : XCTestCase 15 | 16 | @end 17 | 18 | @implementation ODSAccordionViewTests 19 | 20 | - (void)setUp 21 | { 22 | [super setUp]; 23 | // Put setup code here. This method is called before the invocation of each test method in the class. 24 | } 25 | 26 | - (void)tearDown 27 | { 28 | // Put teardown code here. This method is called after the invocation of each test method in the class. 29 | [super tearDown]; 30 | } 31 | 32 | - (void)test_accordionViewDeterminesContentSizeByAddingHeightOfSectionView { 33 | NSArray *sections = @[]; 34 | ODSAccordionView *accordionView = [[ODSAccordionView alloc] initWithSections:sections andSectionStyle:nil]; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 0.4.4 2 | --------------------------------------------------------------------------------