Files
MonsterCards/Pods/OCHamcrest/Source/Core/HCStringDescription.h
Tom Hicks bab5a55c3b Adds cocoapods for libraries.
Adds OCMockito and OCHamcrest libs.
2020-09-05 22:06:51 -07:00

37 lines
841 B
Objective-C

// OCHamcrest by Jon Reid, https://qualitycoding.org/
// Copyright 2019 hamcrest.org. See LICENSE.txt
#import <OCHamcrest/HCBaseDescription.h>
@protocol HCSelfDescribing;
NS_ASSUME_NONNULL_BEGIN
/*!
* @abstract An HCDescription that is stored as a string.
*/
@interface HCStringDescription : HCBaseDescription
/*!
* @abstract Returns the description of an HCSelfDescribing object as a string.
* @param selfDescribing The object to be described.
* @return The description of the object.
*/
+ (NSString *)stringFrom:(id <HCSelfDescribing>)selfDescribing;
/*!
* @abstract Creates and returns an empty description.
*/
+ (instancetype)stringDescription;
/*!
* @abstract Initializes a newly allocated HCStringDescription that is initially empty.
*/
- (instancetype)init NS_DESIGNATED_INITIALIZER;
@end
NS_ASSUME_NONNULL_END