I have just started using MonoTouch and iPhone SDK. But I have en problem, where I want to create an tableView, but all examples i have found are binding the App Delegate Object to the view, but then I create me example, the App Delegate is an class inside MonoDevelop. And the problem is that I can't access the TableView controller in the appDelegate.cs file.
How do I bridge that problem? I wonder if the problem is that the example I'm using is made in xCode 3 and im using the lates xCode 4 and it is doing things another way.
Are there any guides for monotouch there shows me have to do it in XCode4. Because thats the only problem I have right now.
Start with the MonoTouch tutorials . They'll explain you on how to use XCode4 and MonoDevelop together. After that it will be much easier to learn / re-use existing samples (eg that depends on Xcode 3).
If you're looking at tables you might want to check MonoTouch.Dialog (but after the turorials ;-). The API is much easier to learn and it comes with a great sample application.
Seperate your data from your views by using a programming model like MVC, this should solve the problem.
Accessing the TableView from the AppDelegate is not a good idea.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.