Skip to content

Commit 6d64ea1

Browse files
committed
[Issue #888] Fixing property attribution build warning in AFHTTPClient body stream provider
1 parent 48398eb commit 6d64ea1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

AFNetworking/AFHTTPClient.m

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ @interface AFHTTPBodyPart : NSObject
761761
@property (nonatomic, strong) NSDictionary *headers;
762762
@property (nonatomic, strong) id body;
763763
@property (nonatomic, assign) unsigned long long bodyContentLength;
764-
@property (nonatomic, readonly) NSInputStream *inputStream;
764+
@property (nonatomic, strong) NSInputStream *inputStream;
765765

766766
@property (nonatomic, assign) BOOL hasInitialBoundary;
767767
@property (nonatomic, assign) BOOL hasFinalBoundary;
@@ -776,7 +776,7 @@ - (NSInteger)read:(uint8_t *)buffer
776776
@interface AFMultipartBodyStreamProvider : NSObject
777777
@property (nonatomic, assign) NSUInteger bufferLength;
778778
@property (nonatomic, assign) NSTimeInterval delay;
779-
@property (nonatomic, readonly) NSInputStream *inputStream;
779+
@property (nonatomic, strong) NSInputStream *inputStream;
780780
@property (nonatomic, readonly) unsigned long long contentLength;
781781
@property (nonatomic, readonly, getter = isEmpty) BOOL empty;
782782

@@ -968,7 +968,6 @@ @interface AFMultipartBodyStreamProvider () <NSCopying, NSStreamDelegate>
968968
@property (nonatomic, strong) NSMutableArray *HTTPBodyParts;
969969
@property (nonatomic, strong) NSEnumerator *HTTPBodyPartEnumerator;
970970
@property (nonatomic, strong) AFHTTPBodyPart *currentHTTPBodyPart;
971-
@property (nonatomic, strong) NSInputStream *inputStream;
972971
@property (nonatomic, strong) NSOutputStream *outputStream;
973972
@property (nonatomic, strong) NSMutableData *buffer;
974973
@end

0 commit comments

Comments
 (0)