Open quangbuule opened 8 years ago
/cc @coderschoolreview
Wow. This is probably the best submission I have ever seen. Very good job. :bow: :clap: .
There are a few bugs / areas for improvement, though! One thing you'll quickly learn is the more features you add, the more complicated things can get. =)
I see the Man From Uncle twice after the infinite scroll:
Strangely this only happens on the first infinite scroll. I wonder if it's because of this:
func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return movieCollection.count + 1
}
In the "Top Rated" tab, this crashes:
Is there a reason you subclassed UITableView instead of just:
tableView.backgroundColor = colors["primaryBackgroundColor"]
tableView.separatorColor = colors["borderColor"]
Usability/Design Bug: If I execute a search, it's a little non obvious to get back to "Popular" from "Search". Suggestion is clicking the x
should reset back to the original list? Right now I figured out that I have to do a search on an empty box.
Small design feedback: Maybe the low rated movie label should be red instead of green? Green usually means good. ;)
You have this ProgressHUD
which I don't think you use.
Really nice encapsulation with all the code. Some of the cleanest stuff I've ever seen. Very well done! :tada:
Is there a reason you subclassed UITableView instead of just:
tableView.backgroundColor = colors["primaryBackgroundColor"] tableView.separatorColor = colors["borderColor"]
No, just colors :D. but this shouldn't be done in the controller. Same as MovieCollectionView. In my mind: Rendering view should on a ViewClass, ViewController handle interaction (user events, computer events)
Usability/Design Bug: If I execute a search, it's a little non obvious to get back to "Popular" from "Search". Suggestion is clicking the x should reset back to the original list? Right now I figured out that I have to do a search on an empty box.
Yeah, it's obviously non obvious. But (x) button is mean clear the text box (maybe for another search). There must be another way like another button, another Tab for searching movies (I have thought about this way but would be time wasting)
You have this ProgressHUD which I don't think you use.
At first I wanted to use it in detail view (you will notice that I load some more small data in detail view). But showing HUD while loading very small things is make user feel slowness. So I give it up, I forget about Podfile.
You searched my name? I haven't done any movie yet lol
Two "The Man from U.N.C.L.E.". It's themoviedb false, not mine. Check it out:
Btw, thanks for reviewing my assignment. I'll try my best on this week assignment.
Top Rated crashed because old movies don't have release date field (in themoviedb) which I assumed that they should have. TopRated movies is random everyday, you know, many films have 10.0 point.
Hi @chug2k,
I pushed the assignment, please review my project.
Thanks