Skip to content

Commit

Permalink
[pyke369#10] Synthesize NSInputStream delegate property to avoid exce…
Browse files Browse the repository at this point in the history
…ptions

when using PKMultipartInputStream as body stream for NSURLSessionUploadTask.
  • Loading branch information
Dominik Kapusta committed Nov 3, 2015
1 parent cbeca5b commit edef174
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PKMultipartInputStream.m
Expand Up @@ -138,6 +138,7 @@ @interface PKMultipartInputStream()
@end

@implementation PKMultipartInputStream
@synthesize delegate;
- (void)updateLength
{
self.length = self.footer.length + [[self.parts valueForKeyPath:@"@sum.length"] unsignedIntegerValue];
Expand Down

0 comments on commit edef174

Please sign in to comment.