Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
The problem with bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The problem with bindings



I'm no bindings layer expert, but the little time I have spent using them, I have found them quite difficult to grasp. Much more so than the outlet-target approach.

I usually find that if things go well with bindings, I really can save that '300 lines of code' that everyone talks about, but when things go wrong, I can spend hours tracking down the problems, effectively negating any benefit I may have gained. Furthermore, easy things, like populating a table view with values, are well documented, and can be achieved very efficiently with bindings. But try to go a bit deeper, and do something not in the manual, and it requires a considerable commitment.

Basically, it comes down to this: bindings are very hard to debug. You can't set a breakpoint, so you are left guessing at what is happening based on an obscure error message from an exception thrown deep in the Cocoa frameworks. Anyone else have this problem?

Drew

---------------------------------------------------------
Drew McCormack

www.maniacalextent.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.