mkim177-zz / ios_twitter

0 stars 0 forks source link

HW3 - Twitter Client #1

Open mkim177-zz opened 11 years ago

mkim177-zz commented 11 years ago

Notes:

Questions:

/cc @nesquena @timothy1ee

timothy1ee commented 11 years ago

Mark, I see that error sometimes, I believe it is a harmless error despite what it's claiming. Good job on the homework overall.

NSURL * imageURL = [NSURL URLWithString:tweet.profilePicUrl];
NSData * imageData = [NSData dataWithContentsOfURL:imageURL];
UIImage * image = [UIImage imageWithData:imageData];

[self.profileImageView setImage:image];

Instead, do this:

// #import "UIImageView+AFNetworking.h"  <-- requires this category
[self.profileImageView setImageWithURL:[NSURL URLWithString:tweet.profilePicUrl]];

The main takeaways for this homework were:

Here's my checklist of things I'm looking at when I'm reviewing this project.