Skip navigation

Multi-MVC projects

285 Views 1 Reply Latest reply: Jun 30, 2012 10:48 AM by Llessur999 RSS
mark133 Level 1 Level 1 (55 points)
Currently Being Moderated
Jun 27, 2012 9:46 PM

So it looks to me like Cocoa is set up very well to make one MVC application per project, with one window, one controller, and one model per group?

 

And then multiple projects or other resources are linked together or else bound together through messaging, a controller, or else through a script, if key-encoded?

 

Or should the multiple Applications (each composed of one MVC group) be stored within the same project?

iMac
  • Llessur999 Level 4 Level 4 (1,145 points)
    Currently Being Moderated
    Jun 30, 2012 10:48 AM (in response to mark133)

    Depends on what you are trying to accomplish and how you are planning to deploy.

     

    Cocoa applications are not restricted to a single controller or model. For example, a storyboard can contain multiple navigation controllers, each with multiple view controllers. Each controller is essentially a separate MVC implementation. They can share the same model or each have their own model.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.