Permalink
Browse files

Ignores arc-performSelector-leaks messages.

  • Loading branch information...
1 parent c64bca4 commit b98f7f38f9fbeeaa2e17d51c6887202026f9ed2a Igor Sutton Lopes committed Jul 31, 2012
Showing with 10 additions and 0 deletions.
  1. +5 −0 TKPostsRequest.m
  2. +5 −0 TKTumblr.m
View
@@ -54,6 +54,9 @@ - (void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName names
}
}
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Warc-performSelector-leaks"
+
- (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string;
{
static NSDictionary *elementToSelectorDict = nil;
@@ -75,6 +78,8 @@ - (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string;
}
}
+#pragma clang diagnostic pop
+
- (void)parserDidEndDocument:(NSXMLParser *)parser;
{
_currentPost = nil;
View
@@ -186,6 +186,9 @@ - (void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName names
}
}
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Warc-performSelector-leaks"
+
- (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string
{
static NSDictionary *elementToSelectorDict = nil;
@@ -207,6 +210,8 @@ - (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string
}
}
+#pragma clang diagnostic pop
+
#pragma mark TKTumblrDelegate
- (void)tumblrDidReceivePost:(TKPost *)thePost withDomain:(NSString *)theDomain

0 comments on commit b98f7f3

Please sign in to comment.