|
|
1.1 root 1: /*--------------------------------------------------------------------------
2: *
3: * You may freely copy, distribute, and reuse the code in this example.
4: * SHL Systemhouse disclaims any warranty of any kind, expressed or
5: * implied, as to its fitness for any particular use.
6: *
7: * Catalog
8: *
9: * Inherits From: NSObject
10: *
11: * Conforms To: None
12: *
13: * Declared In: Catalog.h
14: *
15: * Class Description
16: *
17: * Contains author information with titles and publishing information.
18: * Demonstrates the KeyValueCoding protocol.
19: *
20: *------------------------------------------------------------------------*/
21: #import <appkit/appkit.h>
22: #import <eointerface/eointerface.h>
23: #import <eoaccess/eoaccess.h>
24: #import <foundation/NSObject.h>
25: #import <foundation/NSArray.h>
26: #import <foundation/NSDictionary.h>
27:
28: @interface Catalog:NSObject
29: {
30: id fullname;
31: id price;
32: id volumeTitle;
33: }
34:
35: /*--------------------------------------------------------------------------
36: * Accessor methods
37: *------------------------------------------------------------------------*/
38: - authorName;
39: - volumeTitle;
40: - price;
41:
42: - setPrice: aPrice;
43:
44:
45: /*--------------------------------------------------------------------------
46: * Key Value Coding protocol
47: *------------------------------------------------------------------------*/
48: - (BOOL)takeValuesFromDictionary:(NSDictionary *)dictionary;
49: - (NSDictionary *)valuesForKeys:(NSArray *)keys;
50:
51:
52: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.