From edebae2de672c0651a1f964dbcd806a34a70f5b2 Mon Sep 17 00:00:00 2001 From: Mattt Thompson Date: Sun, 24 Mar 2013 01:42:50 -0400 Subject: [PATCH] Replacing getter method definition with readonly property --- AFNetworking/AFHTTPClient.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/AFNetworking/AFHTTPClient.m b/AFNetworking/AFHTTPClient.m index b915d6f..d4c4042 100644 --- a/AFNetworking/AFHTTPClient.m +++ b/AFNetworking/AFHTTPClient.m @@ -780,14 +780,13 @@ NSTimeInterval const kAFUploadStream3GSuggestedDelay = 0.2; @interface AFMultipartBodyStreamProvider : NSObject @property (nonatomic, assign) NSUInteger bufferLength; @property (nonatomic, assign) NSTimeInterval delay; +@property (nonatomic, readonly) NSInputStream *inputStream; @property (nonatomic, readonly) unsigned long long contentLength; @property (nonatomic, readonly, getter = isEmpty) BOOL empty; - (id)initWithStringEncoding:(NSStringEncoding)encoding; - (void)setInitialAndFinalBoundaries; - (void)appendHTTPBodyPart:(AFHTTPBodyPart *)bodyPart; - -- (NSInputStream *)inputStream; @end #pragma mark -