Code Monkey home page Code Monkey logo

assignment3's Introduction

Assignment3

Due Beginning of Class Feb 11, 2014

Follow the instructions in the slides from 1/23 and 1/28 to create a Vegetable superclass. Then make Potato, Pumpkin and Onion subclasses.

  1. Go to http://github.com/vpalat

  2. Fork the repo “Assignment 2” and clone it to your machine – this is the app we created in class on 1/28.

  3. Click on Assignment 2.xcodeproj to open Xcode. (If Xcode isn’t installed on your machine talk to the Lab Admins or go to : https://developer.apple.com/xcode/ for instructions on how

  4. Take a look at the Fruit.m/Fruit.h files (and the Apple subclasses) that we made and use those as a base to create classes of Vegetables (same properties: Name, Shape, Color).

  5. In the ViewController.m file replace all types of Fruit with Vegetable.

  6. Init and Add a Potato, an Onion, and a Pumpkin to the cart.

  7. Run your app.

  8. In the “iOS Simulator” that pops up, take a screenshot (Command+S) – this will save the screenshot to the desktop.

  9. Add that into your project by dragging it into the XCode window.

  10. Use git to add/commit/push your changes back to your github repo.

*Please let me know immediately if there is any trouble cloning the repo. I will be happy to provide you with a link to a zip file and we can coordinate submission.

assignment3's People

Contributors

pcwitz avatar vpalat avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.