Alex Rivera | Logout

Is there any data binding mechanism available for iOS?

Asked 2010-09-28T13:02:32.237
23

In .NET I just do something like DataForm.Source = Object and then magic happens. Platform routes data changes from ui fileds to object properties, does validation and so on. Can I do something similar with Cocoa Touch and CoreData objects?

Edit
Report

1 Answer

1

I use CoreDataTableViewController from the Stanford University for my TableViewControllers. It hides a lot of details that you would normally implement in your TableViewController.

Googling for CoreDataTableViewController.h and .m will help you on the road. There are versions from several courses available, the latest does ARC, the old ones don't.

For syncing labels and edit fields with an NSManagedObject, I am still looking for a good solution.

answered 2012-02-19T10:45:44.223

Your Answer