Added : added default NSTextView for nib2cib

This commit is contained in:
Alexandre Wilhelm authored and daboe01 committed 2014-07-12 14:03:32 +02:00
1 parent 0840719289
commit 026e28114e
2 files changed
+63

No files matched your search

+1
View File
@@ -73,6 +73,7 @@
@import "NSTabView.j"
@import "NSTabViewItem.j"
@import "NSTextField.j"
@import "NSTextView.j"
@import "NSTokenField.j"
@import "NSToolbar.j"
@import "NSToolbarFlexibleSpaceItem.j"
+62
View File
@@ -0,0 +1,62 @@
/*
* NSTextView.j
* nib2cib
*
* Created by Alexendre Wilhelm.
* Copyright 2014 The Cappuccino Foundation.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
@import <AppKit/CPTextView.j>
@class Nib2Cib
@implementation CPTextView (NSCoding)
- (id)NS_initWithCoder:(CPCoder)aCoder
{
if (self = [super NS_initWithCoder:aCoder])
{
}
return self;
}
@end
@implementation NSTextView : CPTextView
{
}
- (id)initWithCoder:(CPCoder)aCoder
{
self = [self NS_initWithCoder:aCoder];
if (self)
{
}
return self;
}
- (Class)classForKeyedArchiver
{
return [CPTextView class];
}
@end