In iOS Example, added call to super in -[SpotTableViewCell prepareForReuse] #91

Merged
merged 1 commit into from Oct 31, 2011

Conversation

Projects
None yet
3 participants

In the iOS Example, the SpotTableViewCell class overrides -[UITableViewCell prepareForReuse] . I wasn't familiar with that method, so I looked it up.

It appears that Apple's UITableViewCell documentation requires that super is called when overriding this method.
http://developer.apple.com/library/IOS/#documentation/UIKit/Reference/UITableViewCell_Class/Reference/Reference.html#//apple_ref/occ/instm/UITableViewCell/prepareForReuse

Not sure if it's purposefully omitted here in the example or not. If not, here's a version with the call to super added.

mattt merged commit 4285c0d into AFNetworking:master Oct 31, 2011

Contributor

mattt commented Oct 31, 2011

Yep, I just missed that call to super in my example. Thanks for your patch.

No problem, we're loving AFNetworking!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment