Files
cappuccino/Tests/Manual/UserlandNSTest/NS_BorderView.j
T
Aparajita Fishman 502edbd152 nib2cib enhancements
- Added support for User Defined Runtime Attributes in IB.
- Added support for userland NS classes in IB.
- Added support for file-based nib2cib configuration.
- Converted nib2cib to Objective-J from straight Javascript.
- Updated man page for new features.
- Test app.
2012-04-12 12:09:24 -04:00

41 lines
652 B
Plaintext

/*
* BorderView.j
* UserlandNSTest
*
* Created by aparajita on April 11, 2012.
* Copyright 2012, The Cappuccino Foundation. All rights reserved.
*/
@import "BorderView.j"
@implementation BorderView (NSCoding)
- (id)NS_initWithCoder:(CPCoder)aCoder
{
self = [super NS_initWithCoder:aCoder];
if (self)
{
borderWidth = BorderViewDefaultBorderWidth;
borderColor = BorderViewDefaultBorderColor;
}
return self;
}
@end
@implementation NS_BorderView : BorderView
+ (Class)classForKeyedArchiver
{
return [BorderView class];
}
- (id)initWithCoder:(CPCoder)aCoder
{
return [self NS_initWithCoder:aCoder];
}
@end