• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
BINDINGS TUTORIAL FAQ: PLEASE READ
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Trouble with Currency Converter (with bindings) tutorial (From: Mike Zornek <email@hidden>)

  • Prev by Date: Re: New Perl in Panther
  • Next by Date: Re: no fixed variable parameter preceding a variable ... parameter?
  • Previous by thread: Trouble with Currency Converter (with bindings) tutorial
  • Next by thread: Problems with 10.1
  • Index(es):
    • Date
    • Thread