Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Clarifying documentation for -filterPredicate
Browse files Browse the repository at this point in the history
The summary comment and discussion comment seem to indicate opposite behaviors. The implementation seems to support the discussion behavior.

This commit re-words the summary comment to clarify the -filterPredicate behavior.
  • Loading branch information
rcarlsen committed Aug 1, 2014
1 parent e0fcded commit b761c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AFNetworkActivityLogger/AFNetworkActivityLogger.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ typedef NS_ENUM(NSUInteger, AFHTTPRequestLoggerLevel) {
@property (nonatomic, assign) AFHTTPRequestLoggerLevel level;

/**
Only log requests conforming to the specified predicate, if specified. `nil` by default.
Omit requests which match the specified predicate, if provided. `nil` by default.
@discussion Each notification has an associated `NSURLRequest`. To filter out request and response logging, such as all network activity made to a particular domain, this predicate can be set to match against the appropriate URL string pattern.
*/
Expand Down

0 comments on commit b761c6d

Please sign in to comment.