cocoa3 <MAC OSX and Cocoa Touch> Class 11th~18th. 2010. 9. 10. <MAC OSX and Cocoa Touch> Class 1st~10th 2010. 9. 10. 코코아 어플리케이션 데모 테스트 #import @interface Converter : NSObject { float sourceCurrencyAmount; float rate; // sourceCurrencyAmount, rate 라는 object를 선언해주었습니다. 창 상에서는 Exchange rate per 1$, Dollars to Convert를 뜻하게 됩니다. } @property(readwrite) float sourceCurrencyAmount, rate; - (float)convertCurrency; // return되는 반환값(즉 결과값)을 object로 선언해주었습니다. 창에서는 Amount in other Corrency를 뜻하게 됩니다. @end #import "Converter.h" @implementation.. 2010. 8. 30. 이전 1 다음