mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-27 02:25:36 +00:00
Fixed: first work on nib2cib for the CPTextView. The example does not crash anymore
This commit is contained in:
1 parent
55f05ba839
commit
ed6be510fb
11 files changed
+1596
-53
No files matched your search
@@ -96,7 +96,7 @@ CPLineMovesUp = 4;
|
||||
if (self)
|
||||
{
|
||||
_size = aSize;
|
||||
_lineFragmentPadding = 0.0;
|
||||
[self _init];
|
||||
}
|
||||
|
||||
return self;
|
||||
@@ -107,6 +107,11 @@ CPLineMovesUp = 4;
|
||||
return [self initWithContainerSize:CPMakeSize(1e7, 1e7)];
|
||||
}
|
||||
|
||||
- (void)_init
|
||||
{
|
||||
_lineFragmentPadding = 0.0;
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark Setter methods
|
||||
|
||||
@@ -212,4 +217,29 @@ CPLineMovesUp = 4;
|
||||
return resultRect;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
||||
var CPTextContainerSizeKey = @"CPTextContainerSizeKey";
|
||||
|
||||
@implementation CPTextContainer (CPCoding)
|
||||
|
||||
- (id)initWithCoder:(CPCoder)aCoder
|
||||
{
|
||||
self = [super init];
|
||||
|
||||
if (self)
|
||||
{
|
||||
[self _init];
|
||||
_size = [aCoder decodeSizeForKey:CPTextContainerSizeKey];
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)encodeWithCoder:(CPCoder)aCoder
|
||||
{
|
||||
[aCoder encodeSize:_size forKey:CPTextContainerSizeKey];
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -33,6 +33,7 @@
|
||||
|
||||
@class _CPRTFProducer;
|
||||
@class _CPRTFParser;
|
||||
@class CPClipView;
|
||||
|
||||
@protocol CPTextViewDelegate <CPTextDelegate>
|
||||
|
||||
@@ -147,43 +148,8 @@ var kDelegateRespondsTo_textShouldBeginEditing
|
||||
{
|
||||
if (self = [super initWithFrame:aFrame])
|
||||
{
|
||||
#if PLATFORM(DOM)
|
||||
_DOMElement.style.cursor = "text";
|
||||
#endif
|
||||
_textContainerInset = CGSizeMake(2,0);
|
||||
_textContainerOrigin = CGPointMake(_bounds.origin.x, _bounds.origin.y);
|
||||
[self _init];
|
||||
[aContainer setTextView:self];
|
||||
_isEditable = YES;
|
||||
_isSelectable = YES;
|
||||
|
||||
_isFirstResponder = NO;
|
||||
_delegate = nil;
|
||||
_delegateRespondsToSelectorMask = 0;
|
||||
_selectionRange = CPMakeRange(0, 0);
|
||||
|
||||
_selectionGranularity = CPSelectByCharacter;
|
||||
_selectedTextAttributes = [CPDictionary dictionaryWithObject:[CPColor selectedTextBackgroundColor]
|
||||
forKey:CPBackgroundColorAttributeName];
|
||||
|
||||
_insertionPointColor = [CPColor blackColor];
|
||||
_textColor = [CPColor blackColor];
|
||||
_font = [CPFont systemFontOfSize:12.0];
|
||||
[self setFont:_font];
|
||||
[self setBackgroundColor:[CPColor whiteColor]];
|
||||
|
||||
|
||||
_typingAttributes = [[CPDictionary alloc] initWithObjects:[_font, _textColor] forKeys:[CPFontAttributeName, CPForegroundColorAttributeName]];
|
||||
|
||||
_minSize = CGSizeCreateCopy(aFrame.size);
|
||||
_maxSize = CGSizeMake(aFrame.size.width, 1e7);
|
||||
|
||||
_isRichText = NO;
|
||||
_usesFontPanel = YES;
|
||||
_allowsUndo = YES;
|
||||
_isVerticallyResizable = YES;
|
||||
_isHorizontallyResizable = NO;
|
||||
|
||||
_caretRect = CGRectMake(0, 0, 1, 11);
|
||||
}
|
||||
|
||||
[self registerForDraggedTypes:[CPColorDragType]];
|
||||
@@ -203,6 +169,51 @@ var kDelegateRespondsTo_textShouldBeginEditing
|
||||
return [self initWithFrame:aFrame textContainer:container];
|
||||
}
|
||||
|
||||
- (void)_init
|
||||
{
|
||||
#if PLATFORM(DOM)
|
||||
_DOMElement.style.cursor = "text";
|
||||
#endif
|
||||
|
||||
_selectionRange = CPMakeRange(0, 0);
|
||||
_textContainerInset = CGSizeMake(2, 0);
|
||||
_textContainerOrigin = CGPointMake(_bounds.origin.x, _bounds.origin.y);
|
||||
|
||||
_isEditable = YES;
|
||||
_isSelectable = YES;
|
||||
|
||||
_isFirstResponder = NO;
|
||||
_delegate = nil;
|
||||
_delegateRespondsToSelectorMask = 0;
|
||||
|
||||
_selectionGranularity = CPSelectByCharacter;
|
||||
_selectedTextAttributes = [CPDictionary dictionaryWithObject:[CPColor selectedTextBackgroundColor]
|
||||
forKey:CPBackgroundColorAttributeName];
|
||||
|
||||
_insertionPointColor = [CPColor blackColor];
|
||||
_textColor = [CPColor blackColor];
|
||||
_font = [CPFont systemFontOfSize:12.0];
|
||||
[self setFont:_font];
|
||||
[self setBackgroundColor:[CPColor whiteColor]];
|
||||
|
||||
_typingAttributes = [[CPDictionary alloc] initWithObjects:[_font, _textColor] forKeys:[CPFontAttributeName, CPForegroundColorAttributeName]];
|
||||
|
||||
_minSize = CGSizeCreateCopy(_frame.size);
|
||||
_maxSize = CGSizeMake(_frame.size.width, 1e7);
|
||||
|
||||
_isRichText = NO;
|
||||
_usesFontPanel = YES;
|
||||
_allowsUndo = YES;
|
||||
_isVerticallyResizable = YES;
|
||||
_isHorizontallyResizable = NO;
|
||||
|
||||
_caretRect = CGRectMake(0, 0, 1, 11);
|
||||
}
|
||||
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark Copy and past methods
|
||||
|
||||
- (void)copy:(id)sender
|
||||
{
|
||||
_copySelectionGranularity = _previousSelectionGranularity;
|
||||
@@ -602,9 +613,9 @@ var kDelegateRespondsTo_textShouldBeginEditing
|
||||
if (_selectionRange.length)
|
||||
{
|
||||
var rects = [_layoutManager rectArrayForCharacterRange:_selectionRange
|
||||
withinSelectedCharacterRange:_selectionRange
|
||||
inTextContainer:_textContainer
|
||||
rectCount:nil],
|
||||
withinSelectedCharacterRange:_selectionRange
|
||||
inTextContainer:_textContainer
|
||||
rectCount:nil],
|
||||
effectiveSelectionColor = [self _isFocused] ? [_selectedTextAttributes objectForKey:CPBackgroundColorAttributeName] : [CPColor _selectedTextBackgroundColorUnfocussed],
|
||||
lengthRect = rects.length;
|
||||
|
||||
@@ -1857,3 +1868,39 @@ var kDelegateRespondsTo_textShouldBeginEditing
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
||||
var CPTextViewContainerKey = @"CPTextViewContainerKey",
|
||||
CPTextViewLayoutManagerKey = @"CPTextViewLayoutManagerKey";
|
||||
CPTextViewTextStorageKey = @"CPTextViewTextStorageKey";
|
||||
|
||||
@implementation CPTextView (CPCoding)
|
||||
|
||||
- (id)initWithCoder:(CPCoder)aCoder
|
||||
{
|
||||
self = [super initWithCoder:aCoder];
|
||||
|
||||
if (self)
|
||||
{
|
||||
[self _init];
|
||||
|
||||
var layoutManager = [[CPLayoutManager alloc] init],
|
||||
textStorage = [[CPTextStorage alloc] init],
|
||||
container = [aCoder decodeObjectForKey:CPTextViewContainerKey];
|
||||
|
||||
[textStorage addLayoutManager:layoutManager];
|
||||
[layoutManager addTextContainer:container];
|
||||
|
||||
[container setTextView:self];
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)encodeWithCoder:(CPCoder)aCoder
|
||||
{
|
||||
[super encodeWithCoder:aCoder];
|
||||
[aCoder encodeObject:_textContainer forKey:CPTextViewContainerKey];
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -5,9 +5,8 @@
|
||||
* Copyright (C) 2014 Daniel Boehringer
|
||||
*/
|
||||
|
||||
@import <Foundation/Foundation.j>
|
||||
@import <AppKit/CPTextView.j>
|
||||
@import <AppKit/_CPRTFProducer.j>
|
||||
@import <AppKit/_CPRTFParser.j>
|
||||
|
||||
@implementation AppController : CPObject
|
||||
{
|
||||
|
||||
@@ -1 +1 @@
|
||||
280NPLIST;1.0;D;K;4;$topD;K;18;CPCibObjectDataKeyD;K;6;CP$UIDd;1;2E;E;K;8;$objectsA;S;5;$nullD;K;10;$classnameS;16;_CPCibObjectDataK;8;$classesA;S;16;_CPCibObjectDataS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;1E;K;28;_CPCibObjectDataNamesKeysKeyD;K;6;CP$UIDd;1;0E;K;30;_CPCibObjectDataNamesValuesKeyD;K;6;CP$UIDd;1;0E;K;30;_CPCibObjectDataClassesKeysKeyD;K;6;CP$UIDd;1;0E;K;32;_CPCibObjectDataClassesValuesKeyD;K;6;CP$UIDd;1;0E;K;30;_CPCibObjectDataConnectionsKeyD;K;6;CP$UIDd;1;4E;K;28;_CPCibObjectDataFrameworkKeyD;K;6;CP$UIDd;1;0E;K;26;_CPCibObjectDataNextOidKeyD;K;6;CP$UIDd;1;5E;K;30;_CPCibObjectDataObjectsKeysKeyD;K;6;CP$UIDd;1;6E;K;32;_CPCibObjectDataObjectsValuesKeyD;K;6;CP$UIDd;1;7E;K;26;_CPCibObjectDataOidKeysKeyD;K;6;CP$UIDd;1;8E;K;28;_CPCibObjectDataOidValuesKeyD;K;6;CP$UIDd;1;9E;K;28;_CPCibObjectDataFileOwnerKeyD;K;6;CP$UIDd;2;11E;K;33;_CPCibObjectDataVisibleWindowsKeyD;K;6;CP$UIDd;2;13E;E;D;K;10;$classnameS;7;CPArrayK;8;$classesA;S;7;CPArrayS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;15E;D;K;6;CP$UIDd;2;16E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;17E;D;K;6;CP$UIDd;2;19E;D;K;6;CP$UIDd;2;21E;D;K;6;CP$UIDd;2;23E;D;K;6;CP$UIDd;2;25E;D;K;6;CP$UIDd;2;27E;D;K;6;CP$UIDd;2;29E;D;K;6;CP$UIDd;2;30E;D;K;6;CP$UIDd;2;31E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;11E;D;K;6;CP$UIDd;2;11E;D;K;6;CP$UIDd;2;19E;D;K;6;CP$UIDd;2;21E;D;K;6;CP$UIDd;2;23E;D;K;6;CP$UIDd;2;25E;D;K;6;CP$UIDd;2;23E;D;K;6;CP$UIDd;2;23E;D;K;6;CP$UIDd;2;11E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;10;$classnameS;18;_CPCibCustomObjectK;8;$classesA;S;18;_CPCibCustomObjectS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;10E;K;27;_CPCibCustomObjectClassNameD;K;6;CP$UIDd;2;32E;E;D;K;10;$classnameS;5;CPSetK;8;$classesA;S;5;CPSetS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;12E;K;15;CPSetObjectsKeyD;K;6;CP$UIDd;2;33E;E;D;K;10;$classnameS;20;CPCibOutletConnectorK;8;$classesA;S;20;CPCibOutletConnectorS;14;CPCibConnectorS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;14E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;11E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;2;31E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;2;34E;E;D;K;6;$classD;K;6;CP$UIDd;2;14E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;31E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;2;19E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;2;35E;E;D;K;6;$classD;K;6;CP$UIDd;2;10E;K;27;_CPCibCustomObjectClassNameD;K;6;CP$UIDd;2;32E;E;D;K;10;$classnameS;20;_CPCibWindowTemplateK;8;$classesA;S;20;_CPCibWindowTemplateS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;18E;K;30;_CPCibWindowTemplateMaxSizeKeyD;K;6;CP$UIDd;2;36E;K;32;_CPCibWindowTemplateViewClassKeyD;K;6;CP$UIDd;1;0E;K;34;_CPCibWindowTemplateWindowClassKeyD;K;6;CP$UIDd;2;37E;K;30;_CPCibWindowTemplateWTFlagsKeyD;K;6;CP$UIDd;2;38E;K;33;_CPCibWindowTemplateWindowRectKeyD;K;6;CP$UIDd;2;39E;K;33;_CPCibWindowTemplateScreenRectKeyD;K;6;CP$UIDd;2;40E;K;30;_CPCibWindowTempatStyleMaskKeyD;K;6;CP$UIDd;2;41E;K;34;_CPCibWindowTemplateWindowTitleKeyD;K;6;CP$UIDd;2;42E;K;33;_CPCibWindowTemplateWindowViewKeyD;K;6;CP$UIDd;2;21E;E;D;K;10;$classnameS;6;CPViewK;8;$classesA;S;6;CPViewS;11;CPResponderS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;20E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;2;43E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;2;44E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;2;44E;K;17;CPViewSubviewsKeyD;K;6;CP$UIDd;2;45E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;1;0E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;2;46E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;2;47E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;2;47E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;2;48E;E;D;K;10;$classnameS;12;CPScrollViewK;8;$classesA;S;12;CPScrollViewS;6;CPViewS;11;CPResponderS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;22E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;2;21E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;2;43E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;2;49E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;2;50E;K;17;CPViewSubviewsKeyD;K;6;CP$UIDd;2;51E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;2;21E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;2;52E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;2;53E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;2;46E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;2;47E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;2;47E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;2;48E;K;23;CPScrollViewContentViewD;K;6;CP$UIDd;2;25E;K;29;CPScrollViewHeaderClipViewKeyD;K;6;CP$UIDd;1;0E;K;21;CPScrollViewVScrollerD;K;6;CP$UIDd;2;30E;K;21;CPScrollViewHScrollerD;K;6;CP$UIDd;2;29E;K;23;CPScrollViewVLineScrollD;K;6;CP$UIDd;2;54E;K;23;CPScrollViewVPageScrollD;K;6;CP$UIDd;2;54E;K;23;CPScrollViewHLineScrollD;K;6;CP$UIDd;2;54E;K;23;CPScrollViewHPageScrollD;K;6;CP$UIDd;2;54E;K;24;CPScrollViewHasVScrollerD;K;6;CP$UIDd;2;55E;K;24;CPScrollViewHasHScrollerD;K;6;CP$UIDd;2;48E;K;29;CPScrollViewAutohidesScrollerD;K;6;CP$UIDd;2;48E;K;25;CPScrollVieLine truncated
|
||||
280NPLIST;1.0;D;K;4;$topD;K;18;CPCibObjectDataKeyD;K;6;CP$UIDd;1;2E;E;K;8;$objectsA;S;5;$nullD;K;10;$classnameS;16;_CPCibObjectDataK;8;$classesA;S;16;_CPCibObjectDataS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;1E;K;28;_CPCibObjectDataNamesKeysKeyD;K;6;CP$UIDd;1;0E;K;30;_CPCibObjectDataNamesValuesKeyD;K;6;CP$UIDd;1;0E;K;30;_CPCibObjectDataClassesKeysKeyD;K;6;CP$UIDd;1;0E;K;32;_CPCibObjectDataClassesValuesKeyD;K;6;CP$UIDd;1;0E;K;30;_CPCibObjectDataConnectionsKeyD;K;6;CP$UIDd;1;4E;K;28;_CPCibObjectDataFrameworkKeyD;K;6;CP$UIDd;1;0E;K;26;_CPCibObjectDataNextOidKeyD;K;6;CP$UIDd;1;5E;K;30;_CPCibObjectDataObjectsKeysKeyD;K;6;CP$UIDd;1;6E;K;32;_CPCibObjectDataObjectsValuesKeyD;K;6;CP$UIDd;1;7E;K;26;_CPCibObjectDataOidKeysKeyD;K;6;CP$UIDd;1;8E;K;28;_CPCibObjectDataOidValuesKeyD;K;6;CP$UIDd;1;9E;K;28;_CPCibObjectDataFileOwnerKeyD;K;6;CP$UIDd;2;11E;K;33;_CPCibObjectDataVisibleWindowsKeyD;K;6;CP$UIDd;2;13E;E;D;K;10;$classnameS;7;CPArrayK;8;$classesA;S;7;CPArrayS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;15E;D;K;6;CP$UIDd;2;16E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;17E;D;K;6;CP$UIDd;2;19E;D;K;6;CP$UIDd;2;21E;D;K;6;CP$UIDd;2;23E;D;K;6;CP$UIDd;2;25E;D;K;6;CP$UIDd;2;27E;D;K;6;CP$UIDd;2;29E;D;K;6;CP$UIDd;2;30E;D;K;6;CP$UIDd;2;31E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;11E;D;K;6;CP$UIDd;2;11E;D;K;6;CP$UIDd;2;19E;D;K;6;CP$UIDd;2;21E;D;K;6;CP$UIDd;2;23E;D;K;6;CP$UIDd;2;25E;D;K;6;CP$UIDd;2;23E;D;K;6;CP$UIDd;2;23E;D;K;6;CP$UIDd;2;11E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;10;$classnameS;18;_CPCibCustomObjectK;8;$classesA;S;18;_CPCibCustomObjectS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;10E;K;27;_CPCibCustomObjectClassNameD;K;6;CP$UIDd;2;32E;E;D;K;10;$classnameS;5;CPSetK;8;$classesA;S;5;CPSetS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;12E;K;15;CPSetObjectsKeyD;K;6;CP$UIDd;2;33E;E;D;K;10;$classnameS;20;CPCibOutletConnectorK;8;$classesA;S;20;CPCibOutletConnectorS;14;CPCibConnectorS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;14E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;11E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;2;31E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;2;34E;E;D;K;6;$classD;K;6;CP$UIDd;2;14E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;31E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;2;19E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;2;35E;E;D;K;6;$classD;K;6;CP$UIDd;2;10E;K;27;_CPCibCustomObjectClassNameD;K;6;CP$UIDd;2;32E;E;D;K;10;$classnameS;20;_CPCibWindowTemplateK;8;$classesA;S;20;_CPCibWindowTemplateS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;18E;K;30;_CPCibWindowTemplateMaxSizeKeyD;K;6;CP$UIDd;2;36E;K;32;_CPCibWindowTemplateViewClassKeyD;K;6;CP$UIDd;1;0E;K;34;_CPCibWindowTemplateWindowClassKeyD;K;6;CP$UIDd;2;37E;K;30;_CPCibWindowTemplateWTFlagsKeyD;K;6;CP$UIDd;2;38E;K;33;_CPCibWindowTemplateWindowRectKeyD;K;6;CP$UIDd;2;39E;K;33;_CPCibWindowTemplateScreenRectKeyD;K;6;CP$UIDd;2;40E;K;30;_CPCibWindowTempatStyleMaskKeyD;K;6;CP$UIDd;2;41E;K;34;_CPCibWindowTemplateWindowTitleKeyD;K;6;CP$UIDd;2;42E;K;33;_CPCibWindowTemplateWindowViewKeyD;K;6;CP$UIDd;2;21E;E;D;K;10;$classnameS;6;CPViewK;8;$classesA;S;6;CPViewS;11;CPResponderS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;20E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;2;43E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;2;44E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;2;44E;K;17;CPViewSubviewsKeyD;K;6;CP$UIDd;2;45E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;1;0E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;2;46E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;2;47E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;2;47E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;2;48E;E;D;K;10;$classnameS;12;CPScrollViewK;8;$classesA;S;12;CPScrollViewS;6;CPViewS;11;CPResponderS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;22E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;2;21E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;2;43E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;2;49E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;2;50E;K;17;CPViewSubviewsKeyD;K;6;CP$UIDd;2;51E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;2;21E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;2;52E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;2;53E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;2;46E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;2;47E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;2;47E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;2;48E;K;23;CPScrollViewContentViewD;K;6;CP$UIDd;2;25E;K;29;CPScrollViewHeaderClipViewKeyD;K;6;CP$UIDd;1;0E;K;21;CPScrollViewVScrollerD;K;6;CP$UIDd;2;30E;K;21;CPScrollViewHScrollerD;K;6;CP$UIDd;2;29E;K;23;CPScrollViewVLineScrollD;K;6;CP$UIDd;2;54E;K;23;CPScrollViewVPageScrollD;K;6;CP$UIDd;2;54E;K;23;CPScrollViewHLineScrollD;K;6;CP$UIDd;2;54E;K;23;CPScrollViewHPageScrollD;K;6;CP$UIDd;2;54E;K;24;CPScrollViewHasVScrollerD;K;6;CP$UIDd;2;55E;K;24;CPScrollViewHasHScrollerD;K;6;CP$UIDd;2;48E;K;29;CPScrollViewAutohidesScrollerD;K;6;CP$UIDd;2;48E;K;25;CPScrollVieLine truncated
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="5056" systemVersion="13D65" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="6254" systemVersion="14D72i" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
|
||||
<dependencies>
|
||||
<deployment version="1050" identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="5056"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="6254"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication">
|
||||
@@ -11,7 +11,7 @@
|
||||
</connections>
|
||||
</customObject>
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="371">
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" bottomStrut="YES"/>
|
||||
@@ -22,8 +22,8 @@
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<scrollView horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" id="jll-qG-fPP">
|
||||
<rect key="frame" x="154" y="124" width="240" height="135"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<rect key="frame" x="20" y="20" width="448" height="320"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<clipView key="contentView" id="iXp-AZ-pxs">
|
||||
<rect key="frame" x="1" y="1" width="238" height="133"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
@@ -32,10 +32,10 @@
|
||||
<rect key="frame" x="0.0" y="0.0" width="238" height="133"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<size key="minSize" width="238" height="133"/>
|
||||
<size key="minSize" width="446" height="318"/>
|
||||
<size key="maxSize" width="463" height="10000000"/>
|
||||
<color key="insertionPointColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<size key="minSize" width="238" height="133"/>
|
||||
<size key="minSize" width="446" height="318"/>
|
||||
<size key="maxSize" width="463" height="10000000"/>
|
||||
</textView>
|
||||
</subviews>
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="6254" systemVersion="14D72i" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
|
||||
<dependencies>
|
||||
<deployment version="1050" identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="6254"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication">
|
||||
<connections>
|
||||
<outlet property="delegate" destination="450" id="451"/>
|
||||
</connections>
|
||||
</customObject>
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="371">
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" bottomStrut="YES"/>
|
||||
<rect key="contentRect" x="335" y="390" width="480" height="360"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="878"/>
|
||||
<view key="contentView" id="372">
|
||||
<rect key="frame" x="0.0" y="0.0" width="480" height="360"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<scrollView horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" id="jll-qG-fPP">
|
||||
<rect key="frame" x="20" y="57" width="353" height="283"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<clipView key="contentView" id="iXp-AZ-pxs">
|
||||
<rect key="frame" x="1" y="1" width="238" height="133"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<textView identifier="vfokrt" importsGraphics="NO" findStyle="panel" continuousSpellChecking="YES" allowsUndo="YES" usesRuler="YES" usesFontPanel="YES" verticallyResizable="YES" allowsNonContiguousLayout="YES" quoteSubstitution="YES" dashSubstitution="YES" spellingCorrection="YES" smartInsertDelete="YES" id="lio-7d-ZF1">
|
||||
<rect key="frame" x="0.0" y="0.0" width="238" height="133"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<size key="minSize" width="351" height="281"/>
|
||||
<size key="maxSize" width="463" height="10000000"/>
|
||||
<color key="insertionPointColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
|
||||
<size key="minSize" width="351" height="281"/>
|
||||
<size key="maxSize" width="463" height="10000000"/>
|
||||
</textView>
|
||||
</subviews>
|
||||
<color key="backgroundColor" red="1" green="0.64941237564325471" blue="0.36235191105575371" alpha="1" colorSpace="calibratedRGB"/>
|
||||
</clipView>
|
||||
<scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="YES" id="tou-bI-pKK">
|
||||
<rect key="frame" x="-100" y="-100" width="87" height="18"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
<scroller key="verticalScroller" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="HzS-T1-0kM">
|
||||
<rect key="frame" x="223" y="1" width="16" height="133"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
</scroller>
|
||||
</scrollView>
|
||||
</subviews>
|
||||
</view>
|
||||
</window>
|
||||
<customObject id="450" customClass="AppController">
|
||||
<connections>
|
||||
<outlet property="theWindow" destination="371" id="459"/>
|
||||
</connections>
|
||||
</customObject>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -0,0 +1,672 @@
|
||||
$null,{
|
||||
$class = "{
|
||||
CP$UID = "100"
|
||||
}"
|
||||
NSAccessibilityConnectors = "{
|
||||
CP$UID = "98"
|
||||
}"
|
||||
NSAccessibilityOidsKeys = "{
|
||||
CP$UID = "99"
|
||||
}"
|
||||
NSAccessibilityOidsValues = "{
|
||||
CP$UID = "99"
|
||||
}"
|
||||
NSConnections = "{
|
||||
CP$UID = "72"
|
||||
}"
|
||||
NSObjectsKeys = "{
|
||||
CP$UID = "80"
|
||||
}"
|
||||
NSObjectsValues = "{
|
||||
CP$UID = "84"
|
||||
}"
|
||||
NSOidsKeys = "{
|
||||
CP$UID = "85"
|
||||
}"
|
||||
NSOidsValues = "{
|
||||
CP$UID = "86"
|
||||
}"
|
||||
NSRoot = "{
|
||||
CP$UID = "2"
|
||||
}"
|
||||
NSVisibleWindows = "{
|
||||
CP$UID = "5"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "4"
|
||||
}"
|
||||
NSClassName = "{
|
||||
CP$UID = "3"
|
||||
}"
|
||||
},NSApplication,{
|
||||
$classes = "NSCustomObject,NSObject"
|
||||
$classname = "NSCustomObject"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "71"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "6"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "70"
|
||||
}"
|
||||
NSMaxSize = "{
|
||||
CP$UID = "69"
|
||||
}"
|
||||
NSScreenRect = "{
|
||||
CP$UID = "68"
|
||||
}"
|
||||
NSUserInterfaceItemIdentifier = "{
|
||||
CP$UID = "0"
|
||||
}"
|
||||
NSViewClass = "{
|
||||
CP$UID = "0"
|
||||
}"
|
||||
NSWTFlags = "1879048192"
|
||||
NSWindowBacking = "2"
|
||||
NSWindowClass = "{
|
||||
CP$UID = "9"
|
||||
}"
|
||||
NSWindowIsRestorable = "true"
|
||||
NSWindowRect = "{
|
||||
CP$UID = "7"
|
||||
}"
|
||||
NSWindowStyleMask = "7"
|
||||
NSWindowTitle = "{
|
||||
CP$UID = "8"
|
||||
}"
|
||||
NSWindowView = "{
|
||||
CP$UID = "10"
|
||||
}"
|
||||
},{{335, 390}, {480, 360}},Window,NSWindow,{
|
||||
$class = "{
|
||||
CP$UID = "67"
|
||||
}"
|
||||
NSFrameSize = "{
|
||||
CP$UID = "66"
|
||||
}"
|
||||
NSNextResponder = "{
|
||||
CP$UID = "0"
|
||||
}"
|
||||
NSSubviews = "{
|
||||
CP$UID = "11"
|
||||
}"
|
||||
NSvFlags = "256"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "26"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "65"
|
||||
}"
|
||||
NSContentView = "{
|
||||
CP$UID = "14"
|
||||
}"
|
||||
NSFrame = "{
|
||||
CP$UID = "64"
|
||||
}"
|
||||
NSHScroller = "{
|
||||
CP$UID = "58"
|
||||
}"
|
||||
NSMagnification = "1"
|
||||
NSMaxMagnification = "4"
|
||||
NSMinMagnification = "0.25"
|
||||
NSNextKeyView = "{
|
||||
CP$UID = "14"
|
||||
}"
|
||||
NSNextResponder = "{
|
||||
CP$UID = "10"
|
||||
}"
|
||||
NSSubviews = "{
|
||||
CP$UID = "13"
|
||||
}"
|
||||
NSSuperview = "{
|
||||
CP$UID = "10"
|
||||
}"
|
||||
NSVScroller = "{
|
||||
CP$UID = "62"
|
||||
}"
|
||||
NSsFlags = "133138"
|
||||
NSvFlags = "268"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "26"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "14"
|
||||
},{
|
||||
CP$UID = "58"
|
||||
},{
|
||||
CP$UID = "62"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "57"
|
||||
}"
|
||||
NSAutomaticallyAdjustsContentInsets = "true"
|
||||
NSBGColor = "{
|
||||
CP$UID = "30"
|
||||
}"
|
||||
NSCursor = "{
|
||||
CP$UID = "55"
|
||||
}"
|
||||
NSDocView = "{
|
||||
CP$UID = "16"
|
||||
}"
|
||||
NSFrame = "{
|
||||
CP$UID = "54"
|
||||
}"
|
||||
NSNextKeyView = "{
|
||||
CP$UID = "16"
|
||||
}"
|
||||
NSNextResponder = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
NSSubviews = "{
|
||||
CP$UID = "15"
|
||||
}"
|
||||
NSSuperview = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
NScvFlags = "4"
|
||||
NSvFlags = "2322"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "26"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "16"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "53"
|
||||
}"
|
||||
NSDelegate = "{
|
||||
CP$UID = "0"
|
||||
}"
|
||||
NSFrameSize = "{
|
||||
CP$UID = "17"
|
||||
}"
|
||||
NSMaxSize = "{
|
||||
CP$UID = "52"
|
||||
}"
|
||||
NSNextResponder = "{
|
||||
CP$UID = "14"
|
||||
}"
|
||||
NSReuseIdentifierKey = "{
|
||||
CP$UID = "18"
|
||||
}"
|
||||
NSSharedData = "{
|
||||
CP$UID = "29"
|
||||
}"
|
||||
NSSuperview = "{
|
||||
CP$UID = "14"
|
||||
}"
|
||||
NSTVFlags = "6"
|
||||
NSTextContainer = "{
|
||||
CP$UID = "19"
|
||||
}"
|
||||
NSvFlags = "2322"
|
||||
},{446, 318},vfokrt,{
|
||||
$class = "{
|
||||
CP$UID = "28"
|
||||
}"
|
||||
NSLayoutManager = "{
|
||||
CP$UID = "20"
|
||||
}"
|
||||
NSMinWidth = "15"
|
||||
NSTCFlags = "1"
|
||||
NSTextView = "{
|
||||
CP$UID = "16"
|
||||
}"
|
||||
NSWidth = "446"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "27"
|
||||
}"
|
||||
NSDelegate = "{
|
||||
CP$UID = "0"
|
||||
}"
|
||||
NSLMFlags = "230"
|
||||
NSTextContainers = "{
|
||||
CP$UID = "25"
|
||||
}"
|
||||
NSTextStorage = "{
|
||||
CP$UID = "21"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "24"
|
||||
}"
|
||||
NSDelegate = "{
|
||||
CP$UID = "0"
|
||||
}"
|
||||
NSString = "{
|
||||
CP$UID = "22"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "23"
|
||||
}"
|
||||
NS.string = ""
|
||||
},{
|
||||
$classes = "NSMutableString,NSString,NSObject"
|
||||
$classname = "NSMutableString"
|
||||
},{
|
||||
$classes = "NSTextStorage,NSMutableAttributedString,NSAttributedString,NSObject"
|
||||
$classname = "NSTextStorage"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "26"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "19"
|
||||
}"
|
||||
},{
|
||||
$classes = "NSMutableArray,NSArray,NSObject"
|
||||
$classname = "NSMutableArray"
|
||||
},{
|
||||
$classes = "NSLayoutManager,NSObject"
|
||||
$classname = "NSLayoutManager"
|
||||
},{
|
||||
$classes = "NSTextContainer,NSObject"
|
||||
$classname = "NSTextContainer"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "51"
|
||||
}"
|
||||
NSBackgroundColor = "{
|
||||
CP$UID = "30"
|
||||
}"
|
||||
NSDefaultParagraphStyle = "{
|
||||
CP$UID = "0"
|
||||
}"
|
||||
NSFlags = "84029413"
|
||||
NSInsertionColor = "{
|
||||
CP$UID = "41"
|
||||
}"
|
||||
NSLinkAttributes = "{
|
||||
CP$UID = "43"
|
||||
}"
|
||||
NSMarkedAttributes = "{
|
||||
CP$UID = "0"
|
||||
}"
|
||||
NSMoreFlags = "1"
|
||||
NSPreferredTextFinderStyle = "1"
|
||||
NSSelectedAttributes = "{
|
||||
CP$UID = "32"
|
||||
}"
|
||||
NSTextCheckingTypes = "0"
|
||||
NSTextFinder = "{
|
||||
CP$UID = "0"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "31"
|
||||
}"
|
||||
NSColorSpace = "3"
|
||||
NSWhite = "[object Object]"
|
||||
},{
|
||||
$classes = "NSColor,NSObject"
|
||||
$classname = "NSColor"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "42"
|
||||
}"
|
||||
NS.keys = "{
|
||||
CP$UID = "33"
|
||||
},{
|
||||
CP$UID = "34"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "35"
|
||||
},{
|
||||
CP$UID = "39"
|
||||
}"
|
||||
},NSBackgroundColor,NSColor,{
|
||||
$class = "{
|
||||
CP$UID = "31"
|
||||
}"
|
||||
NSCatalogName = "{
|
||||
CP$UID = "36"
|
||||
}"
|
||||
NSColor = "{
|
||||
CP$UID = "38"
|
||||
}"
|
||||
NSColorName = "{
|
||||
CP$UID = "37"
|
||||
}"
|
||||
NSColorSpace = "6"
|
||||
},System,selectedTextBackgroundColor,{
|
||||
$class = "{
|
||||
CP$UID = "31"
|
||||
}"
|
||||
NSColorSpace = "3"
|
||||
NSWhite = "[object Object]"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "31"
|
||||
}"
|
||||
NSCatalogName = "{
|
||||
CP$UID = "36"
|
||||
}"
|
||||
NSColor = "{
|
||||
CP$UID = "41"
|
||||
}"
|
||||
NSColorName = "{
|
||||
CP$UID = "40"
|
||||
}"
|
||||
NSColorSpace = "6"
|
||||
},selectedTextColor,{
|
||||
$class = "{
|
||||
CP$UID = "31"
|
||||
}"
|
||||
NSColorSpace = "3"
|
||||
NSWhite = "[object Object]"
|
||||
},{
|
||||
$classes = "NSDictionary,NSObject"
|
||||
$classname = "NSDictionary"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "42"
|
||||
}"
|
||||
NS.keys = "{
|
||||
CP$UID = "34"
|
||||
},{
|
||||
CP$UID = "44"
|
||||
},{
|
||||
CP$UID = "45"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "46"
|
||||
},{
|
||||
CP$UID = "47"
|
||||
},{
|
||||
CP$UID = "50"
|
||||
}"
|
||||
},NSCursor,NSUnderline,{
|
||||
$class = "{
|
||||
CP$UID = "31"
|
||||
}"
|
||||
NSColorSpace = "1"
|
||||
NSRGB = "[object Object]"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "49"
|
||||
}"
|
||||
NSCursorType = "13"
|
||||
NSHotSpot = "{
|
||||
CP$UID = "48"
|
||||
}"
|
||||
},{8, -8},{
|
||||
$classes = "NSCursor,NSObject"
|
||||
$classname = "NSCursor"
|
||||
},1,{
|
||||
$classes = "NSTextViewSharedData,NSObject"
|
||||
$classname = "NSTextViewSharedData"
|
||||
},{463, 10000000},{
|
||||
$classes = "NSTextView,NSText,NSView,NSResponder,NSObject"
|
||||
$classname = "NSTextView"
|
||||
},{{1, 1}, {446, 318}},{
|
||||
$class = "{
|
||||
CP$UID = "49"
|
||||
}"
|
||||
NSCursorType = "0"
|
||||
NSHotSpot = "{
|
||||
CP$UID = "56"
|
||||
}"
|
||||
},{1, -1},{
|
||||
$classes = "NSClipView,NSView,NSResponder,NSObject"
|
||||
$classname = "NSClipView"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "61"
|
||||
}"
|
||||
NSAction = "{
|
||||
CP$UID = "60"
|
||||
}"
|
||||
NSAllowsLogicalLayoutDirection = "false"
|
||||
NSControlAction = "{
|
||||
CP$UID = "60"
|
||||
}"
|
||||
NSControlTarget = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
NSCurValue = "1"
|
||||
NSFrame = "{
|
||||
CP$UID = "59"
|
||||
}"
|
||||
NSNextResponder = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
NSSuperview = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
NSTarget = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
NSsFlags = "1"
|
||||
NSvFlags = "-2147483392"
|
||||
},{{-100, -100}, {87, 18}},_doScroller:,{
|
||||
$classes = "NSScroller,NSControl,NSView,NSResponder,NSObject"
|
||||
$classname = "NSScroller"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "61"
|
||||
}"
|
||||
NSAction = "{
|
||||
CP$UID = "60"
|
||||
}"
|
||||
NSAllowsLogicalLayoutDirection = "false"
|
||||
NSControlAction = "{
|
||||
CP$UID = "60"
|
||||
}"
|
||||
NSControlTarget = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
NSCurValue = "1"
|
||||
NSFrame = "{
|
||||
CP$UID = "63"
|
||||
}"
|
||||
NSNextResponder = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
NSSuperview = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
NSTarget = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
NSvFlags = "256"
|
||||
},{{223, 1}, {16, 133}},{{20, 20}, {448, 320}},{
|
||||
$classes = "NSScrollView,NSView,NSResponder,NSObject"
|
||||
$classname = "NSScrollView"
|
||||
},{480, 360},{
|
||||
$classes = "NSView,NSResponder,NSObject"
|
||||
$classname = "NSView"
|
||||
},{{0, 0}, {1440, 878}},{10000000000000, 10000000000000},{
|
||||
$classes = "NSWindowTemplate,NSObject"
|
||||
$classname = "NSWindowTemplate"
|
||||
},{
|
||||
$classes = "NSMutableSet,NSSet,NSObject"
|
||||
$classname = "NSMutableSet"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "26"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "73"
|
||||
},{
|
||||
CP$UID = "78"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "77"
|
||||
}"
|
||||
NSDestination = "{
|
||||
CP$UID = "74"
|
||||
}"
|
||||
NSLabel = "{
|
||||
CP$UID = "76"
|
||||
}"
|
||||
NSSource = "{
|
||||
CP$UID = "2"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "4"
|
||||
}"
|
||||
NSClassName = "{
|
||||
CP$UID = "75"
|
||||
}"
|
||||
},AppController,delegate,{
|
||||
$classes = "NSNibOutletConnector,NSNibConnector,NSObject"
|
||||
$classname = "NSNibOutletConnector"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "77"
|
||||
}"
|
||||
NSDestination = "{
|
||||
CP$UID = "6"
|
||||
}"
|
||||
NSLabel = "{
|
||||
CP$UID = "79"
|
||||
}"
|
||||
NSSource = "{
|
||||
CP$UID = "74"
|
||||
}"
|
||||
},theWindow,{
|
||||
$class = "{
|
||||
CP$UID = "83"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "81"
|
||||
},{
|
||||
CP$UID = "6"
|
||||
},{
|
||||
CP$UID = "10"
|
||||
},{
|
||||
CP$UID = "12"
|
||||
},{
|
||||
CP$UID = "14"
|
||||
},{
|
||||
CP$UID = "16"
|
||||
},{
|
||||
CP$UID = "58"
|
||||
},{
|
||||
CP$UID = "62"
|
||||
},{
|
||||
CP$UID = "74"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "4"
|
||||
}"
|
||||
NSClassName = "{
|
||||
CP$UID = "82"
|
||||
}"
|
||||
},NSApplication,{
|
||||
$classes = "NSArray,NSObject"
|
||||
$classname = "NSArray"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "83"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "2"
|
||||
},{
|
||||
CP$UID = "2"
|
||||
},{
|
||||
CP$UID = "6"
|
||||
},{
|
||||
CP$UID = "10"
|
||||
},{
|
||||
CP$UID = "12"
|
||||
},{
|
||||
CP$UID = "14"
|
||||
},{
|
||||
CP$UID = "12"
|
||||
},{
|
||||
CP$UID = "12"
|
||||
},{
|
||||
CP$UID = "2"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "83"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "2"
|
||||
},{
|
||||
CP$UID = "81"
|
||||
},{
|
||||
CP$UID = "6"
|
||||
},{
|
||||
CP$UID = "10"
|
||||
},{
|
||||
CP$UID = "12"
|
||||
},{
|
||||
CP$UID = "14"
|
||||
},{
|
||||
CP$UID = "16"
|
||||
},{
|
||||
CP$UID = "58"
|
||||
},{
|
||||
CP$UID = "62"
|
||||
},{
|
||||
CP$UID = "74"
|
||||
},{
|
||||
CP$UID = "73"
|
||||
},{
|
||||
CP$UID = "78"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "83"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "50"
|
||||
},{
|
||||
CP$UID = "87"
|
||||
},{
|
||||
CP$UID = "88"
|
||||
},{
|
||||
CP$UID = "89"
|
||||
},{
|
||||
CP$UID = "90"
|
||||
},{
|
||||
CP$UID = "91"
|
||||
},{
|
||||
CP$UID = "92"
|
||||
},{
|
||||
CP$UID = "93"
|
||||
},{
|
||||
CP$UID = "94"
|
||||
},{
|
||||
CP$UID = "95"
|
||||
},{
|
||||
CP$UID = "96"
|
||||
},{
|
||||
CP$UID = "97"
|
||||
}"
|
||||
},2,3,4,5,6,7,8,9,10,11,12,{
|
||||
$class = "{
|
||||
CP$UID = "26"
|
||||
}"
|
||||
NS.objects = ""
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "83"
|
||||
}"
|
||||
NS.objects = ""
|
||||
},{
|
||||
$classes = "NSIBObjectData,NSObject"
|
||||
$classname = "NSIBObjectData"
|
||||
}
|
||||
@@ -0,0 +1,672 @@
|
||||
$null,{
|
||||
$class = "{
|
||||
CP$UID = "100"
|
||||
}"
|
||||
NSAccessibilityConnectors = "{
|
||||
CP$UID = "98"
|
||||
}"
|
||||
NSAccessibilityOidsKeys = "{
|
||||
CP$UID = "99"
|
||||
}"
|
||||
NSAccessibilityOidsValues = "{
|
||||
CP$UID = "99"
|
||||
}"
|
||||
NSConnections = "{
|
||||
CP$UID = "72"
|
||||
}"
|
||||
NSObjectsKeys = "{
|
||||
CP$UID = "80"
|
||||
}"
|
||||
NSObjectsValues = "{
|
||||
CP$UID = "84"
|
||||
}"
|
||||
NSOidsKeys = "{
|
||||
CP$UID = "85"
|
||||
}"
|
||||
NSOidsValues = "{
|
||||
CP$UID = "86"
|
||||
}"
|
||||
NSRoot = "{
|
||||
CP$UID = "2"
|
||||
}"
|
||||
NSVisibleWindows = "{
|
||||
CP$UID = "5"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "4"
|
||||
}"
|
||||
NSClassName = "{
|
||||
CP$UID = "3"
|
||||
}"
|
||||
},NSApplication,{
|
||||
$classes = "NSCustomObject,NSObject"
|
||||
$classname = "NSCustomObject"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "71"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "6"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "70"
|
||||
}"
|
||||
NSMaxSize = "{
|
||||
CP$UID = "69"
|
||||
}"
|
||||
NSScreenRect = "{
|
||||
CP$UID = "68"
|
||||
}"
|
||||
NSUserInterfaceItemIdentifier = "{
|
||||
CP$UID = "0"
|
||||
}"
|
||||
NSViewClass = "{
|
||||
CP$UID = "0"
|
||||
}"
|
||||
NSWTFlags = "1879048192"
|
||||
NSWindowBacking = "2"
|
||||
NSWindowClass = "{
|
||||
CP$UID = "9"
|
||||
}"
|
||||
NSWindowIsRestorable = "true"
|
||||
NSWindowRect = "{
|
||||
CP$UID = "7"
|
||||
}"
|
||||
NSWindowStyleMask = "7"
|
||||
NSWindowTitle = "{
|
||||
CP$UID = "8"
|
||||
}"
|
||||
NSWindowView = "{
|
||||
CP$UID = "10"
|
||||
}"
|
||||
},{{335, 390}, {480, 360}},Window,NSWindow,{
|
||||
$class = "{
|
||||
CP$UID = "67"
|
||||
}"
|
||||
NSFrameSize = "{
|
||||
CP$UID = "66"
|
||||
}"
|
||||
NSNextResponder = "{
|
||||
CP$UID = "0"
|
||||
}"
|
||||
NSSubviews = "{
|
||||
CP$UID = "11"
|
||||
}"
|
||||
NSvFlags = "256"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "26"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "65"
|
||||
}"
|
||||
NSContentView = "{
|
||||
CP$UID = "14"
|
||||
}"
|
||||
NSFrame = "{
|
||||
CP$UID = "64"
|
||||
}"
|
||||
NSHScroller = "{
|
||||
CP$UID = "58"
|
||||
}"
|
||||
NSMagnification = "1"
|
||||
NSMaxMagnification = "4"
|
||||
NSMinMagnification = "0.25"
|
||||
NSNextKeyView = "{
|
||||
CP$UID = "14"
|
||||
}"
|
||||
NSNextResponder = "{
|
||||
CP$UID = "10"
|
||||
}"
|
||||
NSSubviews = "{
|
||||
CP$UID = "13"
|
||||
}"
|
||||
NSSuperview = "{
|
||||
CP$UID = "10"
|
||||
}"
|
||||
NSVScroller = "{
|
||||
CP$UID = "62"
|
||||
}"
|
||||
NSsFlags = "133138"
|
||||
NSvFlags = "268"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "26"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "14"
|
||||
},{
|
||||
CP$UID = "58"
|
||||
},{
|
||||
CP$UID = "62"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "57"
|
||||
}"
|
||||
NSAutomaticallyAdjustsContentInsets = "true"
|
||||
NSBGColor = "{
|
||||
CP$UID = "30"
|
||||
}"
|
||||
NSCursor = "{
|
||||
CP$UID = "55"
|
||||
}"
|
||||
NSDocView = "{
|
||||
CP$UID = "16"
|
||||
}"
|
||||
NSFrame = "{
|
||||
CP$UID = "54"
|
||||
}"
|
||||
NSNextKeyView = "{
|
||||
CP$UID = "16"
|
||||
}"
|
||||
NSNextResponder = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
NSSubviews = "{
|
||||
CP$UID = "15"
|
||||
}"
|
||||
NSSuperview = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
NScvFlags = "4"
|
||||
NSvFlags = "2322"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "26"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "16"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "53"
|
||||
}"
|
||||
NSDelegate = "{
|
||||
CP$UID = "0"
|
||||
}"
|
||||
NSFrameSize = "{
|
||||
CP$UID = "17"
|
||||
}"
|
||||
NSMaxSize = "{
|
||||
CP$UID = "52"
|
||||
}"
|
||||
NSNextResponder = "{
|
||||
CP$UID = "14"
|
||||
}"
|
||||
NSReuseIdentifierKey = "{
|
||||
CP$UID = "18"
|
||||
}"
|
||||
NSSharedData = "{
|
||||
CP$UID = "29"
|
||||
}"
|
||||
NSSuperview = "{
|
||||
CP$UID = "14"
|
||||
}"
|
||||
NSTVFlags = "6"
|
||||
NSTextContainer = "{
|
||||
CP$UID = "19"
|
||||
}"
|
||||
NSvFlags = "2322"
|
||||
},{446, 318},vfokrt,{
|
||||
$class = "{
|
||||
CP$UID = "28"
|
||||
}"
|
||||
NSLayoutManager = "{
|
||||
CP$UID = "20"
|
||||
}"
|
||||
NSMinWidth = "15"
|
||||
NSTCFlags = "1"
|
||||
NSTextView = "{
|
||||
CP$UID = "16"
|
||||
}"
|
||||
NSWidth = "446"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "27"
|
||||
}"
|
||||
NSDelegate = "{
|
||||
CP$UID = "0"
|
||||
}"
|
||||
NSLMFlags = "230"
|
||||
NSTextContainers = "{
|
||||
CP$UID = "25"
|
||||
}"
|
||||
NSTextStorage = "{
|
||||
CP$UID = "21"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "24"
|
||||
}"
|
||||
NSDelegate = "{
|
||||
CP$UID = "0"
|
||||
}"
|
||||
NSString = "{
|
||||
CP$UID = "22"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "23"
|
||||
}"
|
||||
NS.string = ""
|
||||
},{
|
||||
$classes = "NSMutableString,NSString,NSObject"
|
||||
$classname = "NSMutableString"
|
||||
},{
|
||||
$classes = "NSTextStorage,NSMutableAttributedString,NSAttributedString,NSObject"
|
||||
$classname = "NSTextStorage"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "26"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "19"
|
||||
}"
|
||||
},{
|
||||
$classes = "NSMutableArray,NSArray,NSObject"
|
||||
$classname = "NSMutableArray"
|
||||
},{
|
||||
$classes = "NSLayoutManager,NSObject"
|
||||
$classname = "NSLayoutManager"
|
||||
},{
|
||||
$classes = "NSTextContainer,NSObject"
|
||||
$classname = "NSTextContainer"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "51"
|
||||
}"
|
||||
NSBackgroundColor = "{
|
||||
CP$UID = "30"
|
||||
}"
|
||||
NSDefaultParagraphStyle = "{
|
||||
CP$UID = "0"
|
||||
}"
|
||||
NSFlags = "84029415"
|
||||
NSInsertionColor = "{
|
||||
CP$UID = "41"
|
||||
}"
|
||||
NSLinkAttributes = "{
|
||||
CP$UID = "43"
|
||||
}"
|
||||
NSMarkedAttributes = "{
|
||||
CP$UID = "0"
|
||||
}"
|
||||
NSMoreFlags = "1"
|
||||
NSPreferredTextFinderStyle = "1"
|
||||
NSSelectedAttributes = "{
|
||||
CP$UID = "32"
|
||||
}"
|
||||
NSTextCheckingTypes = "0"
|
||||
NSTextFinder = "{
|
||||
CP$UID = "0"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "31"
|
||||
}"
|
||||
NSColorSpace = "3"
|
||||
NSWhite = "[object Object]"
|
||||
},{
|
||||
$classes = "NSColor,NSObject"
|
||||
$classname = "NSColor"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "42"
|
||||
}"
|
||||
NS.keys = "{
|
||||
CP$UID = "33"
|
||||
},{
|
||||
CP$UID = "34"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "35"
|
||||
},{
|
||||
CP$UID = "39"
|
||||
}"
|
||||
},NSBackgroundColor,NSColor,{
|
||||
$class = "{
|
||||
CP$UID = "31"
|
||||
}"
|
||||
NSCatalogName = "{
|
||||
CP$UID = "36"
|
||||
}"
|
||||
NSColor = "{
|
||||
CP$UID = "38"
|
||||
}"
|
||||
NSColorName = "{
|
||||
CP$UID = "37"
|
||||
}"
|
||||
NSColorSpace = "6"
|
||||
},System,selectedTextBackgroundColor,{
|
||||
$class = "{
|
||||
CP$UID = "31"
|
||||
}"
|
||||
NSColorSpace = "3"
|
||||
NSWhite = "[object Object]"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "31"
|
||||
}"
|
||||
NSCatalogName = "{
|
||||
CP$UID = "36"
|
||||
}"
|
||||
NSColor = "{
|
||||
CP$UID = "41"
|
||||
}"
|
||||
NSColorName = "{
|
||||
CP$UID = "40"
|
||||
}"
|
||||
NSColorSpace = "6"
|
||||
},selectedTextColor,{
|
||||
$class = "{
|
||||
CP$UID = "31"
|
||||
}"
|
||||
NSColorSpace = "3"
|
||||
NSWhite = "[object Object]"
|
||||
},{
|
||||
$classes = "NSDictionary,NSObject"
|
||||
$classname = "NSDictionary"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "42"
|
||||
}"
|
||||
NS.keys = "{
|
||||
CP$UID = "34"
|
||||
},{
|
||||
CP$UID = "44"
|
||||
},{
|
||||
CP$UID = "45"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "46"
|
||||
},{
|
||||
CP$UID = "47"
|
||||
},{
|
||||
CP$UID = "50"
|
||||
}"
|
||||
},NSCursor,NSUnderline,{
|
||||
$class = "{
|
||||
CP$UID = "31"
|
||||
}"
|
||||
NSColorSpace = "1"
|
||||
NSRGB = "[object Object]"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "49"
|
||||
}"
|
||||
NSCursorType = "13"
|
||||
NSHotSpot = "{
|
||||
CP$UID = "48"
|
||||
}"
|
||||
},{8, -8},{
|
||||
$classes = "NSCursor,NSObject"
|
||||
$classname = "NSCursor"
|
||||
},1,{
|
||||
$classes = "NSTextViewSharedData,NSObject"
|
||||
$classname = "NSTextViewSharedData"
|
||||
},{463, 10000000},{
|
||||
$classes = "NSTextView,NSText,NSView,NSResponder,NSObject"
|
||||
$classname = "NSTextView"
|
||||
},{{1, 1}, {446, 318}},{
|
||||
$class = "{
|
||||
CP$UID = "49"
|
||||
}"
|
||||
NSCursorType = "0"
|
||||
NSHotSpot = "{
|
||||
CP$UID = "56"
|
||||
}"
|
||||
},{1, -1},{
|
||||
$classes = "NSClipView,NSView,NSResponder,NSObject"
|
||||
$classname = "NSClipView"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "61"
|
||||
}"
|
||||
NSAction = "{
|
||||
CP$UID = "60"
|
||||
}"
|
||||
NSAllowsLogicalLayoutDirection = "false"
|
||||
NSControlAction = "{
|
||||
CP$UID = "60"
|
||||
}"
|
||||
NSControlTarget = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
NSCurValue = "1"
|
||||
NSFrame = "{
|
||||
CP$UID = "59"
|
||||
}"
|
||||
NSNextResponder = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
NSSuperview = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
NSTarget = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
NSsFlags = "1"
|
||||
NSvFlags = "-2147483392"
|
||||
},{{-100, -100}, {87, 18}},_doScroller:,{
|
||||
$classes = "NSScroller,NSControl,NSView,NSResponder,NSObject"
|
||||
$classname = "NSScroller"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "61"
|
||||
}"
|
||||
NSAction = "{
|
||||
CP$UID = "60"
|
||||
}"
|
||||
NSAllowsLogicalLayoutDirection = "false"
|
||||
NSControlAction = "{
|
||||
CP$UID = "60"
|
||||
}"
|
||||
NSControlTarget = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
NSCurValue = "1"
|
||||
NSFrame = "{
|
||||
CP$UID = "63"
|
||||
}"
|
||||
NSNextResponder = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
NSSuperview = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
NSTarget = "{
|
||||
CP$UID = "12"
|
||||
}"
|
||||
NSvFlags = "256"
|
||||
},{{223, 1}, {16, 133}},{{20, 20}, {448, 320}},{
|
||||
$classes = "NSScrollView,NSView,NSResponder,NSObject"
|
||||
$classname = "NSScrollView"
|
||||
},{480, 360},{
|
||||
$classes = "NSView,NSResponder,NSObject"
|
||||
$classname = "NSView"
|
||||
},{{0, 0}, {1440, 878}},{10000000000000, 10000000000000},{
|
||||
$classes = "NSWindowTemplate,NSObject"
|
||||
$classname = "NSWindowTemplate"
|
||||
},{
|
||||
$classes = "NSMutableSet,NSSet,NSObject"
|
||||
$classname = "NSMutableSet"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "26"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "73"
|
||||
},{
|
||||
CP$UID = "78"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "77"
|
||||
}"
|
||||
NSDestination = "{
|
||||
CP$UID = "74"
|
||||
}"
|
||||
NSLabel = "{
|
||||
CP$UID = "76"
|
||||
}"
|
||||
NSSource = "{
|
||||
CP$UID = "2"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "4"
|
||||
}"
|
||||
NSClassName = "{
|
||||
CP$UID = "75"
|
||||
}"
|
||||
},AppController,delegate,{
|
||||
$classes = "NSNibOutletConnector,NSNibConnector,NSObject"
|
||||
$classname = "NSNibOutletConnector"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "77"
|
||||
}"
|
||||
NSDestination = "{
|
||||
CP$UID = "6"
|
||||
}"
|
||||
NSLabel = "{
|
||||
CP$UID = "79"
|
||||
}"
|
||||
NSSource = "{
|
||||
CP$UID = "74"
|
||||
}"
|
||||
},theWindow,{
|
||||
$class = "{
|
||||
CP$UID = "83"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "81"
|
||||
},{
|
||||
CP$UID = "6"
|
||||
},{
|
||||
CP$UID = "10"
|
||||
},{
|
||||
CP$UID = "12"
|
||||
},{
|
||||
CP$UID = "14"
|
||||
},{
|
||||
CP$UID = "16"
|
||||
},{
|
||||
CP$UID = "58"
|
||||
},{
|
||||
CP$UID = "62"
|
||||
},{
|
||||
CP$UID = "74"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "4"
|
||||
}"
|
||||
NSClassName = "{
|
||||
CP$UID = "82"
|
||||
}"
|
||||
},NSApplication,{
|
||||
$classes = "NSArray,NSObject"
|
||||
$classname = "NSArray"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "83"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "2"
|
||||
},{
|
||||
CP$UID = "2"
|
||||
},{
|
||||
CP$UID = "6"
|
||||
},{
|
||||
CP$UID = "10"
|
||||
},{
|
||||
CP$UID = "12"
|
||||
},{
|
||||
CP$UID = "14"
|
||||
},{
|
||||
CP$UID = "12"
|
||||
},{
|
||||
CP$UID = "12"
|
||||
},{
|
||||
CP$UID = "2"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "83"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "2"
|
||||
},{
|
||||
CP$UID = "81"
|
||||
},{
|
||||
CP$UID = "6"
|
||||
},{
|
||||
CP$UID = "10"
|
||||
},{
|
||||
CP$UID = "12"
|
||||
},{
|
||||
CP$UID = "14"
|
||||
},{
|
||||
CP$UID = "16"
|
||||
},{
|
||||
CP$UID = "58"
|
||||
},{
|
||||
CP$UID = "62"
|
||||
},{
|
||||
CP$UID = "74"
|
||||
},{
|
||||
CP$UID = "73"
|
||||
},{
|
||||
CP$UID = "78"
|
||||
}"
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "83"
|
||||
}"
|
||||
NS.objects = "{
|
||||
CP$UID = "50"
|
||||
},{
|
||||
CP$UID = "87"
|
||||
},{
|
||||
CP$UID = "88"
|
||||
},{
|
||||
CP$UID = "89"
|
||||
},{
|
||||
CP$UID = "90"
|
||||
},{
|
||||
CP$UID = "91"
|
||||
},{
|
||||
CP$UID = "92"
|
||||
},{
|
||||
CP$UID = "93"
|
||||
},{
|
||||
CP$UID = "94"
|
||||
},{
|
||||
CP$UID = "95"
|
||||
},{
|
||||
CP$UID = "96"
|
||||
},{
|
||||
CP$UID = "97"
|
||||
}"
|
||||
},2,3,4,5,6,7,8,9,10,11,12,{
|
||||
$class = "{
|
||||
CP$UID = "26"
|
||||
}"
|
||||
NS.objects = ""
|
||||
},{
|
||||
$class = "{
|
||||
CP$UID = "83"
|
||||
}"
|
||||
NS.objects = ""
|
||||
},{
|
||||
$classes = "NSIBObjectData,NSObject"
|
||||
$classname = "NSIBObjectData"
|
||||
}
|
||||
@@ -72,6 +72,7 @@
|
||||
@import "NSTableView.j"
|
||||
@import "NSTabView.j"
|
||||
@import "NSTabViewItem.j"
|
||||
@import "NSTextContainer.j"
|
||||
@import "NSTextField.j"
|
||||
@import "NSTextView.j"
|
||||
@import "NSTokenField.j"
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* NSTextContainer.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/CPTextContainer.j>
|
||||
|
||||
@class Nib2Cib
|
||||
|
||||
@implementation CPTextContainer (NSCoding)
|
||||
|
||||
- (id)NS_initWithCoder:(CPCoder)aCoder
|
||||
{
|
||||
self = [super init];
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation NSTextContainer : CPTextContainer
|
||||
{
|
||||
}
|
||||
|
||||
- (id)initWithCoder:(CPCoder)aCoder
|
||||
{
|
||||
self = [self NS_initWithCoder:aCoder];
|
||||
|
||||
if (self)
|
||||
{
|
||||
_size = CGSizeMake([aCoder decodeIntForKey:@"NSWidth"], 1e7);
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (Class)classForKeyedArchiver
|
||||
{
|
||||
return [CPTextContainer class];
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -30,7 +30,7 @@
|
||||
{
|
||||
if (self = [super NS_initWithCoder:aCoder])
|
||||
{
|
||||
|
||||
_textContainer = [aCoder decodeObjectForKey:@"NSTextContainer"];
|
||||
}
|
||||
|
||||
return self;
|
||||
@@ -40,6 +40,7 @@
|
||||
|
||||
@implementation NSTextView : CPTextView
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
- (id)initWithCoder:(CPCoder)aCoder
|
||||
@@ -48,7 +49,7 @@
|
||||
|
||||
if (self)
|
||||
{
|
||||
|
||||
var flags = [aCoder decodeIntForKey:@"NSTVFlags"];
|
||||
}
|
||||
|
||||
return self;
|
||||
@@ -59,4 +60,4 @@
|
||||
return [CPTextView class];
|
||||
}
|
||||
|
||||
@end
|
||||
@end
|
||||
Reference in new issue
Block a user