Open codeashcode opened 9 years ago
Ashok, please implement the network error story before class. It's pretty easy, in the network request, just check if error is non-nil. If it is, just unhide the error view. The error view is just a label embedded in a view. In the refresh method, if the network request succeeds, hide the error view.
Good job! The point of this homework was to explore a simple example of a full MVC application with a RESTful API. When I'm auditing the code, I use the checklist below. If you didn't do one of the items below, you should consider implementing it.
In general, you should challenge yourself to create visually polished applications. That's where you'll find all the rough edges of the iOS framework and earn the next level of mastery.
/cc @timothy1ee - I created UIIMageview (for icon) and UILabel for 'Network error'. But I don't know why it is not coming upon tableView.
My idea is to keep it in case of network error and remove it in case of 'no error' case.
Pl review basic rotten tomato app. I am missing showing network error (required user story) as part of this submission.
I didn't get time to attempt any optional story yet.
/cc @codepathreview