I am trying to sodosomething more than the tutorial - Objective-C tutorial.pdf

It's a Currency Converter application

the part of the code is below:

float amount;
        converter = [[Converter alloc]init];
        [converter setSourceCurrencyAmount:[dollarField floatValue]];
        [converter setRate:[rateField floatValue]];
        amount= [converter convertCurrency];

        [amountField setFloatValue:amount];
        [rateField selectText:self];


amountField is a NSTextField, amount is a (float) returning answer.

Can I declare a NSWindow in IB and build a connection from it to the action?


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to