mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-29 09:01:05 +00:00
33 lines
756 B
Objective-C
33 lines
756 B
Objective-C
//
|
|
// OCHamcrest - HCSelfDescribing.h
|
|
// Copyright 2013 hamcrest.org. See LICENSE.txt
|
|
//
|
|
// Created by: Jon Reid, http://qualitycoding.org/
|
|
// Docs: http://hamcrest.github.com/OCHamcrest/
|
|
// Source: https://github.com/hamcrest/OCHamcrest
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#import "HCDescription.h"
|
|
|
|
|
|
/**
|
|
The ability of an object to describe itself.
|
|
|
|
@ingroup core
|
|
*/
|
|
@protocol HCSelfDescribing <NSObject>
|
|
|
|
/**
|
|
Generates a description of the object.
|
|
|
|
The description may be part of a description of a larger object of which this is just a
|
|
component, so it should be worded appropriately.
|
|
|
|
@param description The description to be built or appended to.
|
|
*/
|
|
- (void)describeTo:(id<HCDescription>)description;
|
|
|
|
@end
|