Return the value to a pop up window
Return the value to a pop up window
- Subject: Return the value to a pop up window
- From: Cocoa <email@hidden>
- Date: Tue, 18 Mar 2008 02:00:06 +1300
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 (email@hidden)
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:
This email sent to email@hidden