Open avo1 opened 8 years ago
@avo1 thats last code, you can check out and run pod install
to generate the workspace project on your side. I dont want to commit some configuration files that could be generated in the development side, ex: the workspace can be generated using pod install
. Github repo should contains source code only.
The name Instagram is not correct bc i reused the code practiced in the lab. ^
Hi a, agree with you that Pods should not be committed. I notice in your git ignore, you also ignore *.xcodeproj
. This xcodeproj
is required to do pod init
and pod install
. Can you pls push that file?
By the way, this is a good template for gitignore for Swift project
yep, push it already
:+1: Nice work. The point of this homework was to explore a simple example of a full MVC application with a RESTful API. You learned about UITableViews, custom UITableViewCells, navigation from a UITableView, and basic networking.
Movie
model. In future homework, we will cover how to implement models that can deserialize from an NSDictionary. SwiftyJSON is a useful project for making it easier to deserialize the JSON response. For a more robust solution, you can also investigate using an ORM like Pistachio. movie
instance.UIContentMode
of the UIImageView
. By default, it will stretch the image to match your dimensions, which is probably not what you want. func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
tableView.deselectRowAtIndexPath(indexPath, animated: true)
}
Homework is the core part of this class. Through the homework assignments you'll create real apps that you should be proud to show anybody. The more time you spend, the better your portfolio will be and the more you will learn. Try to spend a little more time next week!
Hi a. Phuong, it looks like you didn't push your latest code to your repo. And I'm a little bit confused as there's a folder named 'Instagram' in your repo. Is this the lab, or the assignment? Can you help to check and update your repo?
Thanks, Dave