• R/O
  • HTTP
  • SSH
  • HTTPS

CHNOSProject: Commit

CHNOSProjectのすべてのプロジェクトのソースのルート


Commit MetaInfo

Revisión43109f8146a56922cc48cc5308ff48950eca0365 (tree)
Tiempo2013-05-07 06:37:47
Autorhikarupsp <hikarupsp@user...>
Commiterhikarupsp

Log Message

SimpleHTMLEditorの修正

Cambiar Resumen

Diferencia incremental

Binary files a/CHNOSProject/CHNOSProject.xcodeproj/project.xcworkspace/xcuserdata/hikaru.xcuserdatad/UserInterfaceState.xcuserstate and b/CHNOSProject/CHNOSProject.xcodeproj/project.xcworkspace/xcuserdata/hikaru.xcuserdatad/UserInterfaceState.xcuserstate differ
--- a/CHNOSProject/SimpleHTMLEditor/SimpleHTMLEditor/AppDelegate.h
+++ b/CHNOSProject/SimpleHTMLEditor/SimpleHTMLEditor/AppDelegate.h
@@ -17,13 +17,16 @@
1717 IBOutlet NSTextView *sourceEditor;
1818 IBOutlet NSTextField *editingFileURILabel;
1919 IBOutlet NSMenuItem *MenuItem_SaveAs;
20+ IBOutlet NSTextView *logViewer;
2021 }
2122 - (IBAction)addressBarURIChanged:(id)sender;
2223 - (IBAction)openCurrentURIForEdit:(id)sender;
2324 - (void)openCurrentURIForEdit_sheetClosed:(id)sheet returnCode:(int)returnCode contextInfo:(id)contextInfo;
25+- (void)openCurrentURIForEdit_ReadURI;
2426 - (void)webView:(WebView *)sender didStartProvisionalLoadForFrame:(WebFrame *)frame;
2527 - (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender;
2628 - (IBAction)saveEditingDocumentForFile:(id)sender;
2729 - (IBAction)revertToSaved:(id)sender;
2830 - (void)revertToSaved_sheetClosed:(id)sheet returnCode:(int)returnCode contextInfo:(id)contextInfo;
31+- (IBAction)clearLogView:(id)sender;
2932 @end
--- a/CHNOSProject/SimpleHTMLEditor/SimpleHTMLEditor/AppDelegate.m
+++ b/CHNOSProject/SimpleHTMLEditor/SimpleHTMLEditor/AppDelegate.m
@@ -10,14 +10,23 @@
1010
1111 @implementation AppDelegate
1212
13+- (void)applicationDidFinishLaunching:(NSNotification *)notification
14+{
15+ //エディタフォント設定
16+ [sourceEditor setFont:[NSFont fontWithName:@"Source Code Pro" size:14]];
17+ //自動改行無効
18+ [[sourceEditor textContainer] setContainerSize:NSMakeSize(FLT_MAX, FLT_MAX)];
19+ [[sourceEditor textContainer] setWidthTracksTextView:NO];
20+ [sourceEditor setHorizontallyResizable:YES];
21+}
22+
1323 - (IBAction)addressBarURIChanged:(id)sender {
1424 mainWebView.mainFrameURL = addressBar.stringValue;
1525 }
1626
1727 - (IBAction)openCurrentURIForEdit:(id)sender {
1828 if([sourceEditor.string isEqualToString:@""]){
19- editingFileURILabel.stringValue = mainWebView.mainFrameURL;
20- sourceEditor.string = [mainWebView stringByEvaluatingJavaScriptFromString:@"document.getElementsByTagName('html')[0].innerHTML"];
29+ [self openCurrentURIForEdit_ReadURI];
2130 } else{
2231 NSBeginAlertSheet(@"SimpleHTMLEditor", @"No", @"Yes", nil, mainWindow, self.self, @selector(openCurrentURIForEdit_sheetClosed:returnCode:contextInfo:), nil, nil, @"Do you want to discard changes?");
2332 }
@@ -31,12 +40,18 @@
3140 break;
3241
3342 case NSAlertAlternateReturn:
34- editingFileURILabel.stringValue = mainWebView.mainFrameURL;
35- sourceEditor.string = [mainWebView stringByEvaluatingJavaScriptFromString:@"document.getElementsByTagName('html')[0].innerHTML"];
43+ [self openCurrentURIForEdit_ReadURI];
3644 break;
3745 }
3846 }
3947
48+- (void)openCurrentURIForEdit_ReadURI
49+{
50+ editingFileURILabel.stringValue = mainWebView.mainFrameURL;
51+
52+ //sourceEditor.string = [mainWebView stringByEvaluatingJavaScriptFromString:@"document.getElementsByTagName('html')[0].innerHTML"];
53+ sourceEditor.string = [NSString stringWithContentsOfURL:[NSURL URLWithString:mainWebView.mainFrameURL] encoding:NSUTF8StringEncoding error:nil];
54+}
4055
4156 - (void)webView:(WebView *)sender didStartProvisionalLoadForFrame:(WebFrame *)frame
4257 {
@@ -114,4 +129,29 @@
114129 }
115130 }
116131
132+- (void)webView:(WebView *)sender runJavaScriptAlertPanelWithMessage:(NSString *)message initiatedByFrame:(WebFrame *)frame
133+{
134+ NSRunAlertPanel(@"alert", message, @"OK", nil, nil);
135+}
136+
137+- (BOOL)webView:(WebView *)sender runJavaScriptConfirmPanelWithMessage:(NSString *)message initiatedByFrame:(WebFrame *)frame
138+{
139+ NSInteger result = NSRunAlertPanel(@"confirm", message, @"OK", @"Cancel", nil);
140+ if (result == NSAlertDefaultReturn) {
141+ return YES;
142+ }
143+ return NO;
144+}
145+
146+- (void) webView:(WebView*)webView addMessageToConsole:(NSDictionary*)message
147+{
148+ NSLog(@"%@", message);
149+ logViewer.string = [logViewer.string stringByAppendingFormat:@"%@\n", message];
150+}
151+
152+- (void) clearLogView:(id)sender
153+{
154+ logViewer.string = @"";
155+}
156+
117157 @end
--- a/CHNOSProject/SimpleHTMLEditor/SimpleHTMLEditor/en.lproj/MainMenu.xib
+++ b/CHNOSProject/SimpleHTMLEditor/SimpleHTMLEditor/en.lproj/MainMenu.xib
@@ -1350,8 +1350,9 @@
13501350 <string>public.url</string>
13511351 <string>public.url-name</string>
13521352 </set>
1353- <string key="NSFrame">{{20, 193}, {600, 237}}</string>
1353+ <string key="NSFrame">{{20, 20}, {150, 385}}</string>
13541354 <reference key="NSSuperview" ref="439893737"/>
1355+ <reference key="NSWindow"/>
13551356 <reference key="NSNextKeyView"/>
13561357 <string key="NSReuseIdentifierKey">_NS:9</string>
13571358 <string key="FrameName"/>
@@ -1372,6 +1373,7 @@
13721373 <int key="NSvFlags">265</int>
13731374 <string key="NSFrame">{{371, 432}, {88, 32}}</string>
13741375 <reference key="NSSuperview" ref="439893737"/>
1376+ <reference key="NSWindow"/>
13751377 <reference key="NSNextKeyView" ref="752587545"/>
13761378 <string key="NSReuseIdentifierKey">_NS:9</string>
13771379 <bool key="NSEnabled">YES</bool>
@@ -1399,6 +1401,7 @@
13991401 <int key="NSvFlags">266</int>
14001402 <string key="NSFrame">{{118, 438}, {251, 22}}</string>
14011403 <reference key="NSSuperview" ref="439893737"/>
1404+ <reference key="NSWindow"/>
14021405 <reference key="NSNextKeyView" ref="290833501"/>
14031406 <string key="NSReuseIdentifierKey">_NS:9</string>
14041407 <bool key="NSEnabled">YES</bool>
@@ -1432,7 +1435,7 @@
14321435 </object>
14331436 <object class="NSScrollView" id="818945437">
14341437 <reference key="NSNextResponder" ref="439893737"/>
1435- <int key="NSvFlags">290</int>
1438+ <int key="NSvFlags">273</int>
14361439 <array class="NSMutableArray" key="NSSubviews">
14371440 <object class="NSClipView" id="578083612">
14381441 <reference key="NSNextResponder" ref="818945437"/>
@@ -1441,9 +1444,29 @@
14411444 <object class="NSTextView" id="349933692">
14421445 <reference key="NSNextResponder" ref="578083612"/>
14431446 <int key="NSvFlags">2322</int>
1444- <string key="NSFrameSize">{598, 14}</string>
1447+ <set class="NSMutableSet" key="NSDragTypes">
1448+ <string>Apple HTML pasteboard type</string>
1449+ <string>Apple PDF pasteboard type</string>
1450+ <string>Apple PICT pasteboard type</string>
1451+ <string>Apple PNG pasteboard type</string>
1452+ <string>Apple URL pasteboard type</string>
1453+ <string>CorePasteboardFlavorType 0x6D6F6F76</string>
1454+ <string>NSColor pasteboard type</string>
1455+ <string>NSFilenamesPboardType</string>
1456+ <string>NSStringPboardType</string>
1457+ <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string>
1458+ <string>NeXT RTFD pasteboard type</string>
1459+ <string>NeXT Rich Text Format v1.0 pasteboard type</string>
1460+ <string>NeXT TIFF v4.0 pasteboard type</string>
1461+ <string>NeXT font pasteboard type</string>
1462+ <string>NeXT ruler pasteboard type</string>
1463+ <string>WebURLsWithTitlesPboardType</string>
1464+ <string>public.url</string>
1465+ </set>
1466+ <string key="NSFrameSize">{223, 14}</string>
14451467 <reference key="NSSuperview" ref="578083612"/>
1446- <reference key="NSNextKeyView" ref="250620422"/>
1468+ <reference key="NSWindow"/>
1469+ <reference key="NSNextKeyView" ref="757847827"/>
14471470 <string key="NSReuseIdentifierKey">_NS:13</string>
14481471 <object class="NSTextContainer" key="NSTextContainer" id="129892685">
14491472 <object class="NSLayoutManager" key="NSLayoutManager">
@@ -1460,16 +1483,16 @@
14601483 <nil key="NSDelegate"/>
14611484 </object>
14621485 <reference key="NSTextView" ref="349933692"/>
1463- <double key="NSWidth">598</double>
1486+ <double key="NSWidth">223</double>
14641487 <int key="NSTCFlags">1</int>
14651488 </object>
14661489 <object class="NSTextViewSharedData" key="NSSharedData">
1467- <int key="NSFlags">1073745795</int>
1490+ <int key="NSFlags">1073745667</int>
14681491 <int key="NSTextCheckingTypes">0</int>
14691492 <nil key="NSMarkedAttributes"/>
14701493 <reference key="NSBackgroundColor" ref="504051117"/>
14711494 <dictionary key="NSSelectedAttributes">
1472- <object class="NSColor" key="NSBackgroundColor">
1495+ <object class="NSColor" key="NSBackgroundColor" id="685307972">
14731496 <int key="NSColorSpace">6</int>
14741497 <string key="NSCatalogName">System</string>
14751498 <string key="NSColorName">selectedTextBackgroundColor</string>
@@ -1478,7 +1501,7 @@
14781501 <bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
14791502 </object>
14801503 </object>
1481- <object class="NSColor" key="NSColor">
1504+ <object class="NSColor" key="NSColor" id="794845291">
14821505 <int key="NSColorSpace">6</int>
14831506 <string key="NSCatalogName">System</string>
14841507 <string key="NSColorName">selectedTextColor</string>
@@ -1487,11 +1510,11 @@
14871510 </dictionary>
14881511 <reference key="NSInsertionColor" ref="130771633"/>
14891512 <dictionary key="NSLinkAttributes">
1490- <object class="NSColor" key="NSColor">
1513+ <object class="NSColor" key="NSColor" id="937874844">
14911514 <int key="NSColorSpace">1</int>
14921515 <bytes key="NSRGB">MCAwIDEAA</bytes>
14931516 </object>
1494- <object class="NSCursor" key="NSCursor">
1517+ <object class="NSCursor" key="NSCursor" id="738390954">
14951518 <string key="NSHotSpot">{8, -8}</string>
14961519 <int key="NSCursorType">13</int>
14971520 </object>
@@ -1501,14 +1524,15 @@
15011524 <nil key="NSTextFinder"/>
15021525 <int key="NSPreferredTextFinderStyle">2</int>
15031526 </object>
1504- <int key="NSTVFlags">6</int>
1505- <string key="NSMaxSize">{598, 10000000}</string>
1527+ <int key="NSTVFlags">7</int>
1528+ <string key="NSMaxSize">{10000000, 10000000}</string>
15061529 <string key="NSMinize">{223, 0}</string>
15071530 <nil key="NSDelegate"/>
15081531 </object>
15091532 </array>
1510- <string key="NSFrame">{{1, 1}, {598, 138}}</string>
1533+ <string key="NSFrame">{{1, 1}, {440, 298}}</string>
15111534 <reference key="NSSuperview" ref="818945437"/>
1535+ <reference key="NSWindow"/>
15121536 <reference key="NSNextKeyView" ref="349933692"/>
15131537 <string key="NSReuseIdentifierKey">_NS:11</string>
15141538 <reference key="NSDocView" ref="349933692"/>
@@ -1526,7 +1550,7 @@
15261550 </object>
15271551 </array>
15281552 </array>
1529- <object class="NSColor" key="NSColor">
1553+ <object class="NSColor" key="NSColor" id="602753794">
15301554 <int key="NSColorSpace">3</int>
15311555 <bytes key="NSWhite">MCAwAA</bytes>
15321556 </object>
@@ -1537,9 +1561,10 @@
15371561 <object class="NSScroller" id="250620422">
15381562 <reference key="NSNextResponder" ref="818945437"/>
15391563 <int key="NSvFlags">256</int>
1540- <string key="NSFrame">{{584, 1}, {15, 138}}</string>
1564+ <string key="NSFrame">{{426, 1}, {15, 292}}</string>
15411565 <reference key="NSSuperview" ref="818945437"/>
1542- <reference key="NSNextKeyView"/>
1566+ <reference key="NSWindow"/>
1567+ <reference key="NSNextKeyView" ref="1070870946"/>
15431568 <string key="NSReuseIdentifierKey">_NS:83</string>
15441569 <reference key="NSTarget" ref="818945437"/>
15451570 <string key="NSAction">_doScroller:</string>
@@ -1548,10 +1573,11 @@
15481573 </object>
15491574 <object class="NSScroller" id="757847827">
15501575 <reference key="NSNextResponder" ref="818945437"/>
1551- <int key="NSvFlags">-2147483392</int>
1552- <string key="NSFrame">{{-100, -100}, {87, 18}}</string>
1576+ <int key="NSvFlags">256</int>
1577+ <string key="NSFrame">{{1, 284}, {434, 15}}</string>
15531578 <reference key="NSSuperview" ref="818945437"/>
1554- <reference key="NSNextKeyView" ref="578083612"/>
1579+ <reference key="NSWindow"/>
1580+ <reference key="NSNextKeyView" ref="250620422"/>
15551581 <string key="NSReuseIdentifierKey">_NS:33</string>
15561582 <int key="NSsFlags">1</int>
15571583 <reference key="NSTarget" ref="818945437"/>
@@ -1560,11 +1586,12 @@
15601586 <double key="NSPercent">0.94565218687057495</double>
15611587 </object>
15621588 </array>
1563- <string key="NSFrame">{{20, 20}, {600, 140}}</string>
1589+ <string key="NSFrame">{{178, 107}, {442, 300}}</string>
15641590 <reference key="NSSuperview" ref="439893737"/>
1565- <reference key="NSNextKeyView" ref="757847827"/>
1591+ <reference key="NSWindow"/>
1592+ <reference key="NSNextKeyView" ref="578083612"/>
15661593 <string key="NSReuseIdentifierKey">_NS:9</string>
1567- <int key="NSsFlags">133138</int>
1594+ <int key="NSsFlags">133170</int>
15681595 <reference key="NSVScroller" ref="250620422"/>
15691596 <reference key="NSHScroller" ref="757847827"/>
15701597 <reference key="NSContentView" ref="578083612"/>
@@ -1574,7 +1601,8 @@
15741601 <int key="NSvFlags">265</int>
15751602 <string key="NSFrame">{{454, 432}, {172, 32}}</string>
15761603 <reference key="NSSuperview" ref="439893737"/>
1577- <reference key="NSNextKeyView" ref="397130481"/>
1604+ <reference key="NSWindow"/>
1605+ <reference key="NSNextKeyView" ref="353291879"/>
15781606 <string key="NSReuseIdentifierKey">_NS:9</string>
15791607 <bool key="NSEnabled">YES</bool>
15801608 <object class="NSButtonCell" key="NSCell" id="126920761">
@@ -1594,14 +1622,15 @@
15941622 </object>
15951623 <object class="NSTextField" id="353291879">
15961624 <reference key="NSNextResponder" ref="439893737"/>
1597- <int key="NSvFlags">258</int>
1598- <string key="NSFrame">{{17, 168}, {606, 17}}</string>
1625+ <int key="NSvFlags">266</int>
1626+ <string key="NSFrame">{{17, 415}, {595, 17}}</string>
15991627 <reference key="NSSuperview" ref="439893737"/>
1600- <reference key="NSNextKeyView" ref="818945437"/>
1628+ <reference key="NSWindow"/>
1629+ <reference key="NSNextKeyView" ref="1022527416"/>
16011630 <string key="NSReuseIdentifierKey">_NS:1535</string>
16021631 <bool key="NSEnabled">YES</bool>
16031632 <object class="NSTextFieldCell" key="NSCell" id="43496154">
1604- <int key="NSCellFlags">68157504</int>
1633+ <int key="NSCellFlags">70254657</int>
16051634 <int key="NSCellFlags2">272630784</int>
16061635 <string key="NSContents"/>
16071636 <reference key="NSSupport" ref="397033496"/>
@@ -1627,6 +1656,7 @@
16271656 <int key="NSvFlags">268</int>
16281657 <string key="NSFrame">{{14, 432}, {51, 32}}</string>
16291658 <reference key="NSSuperview" ref="439893737"/>
1659+ <reference key="NSWindow"/>
16301660 <reference key="NSNextKeyView" ref="640021379"/>
16311661 <string key="NSReuseIdentifierKey">_NS:9</string>
16321662 <bool key="NSEnabled">YES</bool>
@@ -1650,6 +1680,7 @@
16501680 <int key="NSvFlags">268</int>
16511681 <string key="NSFrame">{{65, 432}, {51, 32}}</string>
16521682 <reference key="NSSuperview" ref="439893737"/>
1683+ <reference key="NSWindow"/>
16531684 <reference key="NSNextKeyView" ref="861735066"/>
16541685 <string key="NSReuseIdentifierKey">_NS:9</string>
16551686 <bool key="NSEnabled">YES</bool>
@@ -1668,9 +1699,156 @@
16681699 <int key="NSPeriodicInterval">25</int>
16691700 </object>
16701701 </object>
1702+ <object class="NSScrollView" id="1070870946">
1703+ <reference key="NSNextResponder" ref="439893737"/>
1704+ <int key="NSvFlags">289</int>
1705+ <array class="NSMutableArray" key="NSSubviews">
1706+ <object class="NSClipView" id="737035130">
1707+ <reference key="NSNextResponder" ref="1070870946"/>
1708+ <int key="NSvFlags">2304</int>
1709+ <array class="NSMutableArray" key="NSSubviews">
1710+ <object class="NSTextView" id="558645093">
1711+ <reference key="NSNextResponder" ref="737035130"/>
1712+ <int key="NSvFlags">2322</int>
1713+ <string key="NSFrameSize">{440, 76}</string>
1714+ <reference key="NSSuperview" ref="737035130"/>
1715+ <reference key="NSWindow"/>
1716+ <reference key="NSNextKeyView" ref="724337305"/>
1717+ <string key="NSReuseIdentifierKey">_NS:13</string>
1718+ <object class="NSTextContainer" key="NSTextContainer" id="514604376">
1719+ <object class="NSLayoutManager" key="NSLayoutManager">
1720+ <object class="NSTextStorage" key="NSTextStorage">
1721+ <object class="NSMutableString" key="NSString">
1722+ <characters key="NS.bytes"/>
1723+ </object>
1724+ <nil key="NSDelegate"/>
1725+ </object>
1726+ <array class="NSMutableArray" key="NSTextContainers">
1727+ <reference ref="514604376"/>
1728+ </array>
1729+ <int key="NSLMFlags">166</int>
1730+ <nil key="NSDelegate"/>
1731+ </object>
1732+ <reference key="NSTextView" ref="558645093"/>
1733+ <double key="NSWidth">440</double>
1734+ <int key="NSTCFlags">1</int>
1735+ </object>
1736+ <object class="NSTextViewSharedData" key="NSSharedData">
1737+ <int key="NSFlags">12261</int>
1738+ <int key="NSTextCheckingTypes">0</int>
1739+ <nil key="NSMarkedAttributes"/>
1740+ <reference key="NSBackgroundColor" ref="504051117"/>
1741+ <dictionary key="NSSelectedAttributes">
1742+ <reference key="NSBackgroundColor" ref="685307972"/>
1743+ <reference key="NSColor" ref="794845291"/>
1744+ </dictionary>
1745+ <reference key="NSInsertionColor" ref="130771633"/>
1746+ <dictionary key="NSLinkAttributes">
1747+ <reference key="NSColor" ref="937874844"/>
1748+ <reference key="NSCursor" ref="738390954"/>
1749+ <integer value="1" key="NSUnderline"/>
1750+ </dictionary>
1751+ <nil key="NSDefaultParagraphStyle"/>
1752+ <nil key="NSTextFinder"/>
1753+ <int key="NSPreferredTextFinderStyle">1</int>
1754+ </object>
1755+ <int key="NSTVFlags">6</int>
1756+ <string key="NSMaxSize">{463, 10000000}</string>
1757+ <string key="NSMinize">{223, 76}</string>
1758+ <nil key="NSDelegate"/>
1759+ </object>
1760+ </array>
1761+ <string key="NSFrame">{{1, 1}, {440, 77}}</string>
1762+ <reference key="NSSuperview" ref="1070870946"/>
1763+ <reference key="NSWindow"/>
1764+ <reference key="NSNextKeyView" ref="558645093"/>
1765+ <string key="NSReuseIdentifierKey">_NS:11</string>
1766+ <reference key="NSDocView" ref="558645093"/>
1767+ <reference key="NSBGColor" ref="504051117"/>
1768+ <object class="NSCursor" key="NSCursor">
1769+ <string key="NSHotSpot">{4, 5}</string>
1770+ <object class="NSImage" key="NSImage">
1771+ <int key="NSImageFlags">79691776</int>
1772+ <array key="NSReps">
1773+ <array>
1774+ <integer value="5"/>
1775+ <object class="NSURL">
1776+ <nil key="NS.base"/>
1777+ <string key="NS.relative">file://localhost/Applications/Xcode.app/Contents/SharedFrameworks/DVTKit.framework/Resources/DVTIbeamCursor.tiff</string>
1778+ </object>
1779+ </array>
1780+ </array>
1781+ <reference key="NSColor" ref="602753794"/>
1782+ </object>
1783+ </object>
1784+ <int key="NScvFlags">4</int>
1785+ </object>
1786+ <object class="NSScroller" id="724337305">
1787+ <reference key="NSNextResponder" ref="1070870946"/>
1788+ <int key="NSvFlags">256</int>
1789+ <string key="NSFrame">{{426, 1}, {15, 77}}</string>
1790+ <reference key="NSSuperview" ref="1070870946"/>
1791+ <reference key="NSWindow"/>
1792+ <reference key="NSNextKeyView"/>
1793+ <string key="NSReuseIdentifierKey">_NS:83</string>
1794+ <reference key="NSTarget" ref="1070870946"/>
1795+ <string key="NSAction">_doScroller:</string>
1796+ <double key="NSCurValue">1</double>
1797+ <double key="NSPercent">0.85256409645080566</double>
1798+ </object>
1799+ <object class="NSScroller" id="616178616">
1800+ <reference key="NSNextResponder" ref="1070870946"/>
1801+ <int key="NSvFlags">-2147483392</int>
1802+ <string key="NSFrame">{{-100, -100}, {87, 18}}</string>
1803+ <reference key="NSSuperview" ref="1070870946"/>
1804+ <reference key="NSWindow"/>
1805+ <reference key="NSNextKeyView" ref="737035130"/>
1806+ <string key="NSReuseIdentifierKey">_NS:33</string>
1807+ <int key="NSsFlags">1</int>
1808+ <reference key="NSTarget" ref="1070870946"/>
1809+ <string key="NSAction">_doScroller:</string>
1810+ <double key="NSCurValue">1</double>
1811+ <double key="NSPercent">0.94565218687057495</double>
1812+ </object>
1813+ </array>
1814+ <string key="NSFrame">{{178, 20}, {442, 79}}</string>
1815+ <reference key="NSSuperview" ref="439893737"/>
1816+ <reference key="NSWindow"/>
1817+ <reference key="NSNextKeyView" ref="616178616"/>
1818+ <string key="NSReuseIdentifierKey">_NS:9</string>
1819+ <int key="NSsFlags">133138</int>
1820+ <reference key="NSVScroller" ref="724337305"/>
1821+ <reference key="NSHScroller" ref="616178616"/>
1822+ <reference key="NSContentView" ref="737035130"/>
1823+ </object>
1824+ <object class="NSButton" id="1022527416">
1825+ <reference key="NSNextResponder" ref="439893737"/>
1826+ <int key="NSvFlags">265</int>
1827+ <string key="NSFrame">{{526, 405}, {100, 32}}</string>
1828+ <reference key="NSSuperview" ref="439893737"/>
1829+ <reference key="NSWindow"/>
1830+ <reference key="NSNextKeyView" ref="397130481"/>
1831+ <string key="NSReuseIdentifierKey">_NS:9</string>
1832+ <bool key="NSEnabled">YES</bool>
1833+ <object class="NSButtonCell" key="NSCell" id="977002479">
1834+ <int key="NSCellFlags">67108864</int>
1835+ <int key="NSCellFlags2">134217728</int>
1836+ <string key="NSContents">Clear Log</string>
1837+ <reference key="NSSupport" ref="397033496"/>
1838+ <string key="NSCellIdentifier">_NS:9</string>
1839+ <reference key="NSControlView" ref="1022527416"/>
1840+ <int key="NSButtonFlags">-2038284288</int>
1841+ <int key="NSButtonFlags2">129</int>
1842+ <string key="NSAlternateContents"/>
1843+ <string key="NSKeyEquivalent"/>
1844+ <int key="NSPeriodicDelay">200</int>
1845+ <int key="NSPeriodicInterval">25</int>
1846+ </object>
1847+ </object>
16711848 </array>
16721849 <string key="NSFrameSize">{640, 480}</string>
16731850 <reference key="NSSuperview"/>
1851+ <reference key="NSWindow"/>
16741852 <reference key="NSNextKeyView" ref="497826741"/>
16751853 </object>
16761854 <string key="NSScreenRect">{{0, 0}, {1920, 1178}}</string>
@@ -2432,6 +2610,22 @@
24322610 <int key="connectionID">728</int>
24332611 </object>
24342612 <object class="IBConnectionRecord">
2613+ <object class="IBOutletConnection" key="connection">
2614+ <string key="label">logViewer</string>
2615+ <reference key="source" ref="976324537"/>
2616+ <reference key="destination" ref="558645093"/>
2617+ </object>
2618+ <int key="connectionID">738</int>
2619+ </object>
2620+ <object class="IBConnectionRecord">
2621+ <object class="IBActionConnection" key="connection">
2622+ <string key="label">clearLogView:</string>
2623+ <reference key="source" ref="976324537"/>
2624+ <reference key="destination" ref="1022527416"/>
2625+ </object>
2626+ <int key="connectionID">742</int>
2627+ </object>
2628+ <object class="IBConnectionRecord">
24352629 <object class="IBActionConnection" key="connection">
24362630 <string key="label">goBack:</string>
24372631 <reference key="source" ref="397130481"/>
@@ -2456,12 +2650,20 @@
24562650 <int key="connectionID">720</int>
24572651 </object>
24582652 <object class="IBConnectionRecord">
2653+ <object class="IBOutletConnection" key="connection">
2654+ <string key="label">UIDelegate</string>
2655+ <reference key="source" ref="397130481"/>
2656+ <reference key="destination" ref="976324537"/>
2657+ </object>
2658+ <int key="connectionID">741</int>
2659+ </object>
2660+ <object class="IBConnectionRecord">
24592661 <object class="IBActionConnection" key="connection">
24602662 <string key="label">reload:</string>
24612663 <reference key="source" ref="397130481"/>
24622664 <reference key="destination" ref="290833501"/>
24632665 </object>
2464- <int key="connectionID">721</int>
2666+ <int key="connectionID">745</int>
24652667 </object>
24662668 <object class="IBConnectionRecord">
24672669 <object class="IBActionConnection" key="connection">
@@ -2469,7 +2671,7 @@
24692671 <reference key="source" ref="397130481"/>
24702672 <reference key="destination" ref="789752117"/>
24712673 </object>
2472- <int key="connectionID">733</int>
2674+ <int key="connectionID">746</int>
24732675 </object>
24742676 </array>
24752677 <object class="IBMutableOrderedSet" key="objectRecords">
@@ -2998,14 +3200,16 @@
29983200 <int key="objectID">372</int>
29993201 <reference key="object" ref="439893737"/>
30003202 <array class="NSMutableArray" key="children">
3001- <reference ref="818945437"/>
3002- <reference ref="397130481"/>
3003- <reference ref="353291879"/>
30043203 <reference ref="497826741"/>
30053204 <reference ref="640021379"/>
30063205 <reference ref="861735066"/>
30073206 <reference ref="752587545"/>
30083207 <reference ref="290833501"/>
3208+ <reference ref="397130481"/>
3209+ <reference ref="353291879"/>
3210+ <reference ref="818945437"/>
3211+ <reference ref="1070870946"/>
3212+ <reference ref="1022527416"/>
30093213 </array>
30103214 <reference key="parent" ref="972006081"/>
30113215 </object>
@@ -3601,6 +3805,44 @@
36013805 <reference key="object" ref="789752117"/>
36023806 <reference key="parent" ref="466310130"/>
36033807 </object>
3808+ <object class="IBObjectRecord">
3809+ <int key="objectID">734</int>
3810+ <reference key="object" ref="1070870946"/>
3811+ <array class="NSMutableArray" key="children">
3812+ <reference ref="558645093"/>
3813+ <reference ref="616178616"/>
3814+ <reference ref="724337305"/>
3815+ </array>
3816+ <reference key="parent" ref="439893737"/>
3817+ </object>
3818+ <object class="IBObjectRecord">
3819+ <int key="objectID">735</int>
3820+ <reference key="object" ref="558645093"/>
3821+ <reference key="parent" ref="1070870946"/>
3822+ </object>
3823+ <object class="IBObjectRecord">
3824+ <int key="objectID">736</int>
3825+ <reference key="object" ref="616178616"/>
3826+ <reference key="parent" ref="1070870946"/>
3827+ </object>
3828+ <object class="IBObjectRecord">
3829+ <int key="objectID">737</int>
3830+ <reference key="object" ref="724337305"/>
3831+ <reference key="parent" ref="1070870946"/>
3832+ </object>
3833+ <object class="IBObjectRecord">
3834+ <int key="objectID">739</int>
3835+ <reference key="object" ref="1022527416"/>
3836+ <array class="NSMutableArray" key="children">
3837+ <reference ref="977002479"/>
3838+ </array>
3839+ <reference key="parent" ref="439893737"/>
3840+ </object>
3841+ <object class="IBObjectRecord">
3842+ <int key="objectID">740</int>
3843+ <reference key="object" ref="977002479"/>
3844+ <reference key="parent" ref="1022527416"/>
3845+ </object>
36043846 </array>
36053847 </object>
36063848 <dictionary class="NSMutableDictionary" key="flattenedProperties">
@@ -3753,6 +3995,11 @@
37533995 <string key="57.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
37543996 <string key="58.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
37553997 <string key="592.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
3998+ <object class="NSMutableAttributedString" key="592.notes">
3999+ <object class="NSMutableString" key="NSString">
4000+ <characters key="NS.bytes"/>
4001+ </object>
4002+ </object>
37564003 <string key="593.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
37574004 <boolean value="NO" key="593.usesInspectorBar"/>
37584005 <string key="594.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -3769,7 +4016,13 @@
37694016 <string key="72.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
37704017 <string key="73.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
37714018 <string key="731.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
4019+ <string key="734.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
4020+ <string key="735.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
4021+ <string key="736.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
4022+ <string key="737.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
4023+ <string key="739.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
37724024 <string key="74.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
4025+ <string key="740.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
37734026 <string key="75.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
37744027 <string key="77.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
37754028 <string key="78.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -3783,9 +4036,88 @@
37834036 <nil key="activeLocalization"/>
37844037 <dictionary class="NSMutableDictionary" key="localizations"/>
37854038 <nil key="sourceID"/>
3786- <int key="maxID">733</int>
4039+ <int key="maxID">746</int>
4040+ </object>
4041+ <object class="IBClassDescriber" key="IBDocument.Classes">
4042+ <array class="NSMutableArray" key="referencedPartialClassDescriptions">
4043+ <object class="IBPartialClassDescription">
4044+ <string key="className">AppDelegate</string>
4045+ <string key="superclassName">NSObject</string>
4046+ <dictionary class="NSMutableDictionary" key="actions">
4047+ <string key="addressBarURIChanged:">id</string>
4048+ <string key="clearLogView:">id</string>
4049+ <string key="openCurrentURIForEdit:">id</string>
4050+ <string key="revertToSaved:">id</string>
4051+ <string key="saveEditingDocumentForFile:">id</string>
4052+ </dictionary>
4053+ <dictionary class="NSMutableDictionary" key="actionInfosByName">
4054+ <object class="IBActionInfo" key="addressBarURIChanged:">
4055+ <string key="name">addressBarURIChanged:</string>
4056+ <string key="candidateClassName">id</string>
4057+ </object>
4058+ <object class="IBActionInfo" key="clearLogView:">
4059+ <string key="name">clearLogView:</string>
4060+ <string key="candidateClassName">id</string>
4061+ </object>
4062+ <object class="IBActionInfo" key="openCurrentURIForEdit:">
4063+ <string key="name">openCurrentURIForEdit:</string>
4064+ <string key="candidateClassName">id</string>
4065+ </object>
4066+ <object class="IBActionInfo" key="revertToSaved:">
4067+ <string key="name">revertToSaved:</string>
4068+ <string key="candidateClassName">id</string>
4069+ </object>
4070+ <object class="IBActionInfo" key="saveEditingDocumentForFile:">
4071+ <string key="name">saveEditingDocumentForFile:</string>
4072+ <string key="candidateClassName">id</string>
4073+ </object>
4074+ </dictionary>
4075+ <dictionary class="NSMutableDictionary" key="outlets">
4076+ <string key="MenuItem_SaveAs">NSMenuItem</string>
4077+ <string key="addressBar">NSTextField</string>
4078+ <string key="editingFileURILabel">NSTextField</string>
4079+ <string key="logViewer">NSTextView</string>
4080+ <string key="mainWebView">WebView</string>
4081+ <string key="mainWindow">NSWindow</string>
4082+ <string key="sourceEditor">NSTextView</string>
4083+ </dictionary>
4084+ <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
4085+ <object class="IBToOneOutletInfo" key="MenuItem_SaveAs">
4086+ <string key="name">MenuItem_SaveAs</string>
4087+ <string key="candidateClassName">NSMenuItem</string>
4088+ </object>
4089+ <object class="IBToOneOutletInfo" key="addressBar">
4090+ <string key="name">addressBar</string>
4091+ <string key="candidateClassName">NSTextField</string>
4092+ </object>
4093+ <object class="IBToOneOutletInfo" key="editingFileURILabel">
4094+ <string key="name">editingFileURILabel</string>
4095+ <string key="candidateClassName">NSTextField</string>
4096+ </object>
4097+ <object class="IBToOneOutletInfo" key="logViewer">
4098+ <string key="name">logViewer</string>
4099+ <string key="candidateClassName">NSTextView</string>
4100+ </object>
4101+ <object class="IBToOneOutletInfo" key="mainWebView">
4102+ <string key="name">mainWebView</string>
4103+ <string key="candidateClassName">WebView</string>
4104+ </object>
4105+ <object class="IBToOneOutletInfo" key="mainWindow">
4106+ <string key="name">mainWindow</string>
4107+ <string key="candidateClassName">NSWindow</string>
4108+ </object>
4109+ <object class="IBToOneOutletInfo" key="sourceEditor">
4110+ <string key="name">sourceEditor</string>
4111+ <string key="candidateClassName">NSTextView</string>
4112+ </object>
4113+ </dictionary>
4114+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
4115+ <string key="majorKey">IBProjectSource</string>
4116+ <string key="minorKey">./Classes/AppDelegate.h</string>
4117+ </object>
4118+ </object>
4119+ </array>
37874120 </object>
3788- <object class="IBClassDescriber" key="IBDocument.Classes"/>
37894121 <int key="IBDocument.localizationMode">0</int>
37904122 <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string>
37914123 <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
Show on old repository browser