From 42124b3691197c3c4f52f069775fa0390a8ff942 Mon Sep 17 00:00:00 2001 From: dmaclach Date: Fri, 7 Oct 2016 12:10:23 -0400 Subject: First cut at pruning things/updating things. Remove a bunch of code that Google stopped using/maintaining rather than trying to update it it. Some would be hard to update, some actually has system provided replacements; others are patterns that just don't seem as common now. Prune out the code related to macOS <= 10.5, start pruning some of the really old iOS support also. Get the projects mostly limping again with modern Xcodes so tests can be run. If someone ends up on this commit via history for something they still find as useful, feel free to do a pull request to bring the snippet of code back to life and update it for current SDKs. --- AppKit/GTMUILocalizerAndLayoutTweakerTest4.xib | 2266 +++--------------------- 1 file changed, 261 insertions(+), 2005 deletions(-) (limited to 'AppKit/GTMUILocalizerAndLayoutTweakerTest4.xib') diff --git a/AppKit/GTMUILocalizerAndLayoutTweakerTest4.xib b/AppKit/GTMUILocalizerAndLayoutTweakerTest4.xib index 1a77faf..e0a69ce 100644 --- a/AppKit/GTMUILocalizerAndLayoutTweakerTest4.xib +++ b/AppKit/GTMUILocalizerAndLayoutTweakerTest4.xib @@ -1,2005 +1,261 @@ - - - - 1050 - 10D2063a - 762 - 1038.29 - 460.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 762 - - - YES - - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - YES - - - - YES - - GTMUILocalizerAndLayoutTweakerTestWindowController - - - FirstResponder - - - NSApplication - - - 15 - 2 - {{71, 158}, {734, 294}} - 536870912 - Window - NSWindow - - {1.79769e+308, 1.79769e+308} - - - 256 - - YES - - - 268 - - YES - - - 268 - {{18, 39}, {96, 18}} - - YES - - -2080244224 - 0 - W:4:12 - - LucidaGrande - 13 - 1044 - - - 1211912703 - 2 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - - 268 - {{20, 146}, {96, 19}} - - YES - - -2080244224 - 134217728 - W:4:12 - - LucidaGrande - 12 - 16 - - - -2038152961 - 164 - - - 400 - 75 - - - - - 268 - {{20, 121}, {96, 19}} - - YES - - -2080244224 - 134217728 - W:4:12 - - LucidaGrande-Bold - 12 - 16 - - - -1232846593 - 173 - - - 400 - 75 - - - - - 268 - {{20, 62}, {96, 25}} - - YES - - 67239424 - 134217728 - W:4:12 - - - -2038152961 - 163 - - - 400 - 75 - - - - - 268 - {{18, 18}, {96, 18}} - - YES - - -2080244224 - 0 - W:4:12 - - - 1211912703 - 2 - - NSImage - NSRadioButton - - - NSRadioButton - - - - 200 - 25 - - - - - 268 - {{19, 89}, {96, 27}} - - YES - - -2080244224 - 134217728 - W:4:12 - - - -2033434369 - 160 - - - 400 - 75 - - - - - 268 - {{20, 172}, {96, 23}} - - YES - - -2080244224 - 134217728 - W:4:12 - - - -2033434369 - 162 - - - 400 - 75 - - - - - 268 - {{14, 196}, {96, 32}} - - YES - - 67239424 - 134217728 - W:4:12 - - - -2038284033 - 129 - - - 200 - 25 - - - - {{0, 50}, {136, 244}} - - GTMWidthBasedTweaker - - - - 268 - - YES - - - 268 - {{20, 62}, {96, 25}} - - YES - - -2080244224 - 134348800 - W:4:12 - - LucidaGrande - 11 - 3100 - - - -2038152961 - 163 - - - 400 - 75 - - - - - 268 - {{15, 200}, {96, 28}} - - YES - - 67239424 - 134348800 - W:4:12 - - - -2038284033 - 129 - - - 200 - 25 - - - - - 268 - {{20, 98}, {96, 18}} - - YES - - -2080244224 - 134348800 - W:4:12 - - - -2033434369 - 160 - - - 400 - 75 - - - - - 268 - {{20, 123}, {96, 17}} - - YES - - -2080244224 - 134348800 - W:4:12 - - - -1232846593 - 173 - - - 400 - 75 - - - - - 268 - {{17, 39}, {96, 18}} - - YES - - -2080244224 - 131072 - W:4:12 - - - 1211912703 - 2 - - - - - 200 - 25 - - - - - 268 - {{20, 148}, {96, 17}} - - YES - - -2080244224 - 134348800 - W:4:12 - - - -2038152961 - 164 - - - 400 - 75 - - - - - 268 - {{20, 172}, {96, 23}} - - YES - - -2080244224 - 134348800 - W:4:12 - - - -2033434369 - 162 - - - 400 - 75 - - - - - 268 - {{18, 18}, {96, 18}} - - YES - - -2080244224 - 131072 - W:4:12 - - - 1211912703 - 2 - - - - - 200 - 25 - - - - {{242, 50}, {137, 244}} - - GTMWidthBasedTweaker - - - - 268 - - YES - - - 268 - {{20, 170}, {96, 23}} - - YES - - -2080244224 - 134479872 - W:4:12 - - LucidaGrande - 9 - 3614 - - - -2033434369 - 162 - - - 400 - 75 - - - - - 268 - {{20, 121}, {96, 17}} - - YES - - -2080244224 - 134479872 - W:4:12 - - - -1232846593 - 173 - - - 400 - 75 - - - - - 268 - {{16, 37}, {96, 18}} - - YES - - -2080244224 - 262144 - W:4:12 - - - 1211912703 - 2 - - - - - 200 - 25 - - - - - 268 - {{20, 60}, {96, 25}} - - YES - - -2080244224 - 134479872 - W:4:12 - - - -2038152961 - 163 - - - 400 - 75 - - - - - 268 - {{19, 210}, {96, 16}} - - YES - - 67239424 - 134479872 - W:4:12 - - - -2038284033 - 129 - - - 200 - 25 - - - - - 268 - {{20, 146}, {96, 17}} - - YES - - -2080244224 - 134479872 - W:4:12 - - - -2038152961 - 164 - - - 400 - 75 - - - - - 268 - {{19, 96}, {96, 18}} - - YES - - -2080244224 - 134479872 - W:4:12 - - - -2033434369 - 160 - - - 400 - 75 - - - - - 268 - {{16, 16}, {96, 18}} - - YES - - -2080244224 - 262144 - W:4:12 - - - 1211912703 - 2 - - - - - 200 - 25 - - - - {{475, 48}, {141, 246}} - - GTMWidthBasedTweaker - - - {734, 294} - - - {{0, 0}, {1920, 1178}} - {1.79769e+308, 1.79769e+308} - - - GTMUILocalizerAndLayoutTweaker - - - GTMUILocalizerAndLayoutTweakerTestLocalizer - - - - 268 - {154, 17} - YES - - -2080244224 - 134348800 - Recessed Button - - - -1232846593 - 173 - - - 400 - 75 - - - - - 268 - {154, 17} - YES - - -2080244224 - 134348800 - Recessed Button - - - -1232846593 - 173 - - - 400 - 75 - - - - - - YES - - - localizer_ - - - - 118 - - - - window - - - - 119 - - - - uiObject_ - - - - 193 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 1 - - - YES - - - - - - 2 - - - YES - - - - - - - - 35 - - - - - 117 - - - - - 188 - - - YES - - - - - - - - - - - - - 176 - - - YES - - - - - - 177 - - - - - 124 - - - YES - - - - - - 125 - - - - - 128 - - - YES - - - - - - 129 - - - - - 136 - - - YES - - - - - - 137 - - - - - 182 - - - YES - - - - - - 187 - - - - - 132 - - - YES - - - - - - 133 - - - - - 120 - - - YES - - - - - - 121 - - - - - 189 - - - YES - - - - - - - - - - - - - 157 - - - YES - - - - - - 158 - - - - - 152 - - - YES - - - - - - 163 - - - - - 156 - - - YES - - - - - - 159 - - - - - 155 - - - YES - - - - - - 160 - - - - - 178 - - - YES - - - - - - 179 - - - - - 154 - - - YES - - - - - - 161 - - - - - 153 - - - YES - - - - - - 162 - - - - - 183 - - - YES - - - - - - 186 - - - - - 190 - - - YES - - - - - - - - - - - - - 165 - - - YES - - - - - - 174 - - - - - 167 - - - YES - - - - - - 172 - - - - - 180 - - - YES - - - - - - 181 - - - - - 169 - - - YES - - - - - - 170 - - - - - 164 - - - YES - - - - - - 175 - - - - - 166 - - - YES - - - - - - 173 - - - - - 168 - - - YES - - - - - - 171 - - - - - 184 - - - YES - - - - - - 185 - - - - - 191 - - - YES - - - - - - 192 - - - - - 210 - - - YES - - - - - - 211 - - - - - 212 - - - YES - - - - - - 213 - - - - - - - YES - - YES - -3.IBPluginDependency - 1.IBEditorWindowLastContentRect - 1.IBPluginDependency - 1.IBViewEditorWindowController.showingBoundsRectangles - 1.IBWindowTemplateEditedContentRect - 1.NSWindowTemplate.visibleAtLaunch - 1.WindowOrigin - 1.editorWindowContentRectSynchronizationRect - 120.IBPluginDependency - 121.IBPluginDependency - 124.IBPluginDependency - 125.IBPluginDependency - 128.IBPluginDependency - 129.IBPluginDependency - 132.IBPluginDependency - 133.IBPluginDependency - 136.IBPluginDependency - 137.IBPluginDependency - 152.IBPluginDependency - 153.IBPluginDependency - 154.IBPluginDependency - 155.IBPluginDependency - 156.IBPluginDependency - 157.IBPluginDependency - 158.IBPluginDependency - 159.IBPluginDependency - 160.IBPluginDependency - 161.IBPluginDependency - 162.IBPluginDependency - 163.IBPluginDependency - 164.IBPluginDependency - 165.IBPluginDependency - 166.IBPluginDependency - 167.IBPluginDependency - 168.IBPluginDependency - 169.IBPluginDependency - 170.IBPluginDependency - 171.IBPluginDependency - 172.IBPluginDependency - 173.IBPluginDependency - 174.IBPluginDependency - 175.IBPluginDependency - 176.IBPluginDependency - 177.IBPluginDependency - 178.IBPluginDependency - 179.IBPluginDependency - 180.IBPluginDependency - 181.IBPluginDependency - 182.IBPluginDependency - 183.IBPluginDependency - 184.IBPluginDependency - 185.IBPluginDependency - 186.IBPluginDependency - 187.IBPluginDependency - 188.IBPluginDependency - 189.IBPluginDependency - 190.IBPluginDependency - 191.IBPluginDependency - 192.IBPluginDependency - 2.IBPluginDependency - 210.IBPluginDependency - 211.IBPluginDependency - 212.IBPluginDependency - 213.IBPluginDependency - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - {{636, 862}, {734, 294}} - com.apple.InterfaceBuilder.CocoaPlugin - - {{636, 862}, {734, 294}} - - {196, 240} - {{202, 428}, {480, 270}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - YES - - - - - YES - - - YES - - - - 213 - - - - YES - - GTMUILocalizer - NSObject - - YES - - YES - otherObjectToLocalize_ - owner_ - yetAnotherObjectToLocalize_ - - - YES - id - id - id - - - - IBProjectSource - AppKit/GTMUILocalizer.h - - - - GTMUILocalizerAndLayoutTweaker - NSObject - - YES - - YES - localizerOwner_ - localizer_ - uiObject_ - - - YES - id - GTMUILocalizer - id - - - - IBProjectSource - AppKit/GTMUILocalizerAndLayoutTweaker.h - - - - GTMUILocalizerAndLayoutTweakerTestLocalizer - GTMUILocalizer - - IBProjectSource - AppKit/GTMUILocalizerAndLayoutTweakerTest.h - - - - GTMUILocalizerAndLayoutTweakerTestWindowController - NSWindowController - - tabView_ - NSTabView - - - - - GTMWidthBasedTweaker - NSView - - YES - - YES - viewToResize_ - viewToSlideAndResize_ - viewToSlide_ - - - YES - id - NSView - NSView - - - - - - NSApplication - - IBProjectSource - UnitTesting/GTMAppKit+UnitTesting.h - - - - NSApplication - - IBProjectSource - UnitTesting/GTMAppKitUnitTestingUtilities.h - - - - NSButton - - - - NSCell - - - - NSControl - - - - NSMenu - - - - NSObject - - IBProjectSource - AppKit/GTMCarbonEvent.h - - - - NSObject - - IBProjectSource - AppKit/GTMDelegatingTableColumn.h - - - - NSObject - - IBProjectSource - Foundation/GTMHTTPServer.h - - - - NSObject - - IBProjectSource - Foundation/GTMNSAppleEventDescriptor+Foundation.h - - - - NSObject - - IBProjectSource - Foundation/GTMNSObject+KeyValueObserving.h - - - - NSObject - - IBProjectSource - UnitTesting/GTMCALayer+UnitTesting.h - - - - NSObject - - IBProjectSource - UnitTesting/GTMNSObject+BindingUnitTesting.h - - - - NSObject - - IBProjectSource - UnitTesting/GTMNSObject+UnitTesting.h - - - - NSTabView - - - - NSView - - IBProjectSource - AppKit/GTMNSAnimatablePropertyContainer.h - - - - NSView - - - - NSWindow - - - - NSWindow - - - - - YES - - NSActionCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSActionCell.h - - - - NSApplication - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSApplication.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSApplicationScripting.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSColorPanel.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSHelpManager.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSPageLayout.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSUserInterfaceItemSearching.h - - - - NSButton - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSButton.h - - - - NSButtonCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSButtonCell.h - - - - NSCell - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSCell.h - - - - NSControl - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSControl.h - - - - NSFormatter - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFormatter.h - - - - NSMenu - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenu.h - - - - NSObject - - IBFrameworkSource - AddressBook.framework/Headers/ABActions.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSAccessibility.h - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDictionaryController.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDragging.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontManager.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontPanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSKeyValueBinding.h - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSNibLoading.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSOutlineView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSPasteboard.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSSavePanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTableView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSToolbarItem.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSView.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObjectScripting.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPortCoder.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptObjectSpecifiers.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptWhoseTests.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLDownload.h - - - - NSObject - - IBFrameworkSource - PrintCore.framework/Headers/PDEPluginInterface.h - - - - NSObject - - IBFrameworkSource - QuartzCore.framework/Headers/CAAnimation.h - - - - NSObject - - IBFrameworkSource - QuartzCore.framework/Headers/CALayer.h - - - - NSObject - - IBFrameworkSource - QuartzCore.framework/Headers/CIImageProvider.h - - - - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSInterfaceStyle.h - - - - NSResponder - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSResponder.h - - - - NSTabView - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSTabView.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSClipView.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSMenuItem.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSRulerView.h - - - - NSView - NSResponder - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSDrawer.h - - - - NSWindow - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSWindow.h - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSWindowScripting.h - - - - NSWindowController - NSResponder - - showWindow: - id - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - ../GTM.xcodeproj - 3 - - YES - - YES - NSRadioButton - NSSwitch - - - YES - {16, 15} - {15, 15} - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3