Skip to content

Commit

Permalink
Merge #79 (thx @samirGuerdah)
Browse files Browse the repository at this point in the history
  • Loading branch information
AliSoftware committed Dec 16, 2014
2 parents 6626704 + 969f0d2 commit 677f7a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OHHTTPStubs/Sources/OHHTTPStubsResponse.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ OHHTTPStubsDownloadSpeedWifi;
-(instancetype)initWithInputStream:(NSInputStream*)inputStream
dataSize:(unsigned long long)dataSize
statusCode:(int)statusCode
headers:(NSDictionary*)httpHeaders;
headers:(NSDictionary*)httpHeaders NS_DESIGNATED_INITIALIZER;


/*! Initialize a response with a given file path, statusCode and headers.
Expand Down Expand Up @@ -214,6 +214,6 @@ OHHTTPStubsDownloadSpeedWifi;
@return An `OHHTTPStubsResponse` describing the corresponding response to return by the stub
@note For example you could use an error like `[NSError errorWithDomain:NSURLErrorDomain code:kCFURLErrorNotConnectedToInternet userInfo:nil]`
*/
-(instancetype)initWithError:(NSError*)error;
-(instancetype)initWithError:(NSError*)error NS_DESIGNATED_INITIALIZER;

@end

0 comments on commit 677f7a6

Please sign in to comment.