mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-02 00:43:35 +00:00
- 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.
41 lines
652 B
Plaintext
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
|