tag:blogger.com,1999:blog-3458247764774806260.post6388702686307165553..comments2023-10-25T00:03:09.849-10:00Comments on Freelance Mad Science: Where does the model go in iPhone MVC Apps?Richhttp://www.blogger.com/profile/04243458955367448042noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-3458247764774806260.post-70551301401671084302009-10-28T05:45:27.377-10:002009-10-28T05:45:27.377-10:00Try using singleton pattern on model class, then y...Try using singleton pattern on model class, then you can access the model from any view controller class without reinstantiate it.Anonymoushttps://www.blogger.com/profile/12969954266078779317noreply@blogger.comtag:blogger.com,1999:blog-3458247764774806260.post-84119434991427144932009-01-28T05:34:00.000-10:002009-01-28T05:34:00.000-10:00Just #import "Model.h" in your MainViewController ...Just #import "Model.h" in your MainViewController implementation.<BR/><BR/>The application works well as described.Anonymoushttps://www.blogger.com/profile/03448483555462289245noreply@blogger.comtag:blogger.com,1999:blog-3458247764774806260.post-14306736868279292652009-01-24T04:09:00.000-10:002009-01-24T04:09:00.000-10:00Is this by any chance related to the iPhone app in...Is this by any chance related to the iPhone app in the Dec issue of MacTech? I am getting nowhere with the "model" in the viewDidLoad function of the MainViewController.m.<BR/><BR/>The system simply continues to tell me that "Model" and "model" are undeclared.Scott Uhttps://www.blogger.com/profile/05218707038561022692noreply@blogger.com