erichowens / Yelp

0 stars 0 forks source link

Turning in Homework #2 #1

Open erichowens opened 9 years ago

erichowens commented 9 years ago

Hey, @codepathreview! Here's homework number two.

This made me a lot more comfortable with delegates and auto-layout. Also appreciated the initial video walkthrough segmenting the code so cleanly between Model, View, and Controller, as well as API code.

What left me scratching my head the most here was getting the filter page to look anything like the mock. I could figure out "sections" between the deal switch and the category switch, and I could even get a crude version of collapsing working (change number of rowsInSection based on what was recently clicked). But I couldn't understand how to get UIPickerViews as cells in the tableView or all of that to interact nicely.

codepathreview commented 9 years ago

Hi Eric,

:+1: nice work. The primary challenge of this homework was to learn how to use UITableView to manage a complex form, establish communication between view controllers, and apply the correct Auto Layout constraints. A few notes after checking out the code:

Make sure to include the project.xcodeproj for next assignments. This was a challenging assignment, congrats on completing it successfully!