cs193p – Assignment #1 Task #1

Please note, this blog entry is from a previous course. You might want to check out the current one.

Follow the detailed instructions in the lecture slides (separate document) to build and run Matchismo in the iPhone Simulator in Xcode 5. Do not proceed to the next steps unless your card flips back and forth as expected and builds without warnings or errors.

The first part of the slides provided with lecture #2 describe the classes for task 2, followed by a detailed walk through of the demonstration from lecture #2. Follow those steps and (if you have not finished them already during the lecture) you have completed the first task of the first assignment.

The complete code is available on github.

FacebooktwitterredditpinterestlinkedintumblrmailFacebooktwitterredditpinterestlinkedintumblrmail

2 thoughts on “cs193p – Assignment #1 Task #1”

  1. Hey mate can you answer this very small question for me thanks?

    UIImage *cardImage =
    [UIImage imageNamed:@”cardback”];

    Why has cardImage not been alloc and init?

    1. imageNamed: is an instance method which returns a ready-to used UIImage object (well a pointer to it). There is no need to reserve memory and initialize it, because the instance method does that for you …

Leave a Reply

Your email address will not be published.