Browse files

Merge pull request #283 from steipete/remove-unneeded-kvo-calls

Remove obsolete manual KVO will/did change calls.
  • Loading branch information...
2 parents 6923e31 + ed4c558 commit c5c29e31a8f46e0fdcd3db33e983845651668c8c @mattt mattt committed Apr 8, 2012
Showing with 0 additions and 4 deletions.
  1. +0 −2 AFNetworking/AFImageRequestOperation.m
  2. +0 −2 iOS Example/Classes/Views/TweetTableViewCell.m
View
2 AFNetworking/AFImageRequestOperation.m
@@ -170,9 +170,7 @@ - (void)setImageScale:(CGFloat)imageScale {
return;
}
- [self willChangeValueForKey:@"imageScale"];
_imageScale = imageScale;
- [self didChangeValueForKey:@"imageScale"];
self.responseImage = nil;
}
View
2 iOS Example/Classes/Views/TweetTableViewCell.m
@@ -50,9 +50,7 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
}
- (void)setTweet:(Tweet *)tweet {
- [self willChangeValueForKey:@"tweet"];
_tweet = tweet;
- [self didChangeValueForKey:@"tweet"];
self.textLabel.text = _tweet.user.username;
self.detailTextLabel.text = _tweet.text;

0 comments on commit c5c29e3

Please sign in to comment.