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 8592221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:42:15+00:00 2026-06-11T23:42:15+00:00

I come from a Web Development background. I am having trouble understanding how a

  • 0

I come from a Web Development background. I am having trouble understanding how a model is to be used in iOS development.

A model in Web Development is a separate file that Controller files access with functions such as getMysqlQueryOf(stuff);

Does iOS development use the same thing? Should I be creating a MyModel.h and MyModel.m file and including/importing this in all of my View Controllers and accessing the methods inside the model class like that?

Can you show a simple example of a Model class and how it would be accessed from a View Controller?

  • 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-06-11T23:42:16+00:00Added an answer on June 11, 2026 at 11:42 pm

    In my iOS experiance, UIViewControllers tend to act as islands unto themselves. The wrong approach is to put everything you would put into a model into the delegate class instead. I think your idea of a “Model” is spot on. I would create a someModel.m and a header file and give every class that needs the model a pointer to it and initialize the core model in the delegate.

    IMO, iOS data flow leaves something to be desired.

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

Sidebar

Related Questions

Though I come from a purely PHP background on the web development side of
I come from a web development background and haven't done anything significant in Java
I come from a web-development background. I've been playing around with a bit of
I come from a networking background and I'm fairly new to web development but
I come from a .NET background and need to do a web project in
I come from a web background where I only have to deal with HTTP
Im new to iPhone development. I come from web-development/design and what bothers me in
Quite embarassing issue, though i come from web development and rarely have to deal
I am building a Web Application using asp.net (C#). I come from windows forms
I come from a Java background and am getting more into .NET, what are

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.