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

  • Home
  • SEARCH
  • 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 7582231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T18:23:09+00:00 2026-05-30T18:23:09+00:00

New developer here. I’m making my first iPhone app. The app will display a

  • 0

New developer here.

I’m making my first iPhone app. The app will display a word on screen and then a group of words associated with the first word in a list off to the side.

This requires me to store NSStrings in NSArrays, and the NSArrays in an NSDictionary.

I know that my Model should set the contents of my collection classes so that I can tell my View what words to display via my Controller, but I’m trying to figure out where/how to set the contents of my NSArray and NSDictionary.

I thought that I should make properties for the NSArrays and NSDictionary in my header file, and then set their contents in my implementation file under their respective “setters”, but it hasn’t worked so far.

Does anyone have any pointers?

Thank you!

  • 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-30T18:23:10+00:00Added an answer on May 30, 2026 at 6:23 pm

    You’d normally have all the strings, arrays and dictionaries in the model. The model will expose such getters as are necessary to allow an external actor to query that data.

    It’s the controller’s job to query that data and then push it out to the view.

    The view may communicate back to the controller if a user interaction occurs, such as a button press or a list scroll. If so then the controller will likely want to query the model again.

    So the actual owner of the data is the model. The controller and view pass ephemeral data back and forth between themselves and the controller will sometimes take data from the model and pass it to the view.

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

Sidebar

Related Questions

fairly new iPhone developer here. Building an app to send RS232 commands to a
New Android developer here. I'm following a tutorial at http://www.vogella.de/ . The first applications
I was reading the new Android Design Standards here: http://developer.android.com/design/patterns/selection.html and was wondering first
I am new iPhone developer, Can anybody suggest me what should i do here:
New push developer here. On my first function the try/catch is catching the error
Extreme Android developer newbie here...well, new to Android development, not development in general. I
Often times a developer on my team will create a new Visual Studio project
Newb RoR developer here, standing at the finish line of my first paying Rails
i am new to firefox development so i completed first 2 steps given here
New Android developer here - I'm hoping this is simple. I want to create

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.