BINDINGS TUTORIAL FAQ: PLEASE READ
BINDINGS TUTORIAL FAQ: PLEASE READ
- Subject: BINDINGS TUTORIAL FAQ: PLEASE READ
- From: mmalcolm crawford <email@hidden>
- Date: Sat, 25 Oct 2003 23:36:45 -0700
(In the hopes of preventing this from becoming a FAQ -- no offence or
criticism implied towards Mike.)
On Oct 25, 2003, at 8:33 PM, Mike Zornek wrote:
I'm following along with this tutorial:
file:///Developer/Documentation/Cocoa/Conceptual/ControllerLayer/
Tasks/ccwit
hbindings.html
.. But am having trouble. I've read through and created the application
twice, get no compile errors, yet it doesn't work as expected (the
amount in
other currency is never gets calculated).
Please everyone who is interested in the new controller layer materials
note:
The on-disk version of the tutorial omits an important step which is
contained in the on-line version. Please user the latter:
<
http://developer.apple.com/documentation/Cocoa/Conceptual/
ControllerLayer/index.html>
The step is implementation of the Converters initialize method:
+ (void)initialize {
[Converter setKeys:
[NSArray arrayWithObjects:@"dollarsToConvert", @"exchangeRate",
nil]
triggerChangeNotificationsForDependentKey:@"amountInOtherCurrency"];
}
mmalc
_______________________________________________
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.