We had another good session this evening. Some of us (Ed and Michael)
showed up with a reasonably complete assignment 3 submission. They
helped the rest of us work through ours.
I found the instructions to be a little misleading on Assignment 3,
interpreting them as suggesting we should hook the PolygonView
directly to the PolygonShape model (violation of MVC). I corrected
this by exposing a numberOfSidesForPolygon() function in my
Controller. However, I ended the session fighting some strange
reference errors that I currently suspect are related to circular
import statements (Controller.h imports PolygonView.h and vice
versa). I'm not positive about this, but it's what I currently think.
One notable about my implementation is that I added the PolygonView
through Interface Builder. Michael, on the other hand, added his
programatically.
Ed has updated his GitHub repo (
http://github.com/nerdEd/CS193P/tree/master
) with his completed assignment 3. Michael, are you pushing your code
up to GitHub?
It seems that two lectures per week is a good rate for us. So we'll
continue with lectures 6 and 7 and assignment 4 (labeled "Assignment-
Presence1.pdf" on the course site) for next Thursday.
-John