| 1 |
typedef struct objc_object {} *id; |
| 2 |
typedef struct _NSZone NSZone; |
| 3 |
@class NSCoder; |
| 4 |
@protocol NSObject - (Class) class; |
| 5 |
@end @protocol NSCopying - (id) copyWithZone: (NSZone*)zone; |
| 6 |
@end @protocol NSMutableCopying - (id) mutableCopyWithZone: (NSZone*)zone; |
| 7 |
@end @protocol NSCoding - (void) encodeWithCoder: (NSCoder*)aCoder; |
| 8 |
@end @interface NSObject <NSObject> {} |
| 9 |
@end typedef double NSTimeInterval; |
| 10 |
@interface NSString :NSObject <NSCoding, NSCopying, NSMutableCopying> + (id) string; |
| 11 |
@end @interface NSConstantString : NSString {} |
| 12 |
@end @class NSMutableArray, NSMutableDictionary, NSMutableData, NSData, NSString; |
| 13 |
@interface NSBundle : NSObject {} |
| 14 |
enum { NSMixedState = -1, NSOffState = 0, NSOnState = 1 }; |
| 15 |
@end @class NSWindow; |
| 16 |
@interface IBInspector : NSObject { id object; } |
| 17 |
@end @interface GormScrollViewAttributesInspector : IBInspector { id verticalScroll; id horizontalScroll; } |
| 18 |
@end @implementation GormScrollViewAttributesInspector - init {} |
| 19 |
- (void) verticalSelected: (id)sender { [super ok: sender]; [object setHasVerticalScroller: ([verticalScroll state] == NSOnState)]; } |
| 20 |
- (void) horizontalSelected: (id)sender { [super ok: sender]; [object setHasHorizontalScroller: ([horizontalScroll state] == NSOnState)]; } |