Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7628811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:40:08+00:00 2026-05-31T05:40:08+00:00

I am taking the standard iOS development course CS193P . In Assignment 3 I

  • 0

I am taking the standard iOS development course CS193P.

In Assignment 3 I was asked to build a Graphing MVC and combine with the Calculator MVC using NavigationController. The problem is, that I do not know, what should be the Model of the Graph MVC?

The hint of the assignment says:

Your new Controller (the graphing one) is just like any other MVC
Controller: it’s going to want to have a Model (what is the Model for
this new Controller, do you think?) and outlets into its View. Before
you go on to do anything else in this assignment, add a @property to
this Controller for its Model (if you proceed without really
understanding what this Controller’s Model is, you might have trouble
implementing the rest of the assignment). Don’t get this Controller’s
Model confused with your CalculatorViewController’s Model. THEY ARE
DIFFERENT. And don’t over-think this. Your new Controller’s Model is
near at hand!

So the model cannot be the id program? What should the model be?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T05:40:10+00:00Added an answer on May 31, 2026 at 5:40 am

    Think about what the graph view controller does: it takes an expression in terms of x, and graphs the value of that expression (y) for each value of x. So what is the data that the graph view controller needs in order to do its task? It needs an expression.

    The model for the graph MVC is just an expression.

    Your graph view MVC will also need access to a calculator brain method (probably a class method, not an instance method) in order to calculate the value of the expression given a value of x, so you could argue that that’s part of the model too, although that’s not what Paul was getting at.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Ant script running a standard -task after taking in an inputed
I'm a C# developer taking my first steps in Windows Mobile development. I've installed
I am taking a software engineering class right now. Our assignment is to evaluate
I'm taking a course in software project management and right now I'm writting a
I'm taking an operating systems course and I'm having a hard time how input
Hi I am taking print as Landscape in javascript, as there was no standard
I'm taking a picture of my screen and manipulating it by using UIGraphicsGetImageFromCurrentImageContext() .
I am taking this tutorial. As you can see on this image, the standard
In a web application already using django.contrib.auth for authentication, I'm looking for the standard
Is this really the expected behavior? I'm using the standard T4 POCO templates (but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.