mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-28 14:37:04 +00:00
Code formatting, cleaned zombie outlets, added outlets to the CPTableCellView owner
This commit is contained in:
+12
-7
@@ -1931,6 +1931,7 @@ NOT YET IMPLEMENTED
|
||||
else
|
||||
{
|
||||
var superview = [cellView superview];
|
||||
|
||||
if ([superview isKindOfClass:[CPTableView class]])
|
||||
{
|
||||
break;
|
||||
@@ -1959,6 +1960,7 @@ NOT YET IMPLEMENTED
|
||||
while (rowcount--)
|
||||
{
|
||||
var row = exposedRows[rowcount];
|
||||
|
||||
if (cellView == dataViewsInTableColumn[row])
|
||||
return isRow ? row : column;
|
||||
}
|
||||
@@ -3612,9 +3614,11 @@ Your delegate can implement this method to avoid subclassing the tableview to ad
|
||||
- (CPView)_dataViewForTableColumn:(CPTableColumn)aTableColumn row:(CPInteger)aRow
|
||||
{
|
||||
var view = nil;
|
||||
|
||||
if ([self _delegateRespondsToDataViewForTableColumn])
|
||||
{
|
||||
view = [_delegate tableView:self dataViewForTableColumn:aTableColumn row:aRow];
|
||||
|
||||
if (!view)
|
||||
[CPException raise:CPInternalInconsistencyException reason:"The view returned by -tableView:dataViewForTableColumn:row: should not be nil"];
|
||||
}
|
||||
@@ -3666,12 +3670,12 @@ Your delegate can implement this method to avoid subclassing the tableview to ad
|
||||
return nil;
|
||||
|
||||
var view,
|
||||
// See if we have some reusable view available
|
||||
// See if we have some reusable view available
|
||||
reusableViews = _cachedDataViews[anIdentifier];
|
||||
|
||||
if (reusableViews && reusableViews.length)
|
||||
view = reusableViews.pop();
|
||||
// Otherwise see if we have a view in the cib with this identifier
|
||||
// Otherwise see if we have a view in the cib with this identifier
|
||||
else if (_isViewBased)
|
||||
view = [self _unarchiveViewWithIdentifier:anIdentifier owner:anOwner];
|
||||
|
||||
@@ -3704,9 +3708,11 @@ Your delegate can implement this method to avoid subclassing the tableview to ad
|
||||
return nil;
|
||||
|
||||
var count = objects.length;
|
||||
|
||||
while (count--)
|
||||
{
|
||||
var obj = objects[count];
|
||||
|
||||
if ([obj isKindOfClass:[CPView class]])
|
||||
{
|
||||
[obj setIdentifier:anIdentifier];
|
||||
@@ -5270,6 +5276,7 @@ var CPTableViewDataSourceKey = @"CPTableViewDataSourceKey",
|
||||
[aCoder encodeObject:_headerView forKey:CPTableViewHeaderViewKey];
|
||||
|
||||
[aCoder encodeObject:_autosaveName forKey:CPTableViewAutosaveNameKey];
|
||||
|
||||
if (_archivedDataViews)
|
||||
[aCoder encodeObject:_archivedDataViews forKey:CPTableViewArchivedReusableViewsKey];
|
||||
}
|
||||
@@ -5445,13 +5452,8 @@ var CPTableViewDataSourceKey = @"CPTableViewDataSourceKey",
|
||||
|
||||
@end
|
||||
|
||||
//var CPTableCellViewBackgroundStyleKey = @"CPTableCellViewBackgroundStyleKey",
|
||||
// CPTableCellViewRowSizeStyleKey = @"CPTableCellViewRowSizeStyleKey";
|
||||
|
||||
@implementation CPTableCellView : CPView
|
||||
{
|
||||
//int _backgroundStyle @accessors(property=backgroundStyle);
|
||||
//int _rowSizeStyle @accessors(property=rowSizeStyle);
|
||||
id _objectValue @accessors(property=objectValue);
|
||||
|
||||
CPTextField _textField @accessors(property=textField);
|
||||
@@ -5461,6 +5463,7 @@ var CPTableViewDataSourceKey = @"CPTableViewDataSourceKey",
|
||||
- (id)initWithFrame:(CGRect)aRect
|
||||
{
|
||||
self = [super initWithFrame:aRect];
|
||||
|
||||
[self _init];
|
||||
|
||||
return self;
|
||||
@@ -5469,6 +5472,7 @@ var CPTableViewDataSourceKey = @"CPTableViewDataSourceKey",
|
||||
- (id)initWithCoder:(CPCoder)aCoder
|
||||
{
|
||||
self = [super initWithCoder:aCoder];
|
||||
|
||||
[self _init];
|
||||
|
||||
return self;
|
||||
@@ -5501,6 +5505,7 @@ var CPTableViewDataSourceKey = @"CPTableViewDataSourceKey",
|
||||
[[aView subviews] enumerateObjectsUsingBlock:function(view, idx)
|
||||
{
|
||||
[view performSelector:selector withObject:anObject];
|
||||
|
||||
if (![view isKindOfClass:[self class]]) // Avoid infinite loop if a subview is a CPTableCellView.
|
||||
[self recursivelyPerformSelector:selector withObject:anObject startingFrom:view];
|
||||
}];
|
||||
|
||||
@@ -7,7 +7,9 @@
|
||||
*/
|
||||
|
||||
@import <Foundation/CPObject.j>
|
||||
@import "../CPTrace.j"
|
||||
@import "CPTrace.j"
|
||||
|
||||
CPLogRegister(CPLogConsole)
|
||||
|
||||
@implementation AppController : CPObject
|
||||
{
|
||||
@@ -60,9 +62,9 @@
|
||||
var lr = [c[0] count];
|
||||
if (d > 0)
|
||||
tlr += lr;
|
||||
|
||||
|
||||
var avg = (ROUND(100 * e/tlr) / 100);
|
||||
console.log(b + " " + lr + " rows in " + d + " ms ; avg/row = " + avg + " ms");
|
||||
CPLog.debug(b + " " + lr + " rows in " + d + " ms ; avg/row = " + avg + " ms");
|
||||
}
|
||||
|
||||
CPTrace(@"CPTableView", @"_loadDataViewsInRows:columns:", f);
|
||||
@@ -85,8 +87,8 @@
|
||||
column = [tableView columnForView:sender],
|
||||
identifier = [[[tableView tableColumns] objectAtIndex:column] identifier];
|
||||
|
||||
//CPLogConsole(_cmd + sender + " row = " + row + " column = " + column);
|
||||
content[row][identifier] = [sender value];
|
||||
CPLog.debug(_cmd + " from "sender + " row = " + row + " column = " + column);
|
||||
content[row][identifier] = [sender doubleValue];
|
||||
}
|
||||
|
||||
- (int)numberOfRowsInTableView:(id)aTableView
|
||||
@@ -123,7 +125,7 @@
|
||||
if (n == 0)
|
||||
[view setObjectValue:("Column " + tableColumnId + " Row " + aRow)];
|
||||
else if (n == 1)
|
||||
[view setValue:content[aRow][tableColumnId]];
|
||||
[view setDoubleValue:content[aRow][tableColumnId]];
|
||||
|
||||
return view;
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
/Volumes/GAMMA/DEVELOPPEMENT/cappuccino/cacaodev/Tests/Manual/TableTest/CPTrace.j
|
||||
@@ -9,11 +9,13 @@
|
||||
@import <Foundation/CPObject.j>
|
||||
@import <AppKit/CPGraphicsContext.j>
|
||||
|
||||
@import "../CPTrace.j"
|
||||
@import "CPTrace.j"
|
||||
|
||||
var TABLE_DRAG_TYPE = @"TABLE_DRAG_TYPE",
|
||||
tracing = NO;
|
||||
|
||||
CPLogRegister(CPLogConsole)
|
||||
|
||||
@implementation AppController : CPObject
|
||||
{
|
||||
CPWindow theWindow; //this "outlet" is connected automatically by the Cib
|
||||
@@ -32,10 +34,14 @@ var TABLE_DRAG_TYPE = @"TABLE_DRAG_TYPE",
|
||||
request = [CPURLRequest requestWithURL:path],
|
||||
connection = [CPURLConnection connectionWithRequest:request delegate:self];
|
||||
|
||||
[theWindow setFullBridge:YES];
|
||||
[tableView registerForDraggedTypes:[CPArray arrayWithObject:TABLE_DRAG_TYPE]];
|
||||
}
|
||||
|
||||
- (void)awakeFromCib
|
||||
{
|
||||
[theWindow setFullPlatformWindow:YES];
|
||||
}
|
||||
|
||||
- (void)connection:(CPURLConnection)connection didReceiveData:(CPString)dataString
|
||||
{
|
||||
if (!dataString)
|
||||
@@ -60,7 +66,7 @@ var TABLE_DRAG_TYPE = @"TABLE_DRAG_TYPE",
|
||||
tlr += lr;
|
||||
|
||||
var avg = (ROUND(100 * e/tlr) / 100);
|
||||
console.log(b + " " + lr + " rows in " + d + " ms ; avg/row = " + avg + " ms");
|
||||
CPLog.debug(b + " " + lr + " rows in " + d + " ms ; avg/row = " + avg + " ms");
|
||||
[self setAvgPerRow:avg];
|
||||
}
|
||||
|
||||
@@ -78,29 +84,33 @@ var TABLE_DRAG_TYPE = @"TABLE_DRAG_TYPE",
|
||||
@outlet CPView personView;
|
||||
@outlet CPView placeView;
|
||||
@outlet CPArrayController contentController;
|
||||
|
||||
|
||||
@outlet CPTableCellView view;
|
||||
@outlet CPImageView imageView;
|
||||
@outlet CPTextField textField;
|
||||
|
||||
CPArray images @accessors;
|
||||
}
|
||||
|
||||
- (id)init
|
||||
{
|
||||
self = [super init];
|
||||
|
||||
|
||||
images = [
|
||||
[CPDictionary dictionaryWithObjectsAndKeys:@"Brad", @"name", @"Resources/brad.jpg" ,@"path"],
|
||||
[CPDictionary dictionaryWithObjectsAndKeys:@"George",@"name", @"Resources/george.jpg",@"path"],
|
||||
[CPDictionary dictionaryWithObjectsAndKeys:@"John", @"name", @"Resources/john.jpg" ,@"path"]
|
||||
];
|
||||
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (CPView)makeOrangeView
|
||||
{
|
||||
var view = [[CustomView alloc] initWithFrame:CGRectMakeZero()];
|
||||
[view setIdentifier:@"Orange"];
|
||||
var orangeView = [[CustomView alloc] initWithFrame:CGRectMakeZero()];
|
||||
[orangeView setIdentifier:@"Orange"];
|
||||
|
||||
return view;
|
||||
return orangeView;
|
||||
}
|
||||
|
||||
- (CPArray)content
|
||||
@@ -116,16 +126,17 @@ var TABLE_DRAG_TYPE = @"TABLE_DRAG_TYPE",
|
||||
if (identifier == @"multiple")
|
||||
identifier = [[[self content] objectAtIndex:aRow] objectForKey:@"identifier"];
|
||||
|
||||
var view = [aTableView makeViewWithIdentifier:identifier owner:self];
|
||||
var aView = [aTableView makeViewWithIdentifier:identifier owner:self];
|
||||
|
||||
if (identifier == "Orange")
|
||||
{
|
||||
if (view == nil)
|
||||
view = [self makeOrangeView];
|
||||
[[view textField] setStringValue:aRow];
|
||||
if (aView == nil)
|
||||
aView = [self makeOrangeView];
|
||||
|
||||
[[aView textField] setStringValue:aRow];
|
||||
}
|
||||
|
||||
return view;
|
||||
return aView;
|
||||
}
|
||||
|
||||
- (BOOL)tableView:(CPTableView)aTableView writeRowsWithIndexes:(CPIndexSet)rowIndexes toPasteboard:(CPPasteboard)pboard
|
||||
@@ -172,25 +183,28 @@ var TABLE_DRAG_TYPE = @"TABLE_DRAG_TYPE",
|
||||
// This method is called each time a cib containing a CPTableCellView is instantiated.
|
||||
// Outlets are now connected and available.
|
||||
// If the view has its own xib, only the view will be instantiated and connected to the owner.
|
||||
CPLogConsole(_cmd + " externalView=" + externalView);
|
||||
[[externalView textField] setTextColor:[CPColor greenColor]];
|
||||
if (externalView)
|
||||
{
|
||||
CPLog.debug(_cmd + " loaded externalView : " + externalView);
|
||||
[[externalView textField] setTextColor:[CPColor greenColor]];
|
||||
}
|
||||
}
|
||||
|
||||
// CELL VIEWS ACTIONS
|
||||
- (IBAction)_sliderAction:(id)sender
|
||||
{
|
||||
// Action sent from a cellView subview to its target.
|
||||
CPLogConsole(_cmd);
|
||||
CPLog.debug(_cmd + " value=" + [sender doubleValue]);
|
||||
}
|
||||
|
||||
- (IBAction)_textFieldNotBezeledAction:(id)sender
|
||||
{
|
||||
CPLogConsole(_cmd + " value=" + [sender stringValue]);
|
||||
CPLog.debug(_cmd + " value=" + [sender stringValue]);
|
||||
}
|
||||
|
||||
- (IBAction)_textFieldBezeledAction:(id)sender
|
||||
{
|
||||
CPLogConsole(_cmd + " value=" + [sender stringValue]);
|
||||
CPLog.debug(_cmd + " value=" + [sender stringValue]);
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
/Volumes/GAMMA/DEVELOPPEMENT/cappuccino/cacaodev/Tests/Manual/TableTest/CPTrace.j
|
||||
File diff suppressed because one or more lines are too long
@@ -510,14 +510,6 @@
|
||||
</object>
|
||||
<int key="connectionID">596</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">contentController</string>
|
||||
<reference key="source" ref="635946545"/>
|
||||
<reference key="destination" ref="911121263"/>
|
||||
</object>
|
||||
<int key="connectionID">607</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBActionConnection" key="connection">
|
||||
<string key="label">trace:</string>
|
||||
@@ -559,41 +551,42 @@
|
||||
<int key="connectionID">698</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">textField</string>
|
||||
<object class="NSTableCellView" key="source" id="168286789">
|
||||
<object class="IBBindingConnection" key="connection">
|
||||
<string key="label">value: objectValue.image.name</string>
|
||||
<object class="NSTextField" key="source" id="833748488">
|
||||
<reference key="NSNextResponder" ref="168286789"/>
|
||||
<int key="NSvFlags">270</int>
|
||||
<string key="NSFrame">{{0, 66}, {82, 22}}</string>
|
||||
<reference key="NSSuperview" ref="168286789"/>
|
||||
<reference key="NSNextKeyView" ref="181030507"/>
|
||||
<string key="NSAntiCompressionPriority">{250, 750}</string>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="1011503142">
|
||||
<int key="NSCellFlags">67239488</int>
|
||||
<int key="NSCellFlags2">272631808</int>
|
||||
<string key="NSContents">Name</string>
|
||||
<reference key="NSSupport" ref="1069422166"/>
|
||||
<reference key="NSControlView" ref="833748488"/>
|
||||
<object class="NSColor" key="NSBackgroundColor" id="730748047">
|
||||
<int key="NSColorSpace">6</int>
|
||||
<string key="NSCatalogName">System</string>
|
||||
<string key="NSColorName">textBackgroundColor</string>
|
||||
<reference key="NSColor" ref="942125221"/>
|
||||
</object>
|
||||
<object class="NSColor" key="NSTextColor" id="10030680">
|
||||
<int key="NSColorSpace">6</int>
|
||||
<string key="NSCatalogName">System</string>
|
||||
<string key="NSColorName">textColor</string>
|
||||
<reference key="NSColor" ref="264166487"/>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSTableCellView" key="destination" id="168286789">
|
||||
<nil key="NSNextResponder"/>
|
||||
<int key="NSvFlags">319</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSTextField" id="833748488">
|
||||
<reference key="NSNextResponder" ref="168286789"/>
|
||||
<int key="NSvFlags">270</int>
|
||||
<string key="NSFrame">{{0, 66}, {82, 22}}</string>
|
||||
<reference key="NSSuperview" ref="168286789"/>
|
||||
<reference key="NSNextKeyView" ref="181030507"/>
|
||||
<string key="NSAntiCompressionPriority">{250, 750}</string>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="1011503142">
|
||||
<int key="NSCellFlags">67239488</int>
|
||||
<int key="NSCellFlags2">272631808</int>
|
||||
<string key="NSContents">Name</string>
|
||||
<reference key="NSSupport" ref="1069422166"/>
|
||||
<reference key="NSControlView" ref="833748488"/>
|
||||
<object class="NSColor" key="NSBackgroundColor" id="730748047">
|
||||
<int key="NSColorSpace">6</int>
|
||||
<string key="NSCatalogName">System</string>
|
||||
<string key="NSColorName">textBackgroundColor</string>
|
||||
<reference key="NSColor" ref="942125221"/>
|
||||
</object>
|
||||
<object class="NSColor" key="NSTextColor" id="10030680">
|
||||
<int key="NSColorSpace">6</int>
|
||||
<string key="NSCatalogName">System</string>
|
||||
<string key="NSColorName">textColor</string>
|
||||
<reference key="NSColor" ref="264166487"/>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<reference ref="833748488"/>
|
||||
<object class="NSImageView" id="838906353">
|
||||
<reference key="NSNextResponder" ref="168286789"/>
|
||||
<int key="NSvFlags">265</int>
|
||||
@@ -654,23 +647,6 @@
|
||||
<string key="NSFrame">{{1, 1}, {234, 91}}</string>
|
||||
<reference key="NSNextKeyView" ref="833748488"/>
|
||||
</object>
|
||||
<reference key="destination" ref="833748488"/>
|
||||
</object>
|
||||
<int key="connectionID">472</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">imageView</string>
|
||||
<reference key="source" ref="168286789"/>
|
||||
<reference key="destination" ref="838906353"/>
|
||||
</object>
|
||||
<int key="connectionID">496</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBBindingConnection" key="connection">
|
||||
<string key="label">value: objectValue.image.name</string>
|
||||
<reference key="source" ref="833748488"/>
|
||||
<reference key="destination" ref="168286789"/>
|
||||
<object class="NSNibBindingConnector" key="connector">
|
||||
<reference key="NSSource" ref="833748488"/>
|
||||
<reference key="NSDestination" ref="168286789"/>
|
||||
@@ -884,55 +860,47 @@
|
||||
<int key="connectionID">505</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">textField</string>
|
||||
<object class="NSTableCellView" key="source" id="628715400">
|
||||
<object class="IBBindingConnection" key="connection">
|
||||
<string key="label">value: objectValue.value</string>
|
||||
<object class="NSTextField" key="source" id="63016519">
|
||||
<reference key="NSNextResponder" ref="628715400"/>
|
||||
<int key="NSvFlags">298</int>
|
||||
<string key="NSFrame">{{12, 21}, {259, 36}}</string>
|
||||
<reference key="NSSuperview" ref="628715400"/>
|
||||
<reference key="NSNextKeyView" ref="68315013"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:20</string>
|
||||
<string key="NSAntiCompressionPriority">{250, 750}</string>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="469161236">
|
||||
<int key="NSCellFlags">341835777</int>
|
||||
<int key="NSCellFlags2">272629760</int>
|
||||
<string key="NSContents">Editable Text</string>
|
||||
<object class="NSFont" key="NSSupport">
|
||||
<string key="NSName">LucidaGrande</string>
|
||||
<double key="NSSize">26</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
<string key="NSCellIdentifier">_NS:20</string>
|
||||
<reference key="NSControlView" ref="63016519"/>
|
||||
<bool key="NSDrawsBackground">YES</bool>
|
||||
<object class="NSColor" key="NSBackgroundColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC45NTQ3MDAxMDA4AA</bytes>
|
||||
</object>
|
||||
<reference key="NSTextColor" ref="537790828"/>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSTableCellView" key="destination" id="628715400">
|
||||
<nil key="NSNextResponder"/>
|
||||
<int key="NSvFlags">296</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSTextField" id="63016519">
|
||||
<reference key="NSNextResponder" ref="628715400"/>
|
||||
<int key="NSvFlags">298</int>
|
||||
<string key="NSFrame">{{12, 21}, {259, 36}}</string>
|
||||
<reference key="NSSuperview" ref="628715400"/>
|
||||
<reference key="NSNextKeyView" ref="68315013"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:20</string>
|
||||
<string key="NSAntiCompressionPriority">{250, 750}</string>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="469161236">
|
||||
<int key="NSCellFlags">341835777</int>
|
||||
<int key="NSCellFlags2">272629760</int>
|
||||
<string key="NSContents">Editable Text</string>
|
||||
<object class="NSFont" key="NSSupport">
|
||||
<string key="NSName">LucidaGrande</string>
|
||||
<double key="NSSize">26</double>
|
||||
<int key="NSfFlags">16</int>
|
||||
</object>
|
||||
<string key="NSCellIdentifier">_NS:20</string>
|
||||
<reference key="NSControlView" ref="63016519"/>
|
||||
<bool key="NSDrawsBackground">YES</bool>
|
||||
<object class="NSColor" key="NSBackgroundColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
<bytes key="NSWhite">MC45NTQ3MDAxMDA4AA</bytes>
|
||||
</object>
|
||||
<reference key="NSTextColor" ref="537790828"/>
|
||||
</object>
|
||||
</object>
|
||||
<reference ref="63016519"/>
|
||||
</object>
|
||||
<string key="NSFrame">{{388, 1}, {284, 78}}</string>
|
||||
<reference key="NSNextKeyView" ref="63016519"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:9</string>
|
||||
</object>
|
||||
<reference key="destination" ref="63016519"/>
|
||||
</object>
|
||||
<int key="connectionID">527</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBBindingConnection" key="connection">
|
||||
<string key="label">value: objectValue.value</string>
|
||||
<reference key="source" ref="63016519"/>
|
||||
<reference key="destination" ref="628715400"/>
|
||||
<object class="NSNibBindingConnector" key="connector">
|
||||
<reference key="NSSource" ref="63016519"/>
|
||||
<reference key="NSDestination" ref="628715400"/>
|
||||
@@ -960,14 +928,6 @@
|
||||
</object>
|
||||
<int key="connectionID">574</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">textField</string>
|
||||
<reference key="source" ref="68315013"/>
|
||||
<reference key="destination" ref="125221523"/>
|
||||
</object>
|
||||
<int key="connectionID">541</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBBindingConnection" key="connection">
|
||||
<string key="label">value: objectValue.name</string>
|
||||
@@ -1001,33 +961,34 @@
|
||||
<int key="connectionID">590</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">textField</string>
|
||||
<object class="NSTableCellView" key="source" id="199134073">
|
||||
<object class="IBBindingConnection" key="connection">
|
||||
<string key="label">value: objectValue.identifier</string>
|
||||
<object class="NSTextField" key="source" id="851775218">
|
||||
<reference key="NSNextResponder" ref="199134073"/>
|
||||
<int key="NSvFlags">271</int>
|
||||
<string key="NSFrame">{{0, 65}, {234, 22}}</string>
|
||||
<reference key="NSSuperview" ref="199134073"/>
|
||||
<reference key="NSNextKeyView" ref="1009603010"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:20</string>
|
||||
<string key="NSAntiCompressionPriority">{250, 750}</string>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="81323732">
|
||||
<int key="NSCellFlags">67108928</int>
|
||||
<int key="NSCellFlags2">138414080</int>
|
||||
<string key="NSContents">Text</string>
|
||||
<reference key="NSSupport" ref="1069422166"/>
|
||||
<string key="NSCellIdentifier">_NS:20</string>
|
||||
<reference key="NSControlView" ref="851775218"/>
|
||||
<reference key="NSBackgroundColor" ref="614187381"/>
|
||||
<reference key="NSTextColor" ref="537790828"/>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSTableCellView" key="destination" id="199134073">
|
||||
<nil key="NSNextResponder"/>
|
||||
<int key="NSvFlags">319</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSTextField" id="851775218">
|
||||
<reference key="NSNextResponder" ref="199134073"/>
|
||||
<int key="NSvFlags">271</int>
|
||||
<string key="NSFrame">{{0, 65}, {234, 22}}</string>
|
||||
<reference key="NSSuperview" ref="199134073"/>
|
||||
<reference key="NSNextKeyView" ref="1009603010"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:20</string>
|
||||
<string key="NSAntiCompressionPriority">{250, 750}</string>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="81323732">
|
||||
<int key="NSCellFlags">67108928</int>
|
||||
<int key="NSCellFlags2">138414080</int>
|
||||
<string key="NSContents">Text</string>
|
||||
<reference key="NSSupport" ref="1069422166"/>
|
||||
<string key="NSCellIdentifier">_NS:20</string>
|
||||
<reference key="NSControlView" ref="851775218"/>
|
||||
<reference key="NSBackgroundColor" ref="614187381"/>
|
||||
<reference key="NSTextColor" ref="537790828"/>
|
||||
</object>
|
||||
</object>
|
||||
<reference ref="851775218"/>
|
||||
<object class="NSSegmentedControl" id="1009603010">
|
||||
<reference key="NSNextResponder" ref="199134073"/>
|
||||
<int key="NSvFlags">269</int>
|
||||
@@ -1074,15 +1035,6 @@
|
||||
<reference key="NSNextKeyView" ref="851775218"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:9</string>
|
||||
</object>
|
||||
<reference key="destination" ref="851775218"/>
|
||||
</object>
|
||||
<int key="connectionID">553</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBBindingConnection" key="connection">
|
||||
<string key="label">value: objectValue.identifier</string>
|
||||
<reference key="source" ref="851775218"/>
|
||||
<reference key="destination" ref="199134073"/>
|
||||
<object class="NSNibBindingConnector" key="connector">
|
||||
<reference key="NSSource" ref="851775218"/>
|
||||
<reference key="NSDestination" ref="199134073"/>
|
||||
@@ -1111,45 +1063,37 @@
|
||||
<int key="connectionID">621</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBOutletConnection" key="connection">
|
||||
<string key="label">textField</string>
|
||||
<object class="NSTableCellView" key="source" id="539562116">
|
||||
<object class="IBBindingConnection" key="connection">
|
||||
<string key="label">value: objectValue.value</string>
|
||||
<object class="NSTextField" key="source" id="209111605">
|
||||
<reference key="NSNextResponder" ref="539562116"/>
|
||||
<int key="NSvFlags">266</int>
|
||||
<string key="NSFrame">{{0, 57}, {147, 22}}</string>
|
||||
<reference key="NSSuperview" ref="539562116"/>
|
||||
<reference key="NSNextKeyView" ref="628715400"/>
|
||||
<string key="NSAntiCompressionPriority">{250, 750}</string>
|
||||
<int key="NSTag">666</int>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="261852168">
|
||||
<int key="NSCellFlags">337772097</int>
|
||||
<int key="NSCellFlags2">272631808</int>
|
||||
<string key="NSContents">Editable Text</string>
|
||||
<reference key="NSSupport" ref="1069422166"/>
|
||||
<reference key="NSControlView" ref="209111605"/>
|
||||
<reference key="NSBackgroundColor" ref="614187381"/>
|
||||
<reference key="NSTextColor" ref="537790828"/>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSTableCellView" key="destination" id="539562116">
|
||||
<nil key="NSNextResponder"/>
|
||||
<int key="NSvFlags">296</int>
|
||||
<object class="NSMutableArray" key="NSSubviews">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSTextField" id="209111605">
|
||||
<reference key="NSNextResponder" ref="539562116"/>
|
||||
<int key="NSvFlags">266</int>
|
||||
<string key="NSFrame">{{0, 57}, {147, 22}}</string>
|
||||
<reference key="NSSuperview" ref="539562116"/>
|
||||
<reference key="NSNextKeyView" ref="628715400"/>
|
||||
<string key="NSAntiCompressionPriority">{250, 750}</string>
|
||||
<int key="NSTag">666</int>
|
||||
<bool key="NSEnabled">YES</bool>
|
||||
<object class="NSTextFieldCell" key="NSCell" id="261852168">
|
||||
<int key="NSCellFlags">337772097</int>
|
||||
<int key="NSCellFlags2">272631808</int>
|
||||
<string key="NSContents">Editable Text</string>
|
||||
<reference key="NSSupport" ref="1069422166"/>
|
||||
<reference key="NSControlView" ref="209111605"/>
|
||||
<reference key="NSBackgroundColor" ref="614187381"/>
|
||||
<reference key="NSTextColor" ref="537790828"/>
|
||||
</object>
|
||||
</object>
|
||||
<reference ref="209111605"/>
|
||||
</object>
|
||||
<string key="NSFrame">{{238, 1}, {147, 87}}</string>
|
||||
<reference key="NSNextKeyView" ref="209111605"/>
|
||||
</object>
|
||||
<reference key="destination" ref="209111605"/>
|
||||
</object>
|
||||
<int key="connectionID">627</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBBindingConnection" key="connection">
|
||||
<string key="label">value: objectValue.value</string>
|
||||
<reference key="source" ref="209111605"/>
|
||||
<reference key="destination" ref="539562116"/>
|
||||
<object class="NSNibBindingConnector" key="connector">
|
||||
<reference key="NSSource" ref="209111605"/>
|
||||
<reference key="NSDestination" ref="539562116"/>
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user