Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3130 from AFNetworking/fix/2810
Browse files Browse the repository at this point in the history
Fixed swift interop issue with throws and Request/Response serialization
  • Loading branch information
kcharwood committed Nov 6, 2015
2 parents 406057a + aa81eb4 commit 9f2c8b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AFNetworking/AFURLRequestSerialization.h
Expand Up @@ -46,7 +46,7 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (nullable NSURLRequest *)requestBySerializingRequest:(NSURLRequest *)request
withParameters:(nullable id)parameters
error:(NSError * __nullable __autoreleasing *)error;
error:(NSError * __nullable __autoreleasing *)error NS_SWIFT_NOTHROW;

@end

Expand Down
2 changes: 1 addition & 1 deletion AFNetworking/AFURLResponseSerialization.h
Expand Up @@ -42,7 +42,7 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (nullable id)responseObjectForResponse:(nullable NSURLResponse *)response
data:(nullable NSData *)data
error:(NSError * __nullable __autoreleasing *)error;
error:(NSError * __nullable __autoreleasing *)error NS_SWIFT_NOTHROW;

@end

Expand Down

0 comments on commit 9f2c8b8

Please sign in to comment.