public
Clone URL: git://github.com/defunkt/currency_converter.git
Search Repo:
currency_converter / Converter.h
100644 21 lines (17 sloc) 0.448 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//
// Converter.h
// Currency Converter
//
// Created by Chris Wanstrath on 4/22/08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
 
#import <Cocoa/Cocoa.h>
 
 
@interface Converter : NSObject {
    float sourceCurrencyAmount, rate;
    NSString* symbol;
}
 
@property(readwrite) float sourceCurrencyAmount, rate;
@property(readwrite, retain) NSString* symbol;
- (float)convertCurrency;
- (void)setCurrency:(NSString*)currency;
@end