Skip to content
This repository has been archived by the owner on Jun 2, 2018. It is now read-only.

Small compiling issue in NSURLConnection+BlockKit #31

Closed
ghost opened this issue Sep 19, 2011 · 0 comments
Closed

Small compiling issue in NSURLConnection+BlockKit #31

ghost opened this issue Sep 19, 2011 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 19, 2011

NSAssert should be NSAssert1 I guess:

diff --git a/BlocksKit/NSURLConnection+BlocksKit.m b/BlocksKit/NSURLConnection+B
index 90c68da..0dd5ba8 100644
--- a/BlocksKit/NSURLConnection+BlocksKit.m
+++ b/BlocksKit/NSURLConnection+BlocksKit.m
@@ -188,7 +188,7 @@ static char *kDownloadProgressHandlerKey = "NSURLConnectionD

  • (BOOL)isBlockBased {
    NSNumber *value = [self associatedValueForKey:kIsBlockBackedKey];
    • NSAssert(value && [value boolValue], @"Block-backed NSURLConnection methods
    • NSAssert1(value && [value boolValue], @"Block-backed NSURLConnection method
      return [value boolValue];
      }
@ghost ghost closed this as completed Sep 19, 2011
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants