Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added view swapping example from Chapter 29.

  • Loading branch information...
commit 4c3075314d9184b35863239f58a463b4ccd4b422 1 parent 6dc24cf
@timburks authored
Showing with 8,477 additions and 0 deletions.
  1. +27 −0 29_ViewSwapping/Departments/DepartmentView.nib/classes.nib
  2. +20 −0 29_ViewSwapping/Departments/DepartmentView.nib/info.nib
  3. BIN  29_ViewSwapping/Departments/DepartmentView.nib/keyedobjects.nib
  4. +337 −0 29_ViewSwapping/Departments/Departments.xcodeproj/project.pbxproj
  5. +6 −0 29_ViewSwapping/Departments/Departments_Prefix.pch
  6. +734 −0 29_ViewSwapping/Departments/EmployeeView.nib/designable.nib
  7. BIN  29_ViewSwapping/Departments/EmployeeView.nib/keyedobjects.nib
  8. +29 −0 29_ViewSwapping/Departments/English.lproj/Credits.rtf
  9. BIN  29_ViewSwapping/Departments/English.lproj/InfoPlist.strings
  10. +10 −0 29_ViewSwapping/Departments/English.lproj/MainMenu.nib/classes.nib
  11. +25 −0 29_ViewSwapping/Departments/English.lproj/MainMenu.nib/info.nib
  12. +7,002 −0 29_ViewSwapping/Departments/English.lproj/MainMenu.nib/keyedobjects.nib
  13. +47 −0 29_ViewSwapping/Departments/English.lproj/MyDocument.nib/classes.nib
  14. +20 −0 29_ViewSwapping/Departments/English.lproj/MyDocument.nib/info.nib
  15. BIN  29_ViewSwapping/Departments/English.lproj/MyDocument.nib/keyedobjects.nib
  16. +99 −0 29_ViewSwapping/Departments/Info.plist
  17. BIN  29_ViewSwapping/Departments/MyDocument.xcdatamodel/elements
  18. BIN  29_ViewSwapping/Departments/MyDocument.xcdatamodel/layout
  19. +6 −0 29_ViewSwapping/Departments/main.m
  20. +101 −0 29_ViewSwapping/Departments/nu/main.nu
  21. +14 −0 29_ViewSwapping/Departments/version.plist
View
27 29_ViewSwapping/Departments/DepartmentView.nib/classes.nib
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IBClasses</key>
+ <array>
+ <dict>
+ <key>CLASS</key>
+ <string>DepartmentViewController</string>
+ <key>LANGUAGE</key>
+ <string>ObjC</string>
+ <key>SUPERCLASS</key>
+ <string>NSViewController</string>
+ </dict>
+ <dict>
+ <key>CLASS</key>
+ <string>FirstResponder</string>
+ <key>LANGUAGE</key>
+ <string>ObjC</string>
+ <key>SUPERCLASS</key>
+ <string>NSObject</string>
+ </dict>
+ </array>
+ <key>IBVersion</key>
+ <string>1</string>
+</dict>
+</plist>
View
20 29_ViewSwapping/Departments/DepartmentView.nib/info.nib
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IBFramework Version</key>
+ <string>629</string>
+ <key>IBLastKnownRelativeProjectPath</key>
+ <string>../Departments.xcodeproj</string>
+ <key>IBOldestOS</key>
+ <integer>5</integer>
+ <key>IBOpenObjects</key>
+ <array>
+ <integer>129</integer>
+ </array>
+ <key>IBSystem Version</key>
+ <string>9B18</string>
+ <key>targetFramework</key>
+ <string>IBCocoaFramework</string>
+</dict>
+</plist>
View
BIN  29_ViewSwapping/Departments/DepartmentView.nib/keyedobjects.nib
Binary file not shown
View
337 29_ViewSwapping/Departments/Departments.xcodeproj/project.pbxproj
@@ -0,0 +1,337 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 44;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 2293DD560DE7AA030020A69D /* main.nu in Resources */ = {isa = PBXBuildFile; fileRef = 2293DD550DE7AA030020A69D /* main.nu */; };
+ 2293DD590DE7AA270020A69D /* Nu.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2293DD580DE7AA270020A69D /* Nu.framework */; };
+ 775BDEF1067A8BF0009058FE /* MyDocument.xcdatamodel in Sources */ = {isa = PBXBuildFile; fileRef = 775BDEF0067A8BF0009058FE /* MyDocument.xcdatamodel */; };
+ 775DFF38067A968500C5B868 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A7FEA54F5311CA2CBB /* Cocoa.framework */; };
+ 8D15AC2C0486D014006FF6A4 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 2A37F4B9FDCFA73011CA2CEA /* Credits.rtf */; };
+ 8D15AC2D0486D014006FF6A4 /* MainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2A37F4B6FDCFA73011CA2CEA /* MainMenu.nib */; };
+ 8D15AC2E0486D014006FF6A4 /* MyDocument.nib in Resources */ = {isa = PBXBuildFile; fileRef = 2A37F4B4FDCFA73011CA2CEA /* MyDocument.nib */; };
+ 8D15AC2F0486D014006FF6A4 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165FFE840EACC02AAC07 /* InfoPlist.strings */; };
+ 8D15AC320486D014006FF6A4 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 2A37F4B0FDCFA73011CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; };
+ 931AAF2C0CC3FA4100EB8225 /* DepartmentView.nib in Resources */ = {isa = PBXBuildFile; fileRef = 931AAF2B0CC3FA4100EB8225 /* DepartmentView.nib */; };
+ 931AAF460CC3FEFD00EB8225 /* EmployeeView.nib in Resources */ = {isa = PBXBuildFile; fileRef = 931AAF450CC3FEFD00EB8225 /* EmployeeView.nib */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+ 089C1660FE840EACC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 1058C7A7FEA54F5311CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
+ 2293DD550DE7AA030020A69D /* main.nu */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = main.nu; path = nu/main.nu; sourceTree = "<group>"; };
+ 2293DD580DE7AA270020A69D /* Nu.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Nu.framework; path = /Library/Frameworks/Nu.framework; sourceTree = "<absolute>"; };
+ 2A37F4B0FDCFA73011CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ 2A37F4B5FDCFA73011CA2CEA /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/MyDocument.nib; sourceTree = "<group>"; };
+ 2A37F4B7FDCFA73011CA2CEA /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/MainMenu.nib; sourceTree = "<group>"; };
+ 2A37F4BAFDCFA73011CA2CEA /* English */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = English; path = English.lproj/Credits.rtf; sourceTree = "<group>"; };
+ 2A37F4C4FDCFA73011CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
+ 2A37F4C5FDCFA73011CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
+ 32DBCF750370BD2300C91783 /* Departments_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Departments_Prefix.pch; sourceTree = "<group>"; };
+ 775BDEF0067A8BF0009058FE /* MyDocument.xcdatamodel */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = wrapper.xcdatamodel; path = MyDocument.xcdatamodel; sourceTree = "<group>"; };
+ 7788DA0506752A1600599AAD /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = "<absolute>"; };
+ 8D15AC360486D014006FF6A4 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
+ 8D15AC370486D014006FF6A4 /* Departments.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Departments.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 931AAF2B0CC3FA4100EB8225 /* DepartmentView.nib */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; path = DepartmentView.nib; sourceTree = "<group>"; };
+ 931AAF450CC3FEFD00EB8225 /* EmployeeView.nib */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; path = EmployeeView.nib; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 8D15AC330486D014006FF6A4 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 775DFF38067A968500C5B868 /* Cocoa.framework in Frameworks */,
+ 2293DD590DE7AA270020A69D /* Nu.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 1058C7A6FEA54F5311CA2CBB /* Linked Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 2293DD580DE7AA270020A69D /* Nu.framework */,
+ 1058C7A7FEA54F5311CA2CBB /* Cocoa.framework */,
+ );
+ name = "Linked Frameworks";
+ sourceTree = "<group>";
+ };
+ 1058C7A8FEA54F5311CA2CBB /* Other Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 2A37F4C5FDCFA73011CA2CEA /* Foundation.framework */,
+ 7788DA0506752A1600599AAD /* CoreData.framework */,
+ 2A37F4C4FDCFA73011CA2CEA /* AppKit.framework */,
+ );
+ name = "Other Frameworks";
+ sourceTree = "<group>";
+ };
+ 19C28FB0FE9D524F11CA2CBB /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 8D15AC370486D014006FF6A4 /* Departments.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 2293DD480DE7A9930020A69D /* Nu */ = {
+ isa = PBXGroup;
+ children = (
+ 2293DD550DE7AA030020A69D /* main.nu */,
+ );
+ name = Nu;
+ sourceTree = "<group>";
+ };
+ 2A37F4AAFDCFA73011CA2CEA /* Departments */ = {
+ isa = PBXGroup;
+ children = (
+ 2293DD480DE7A9930020A69D /* Nu */,
+ E1B74B1A0667B4A90069E3BA /* Models */,
+ 2A37F4ABFDCFA73011CA2CEA /* Classes */,
+ 2A37F4AFFDCFA73011CA2CEA /* Other Sources */,
+ 2A37F4B8FDCFA73011CA2CEA /* Resources */,
+ 2A37F4C3FDCFA73011CA2CEA /* Frameworks */,
+ 19C28FB0FE9D524F11CA2CBB /* Products */,
+ );
+ name = Departments;
+ sourceTree = "<group>";
+ };
+ 2A37F4ABFDCFA73011CA2CEA /* Classes */ = {
+ isa = PBXGroup;
+ children = (
+ 2A37F4B4FDCFA73011CA2CEA /* MyDocument.nib */,
+ 931AAF2B0CC3FA4100EB8225 /* DepartmentView.nib */,
+ 931AAF450CC3FEFD00EB8225 /* EmployeeView.nib */,
+ );
+ name = Classes;
+ sourceTree = "<group>";
+ };
+ 2A37F4AFFDCFA73011CA2CEA /* Other Sources */ = {
+ isa = PBXGroup;
+ children = (
+ 32DBCF750370BD2300C91783 /* Departments_Prefix.pch */,
+ 2A37F4B0FDCFA73011CA2CEA /* main.m */,
+ );
+ name = "Other Sources";
+ sourceTree = "<group>";
+ };
+ 2A37F4B8FDCFA73011CA2CEA /* Resources */ = {
+ isa = PBXGroup;
+ children = (
+ 2A37F4B9FDCFA73011CA2CEA /* Credits.rtf */,
+ 2A37F4B6FDCFA73011CA2CEA /* MainMenu.nib */,
+ 8D15AC360486D014006FF6A4 /* Info.plist */,
+ 089C165FFE840EACC02AAC07 /* InfoPlist.strings */,
+ );
+ name = Resources;
+ sourceTree = "<group>";
+ };
+ 2A37F4C3FDCFA73011CA2CEA /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 1058C7A6FEA54F5311CA2CBB /* Linked Frameworks */,
+ 1058C7A8FEA54F5311CA2CBB /* Other Frameworks */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ E1B74B1A0667B4A90069E3BA /* Models */ = {
+ isa = PBXGroup;
+ children = (
+ 775BDEF0067A8BF0009058FE /* MyDocument.xcdatamodel */,
+ );
+ name = Models;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 8D15AC270486D014006FF6A4 /* Departments */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 26FC0AA50875C8B900E6366F /* Build configuration list for PBXNativeTarget "Departments" */;
+ buildPhases = (
+ 8D15AC2B0486D014006FF6A4 /* Resources */,
+ 8D15AC300486D014006FF6A4 /* Sources */,
+ 8D15AC330486D014006FF6A4 /* Frameworks */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = Departments;
+ productInstallPath = "$(HOME)/Applications";
+ productName = Departments;
+ productReference = 8D15AC370486D014006FF6A4 /* Departments.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 2A37F4A9FDCFA73011CA2CEA /* Project object */ = {
+ isa = PBXProject;
+ buildConfigurationList = 26FC0AA90875C8B900E6366F /* Build configuration list for PBXProject "Departments" */;
+ compatibilityVersion = "Xcode 3.0";
+ hasScannedForEncodings = 1;
+ mainGroup = 2A37F4AAFDCFA73011CA2CEA /* Departments */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 8D15AC270486D014006FF6A4 /* Departments */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 8D15AC2B0486D014006FF6A4 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 8D15AC2C0486D014006FF6A4 /* Credits.rtf in Resources */,
+ 8D15AC2D0486D014006FF6A4 /* MainMenu.nib in Resources */,
+ 8D15AC2E0486D014006FF6A4 /* MyDocument.nib in Resources */,
+ 8D15AC2F0486D014006FF6A4 /* InfoPlist.strings in Resources */,
+ 931AAF2C0CC3FA4100EB8225 /* DepartmentView.nib in Resources */,
+ 931AAF460CC3FEFD00EB8225 /* EmployeeView.nib in Resources */,
+ 2293DD560DE7AA030020A69D /* main.nu in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 8D15AC300486D014006FF6A4 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 8D15AC320486D014006FF6A4 /* main.m in Sources */,
+ 775BDEF1067A8BF0009058FE /* MyDocument.xcdatamodel in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ 089C165FFE840EACC02AAC07 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 089C1660FE840EACC02AAC07 /* English */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+ 2A37F4B4FDCFA73011CA2CEA /* MyDocument.nib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 2A37F4B5FDCFA73011CA2CEA /* English */,
+ );
+ name = MyDocument.nib;
+ sourceTree = "<group>";
+ };
+ 2A37F4B6FDCFA73011CA2CEA /* MainMenu.nib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 2A37F4B7FDCFA73011CA2CEA /* English */,
+ );
+ name = MainMenu.nib;
+ sourceTree = "<group>";
+ };
+ 2A37F4B9FDCFA73011CA2CEA /* Credits.rtf */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 2A37F4BAFDCFA73011CA2CEA /* English */,
+ );
+ name = Credits.rtf;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 26FC0AA60875C8B900E6366F /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COPY_PHASE_STRIP = NO;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_ENABLE_FIX_AND_CONTINUE = YES;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_MODEL_TUNING = G5;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = Departments_Prefix.pch;
+ INFOPLIST_FILE = Info.plist;
+ INSTALL_PATH = "$(HOME)/Applications";
+ PRODUCT_NAME = Departments;
+ WRAPPER_EXTENSION = app;
+ ZERO_LINK = YES;
+ };
+ name = Debug;
+ };
+ 26FC0AA70875C8B900E6366F /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_MODEL_TUNING = G5;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = Departments_Prefix.pch;
+ INFOPLIST_FILE = Info.plist;
+ INSTALL_PATH = "$(HOME)/Applications";
+ PRODUCT_NAME = Departments;
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+ 26FC0AAA0875C8B900E6366F /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ PREBINDING = NO;
+ SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk";
+ };
+ name = Debug;
+ };
+ 26FC0AAB0875C8B900E6366F /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ARCHS = (
+ ppc,
+ i386,
+ );
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ PREBINDING = NO;
+ SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 26FC0AA50875C8B900E6366F /* Build configuration list for PBXNativeTarget "Departments" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 26FC0AA60875C8B900E6366F /* Debug */,
+ 26FC0AA70875C8B900E6366F /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 26FC0AA90875C8B900E6366F /* Build configuration list for PBXProject "Departments" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 26FC0AAA0875C8B900E6366F /* Debug */,
+ 26FC0AAB0875C8B900E6366F /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 2A37F4A9FDCFA73011CA2CEA /* Project object */;
+}
View
6 29_ViewSwapping/Departments/Departments_Prefix.pch
@@ -0,0 +1,6 @@
+//
+// Prefix header for all source files of the 'Departments' target in the 'Departments' project
+//
+#ifdef __OBJC__
+ #import <Cocoa/Cocoa.h>
+#endif
View
734 29_ViewSwapping/Departments/EmployeeView.nib/designable.nib
@@ -0,0 +1,734 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.01">
+ <data>
+ <int key="IBDocument.SystemTarget">1050</int>
+ <string key="IBDocument.SystemVersion">9A528d</string>
+ <string key="IBDocument.InterfaceBuilderVersion">623</string>
+ <string key="IBDocument.AppKitVersion">929</string>
+ <string key="IBDocument.HIToolboxVersion">328.00</string>
+ <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <integer value="6"/>
+ </object>
+ <object class="NSArray" key="IBDocument.PluginDependencies">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string id="224502347">com.apple.InterfaceBuilder.CocoaPlugin</string>
+ </object>
+ <object class="NSMutableArray" key="IBDocument.RootObjects" id="843726857">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSCustomObject" id="901134590">
+ <string key="NSClassName" id="805963643">DepartmentViewController</string>
+ </object>
+ <object class="NSCustomObject" id="130074432">
+ <string key="NSClassName" id="783497306">FirstResponder</string>
+ </object>
+ <object class="NSCustomObject" id="40420629">
+ <string key="NSClassName">NSApplication</string>
+ </object>
+ <object class="NSCustomView" id="652522013">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">256</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSScrollView" id="1023964713">
+ <reference key="NSNextResponder" ref="652522013"/>
+ <int key="NSvFlags">256</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSClipView" id="544062437">
+ <reference key="NSNextResponder" ref="1023964713"/>
+ <int key="NSvFlags">2304</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSTextView" id="818354394">
+ <reference key="NSNextResponder" ref="544062437"/>
+ <int key="NSvFlags">2322</int>
+ <object class="NSMutableSet" key="NSDragTypes">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSMutableArray" key="set.sortedObjects">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>Apple HTML pasteboard type</string>
+ <string>Apple PDF pasteboard type</string>
+ <string>Apple PICT pasteboard type</string>
+ <string>Apple PNG pasteboard type</string>
+ <string>Apple URL pasteboard type</string>
+ <string>CorePasteboardFlavorType 0x6D6F6F76</string>
+ <string>CorePasteboardFlavorType 0x75726C20</string>
+ <string>NSColor pasteboard type</string>
+ <string>NSFilenamesPboardType</string>
+ <string>NSStringPboardType</string>
+ <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string>
+ <string>NeXT RTFD pasteboard type</string>
+ <string>NeXT Rich Text Format v1.0 pasteboard type</string>
+ <string>NeXT TIFF v4.0 pasteboard type</string>
+ <string>NeXT font pasteboard type</string>
+ <string>NeXT ruler pasteboard type</string>
+ <string>WebURLsWithTitlesPboardType</string>
+ </object>
+ </object>
+ <string key="NSFrameSize">{300, 132}</string>
+ <reference key="NSSuperview" ref="544062437"/>
+ <reference key="NSWindow"/>
+ <object class="NSTextContainer" key="NSTextContainer" id="393904430">
+ <object class="NSLayoutManager" key="NSLayoutManager">
+ <object class="NSTextStorage" key="NSTextStorage">
+ <object class="NSMutableString" key="NSString">
+ <characters key="NS.bytes">Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Et harumd und lookum like Greek to me, dereud facilis est er expedit distinct. Nam liber te conscient to factor tum poen legum odioque civiuda</characters>
+ </object>
+ <object class="NSMutableArray" key="NSAttributes">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSDictionary">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSMutableArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string id="327306757">NSFont</string>
+ <string id="255693789">NSParagraphStyle</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSFont">
+ <string key="NSName">LucidaGrande</string>
+ <double key="NSSize">1.000000e+01</double>
+ <int key="NSfFlags">2843</int>
+ </object>
+ <object class="NSParagraphStyle">
+ <int key="NSAlignment">3</int>
+ <object class="NSArray" key="NSTabStops">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSTextTab" id="570732372">
+ <double key="NSLocation">0.000000e+00</double>
+ </object>
+ <object class="NSTextTab" id="276708634">
+ <double key="NSLocation">5.600000e+01</double>
+ </object>
+ <object class="NSTextTab" id="62651430">
+ <double key="NSLocation">1.120000e+02</double>
+ </object>
+ <object class="NSTextTab" id="247479128">
+ <double key="NSLocation">1.680000e+02</double>
+ </object>
+ <object class="NSTextTab" id="939922453">
+ <double key="NSLocation">2.240000e+02</double>
+ </object>
+ <object class="NSTextTab" id="503316389">
+ <double key="NSLocation">2.800000e+02</double>
+ </object>
+ <object class="NSTextTab" id="1029985634">
+ <double key="NSLocation">3.360000e+02</double>
+ </object>
+ <object class="NSTextTab" id="486772594">
+ <double key="NSLocation">3.920000e+02</double>
+ </object>
+ <object class="NSTextTab" id="692494036">
+ <double key="NSLocation">4.480000e+02</double>
+ </object>
+ <object class="NSTextTab" id="119391147">
+ <double key="NSLocation">5.040000e+02</double>
+ </object>
+ <object class="NSTextTab" id="930005993">
+ <double key="NSLocation">5.600000e+02</double>
+ </object>
+ <object class="NSTextTab" id="1043237905">
+ <double key="NSLocation">6.160000e+02</double>
+ </object>
+ <object class="NSTextTab" id="875509627">
+ <double key="NSLocation">6.720000e+02</double>
+ </object>
+ <object class="NSTextTab" id="202845820">
+ <double key="NSLocation">7.280000e+02</double>
+ </object>
+ <object class="NSTextTab" id="947325051">
+ <double key="NSLocation">7.840000e+02</double>
+ </object>
+ <object class="NSTextTab" id="869597190">
+ <double key="NSLocation">8.400000e+02</double>
+ </object>
+ <object class="NSTextTab" id="572992948">
+ <double key="NSLocation">8.960000e+02</double>
+ </object>
+ <object class="NSTextTab" id="585335097">
+ <double key="NSLocation">9.520000e+02</double>
+ </object>
+ <object class="NSTextTab" id="299607408">
+ <double key="NSLocation">1.008000e+03</double>
+ </object>
+ <object class="NSTextTab" id="583545113">
+ <double key="NSLocation">1.064000e+03</double>
+ </object>
+ <object class="NSTextTab" id="909797626">
+ <double key="NSLocation">1.120000e+03</double>
+ </object>
+ <object class="NSTextTab" id="237768898">
+ <double key="NSLocation">1.176000e+03</double>
+ </object>
+ <object class="NSTextTab" id="466411361">
+ <double key="NSLocation">1.232000e+03</double>
+ </object>
+ <object class="NSTextTab" id="319243032">
+ <double key="NSLocation">1.288000e+03</double>
+ </object>
+ <object class="NSTextTab" id="549788287">
+ <double key="NSLocation">1.344000e+03</double>
+ </object>
+ <object class="NSTextTab" id="79322355">
+ <double key="NSLocation">1.400000e+03</double>
+ </object>
+ <object class="NSTextTab" id="863635860">
+ <double key="NSLocation">1.456000e+03</double>
+ </object>
+ <object class="NSTextTab" id="500011175">
+ <double key="NSLocation">1.512000e+03</double>
+ </object>
+ <object class="NSTextTab" id="623381794">
+ <double key="NSLocation">1.568000e+03</double>
+ </object>
+ <object class="NSTextTab" id="117198794">
+ <double key="NSLocation">1.624000e+03</double>
+ </object>
+ <object class="NSTextTab" id="755703964">
+ <double key="NSLocation">1.680000e+03</double>
+ </object>
+ <object class="NSTextTab" id="120372341">
+ <double key="NSLocation">1.736000e+03</double>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object class="NSDictionary">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSMutableArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="327306757"/>
+ <reference ref="255693789"/>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSFont">
+ <string key="NSName">LucidaGrande-Bold</string>
+ <double key="NSSize">1.000000e+01</double>
+ <int key="NSfFlags">16</int>
+ </object>
+ <object class="NSParagraphStyle">
+ <int key="NSAlignment">3</int>
+ <object class="NSArray" key="NSTabStops">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="570732372"/>
+ <reference ref="276708634"/>
+ <reference ref="62651430"/>
+ <reference ref="247479128"/>
+ <reference ref="939922453"/>
+ <reference ref="503316389"/>
+ <reference ref="1029985634"/>
+ <reference ref="486772594"/>
+ <reference ref="692494036"/>
+ <reference ref="119391147"/>
+ <reference ref="930005993"/>
+ <reference ref="1043237905"/>
+ <reference ref="875509627"/>
+ <reference ref="202845820"/>
+ <reference ref="947325051"/>
+ <reference ref="869597190"/>
+ <reference ref="572992948"/>
+ <reference ref="585335097"/>
+ <reference ref="299607408"/>
+ <reference ref="583545113"/>
+ <reference ref="909797626"/>
+ <reference ref="237768898"/>
+ <reference ref="466411361"/>
+ <reference ref="319243032"/>
+ <reference ref="549788287"/>
+ <reference ref="79322355"/>
+ <reference ref="863635860"/>
+ <reference ref="500011175"/>
+ <reference ref="623381794"/>
+ <reference ref="117198794"/>
+ <reference ref="755703964"/>
+ <reference ref="120372341"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+ <object class="NSMutableData" key="NSAttributeInfo">
+ <bytes key="NS.bytes">GQAEAQgADAEiAAcBhAQAA</bytes>
+ </object>
+ <nil key="NSDelegate"/>
+ </object>
+ <object class="NSMutableArray" key="NSTextContainers">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="393904430"/>
+ </object>
+ <int key="NSLMFlags">6</int>
+ <nil key="NSDelegate"/>
+ </object>
+ <reference key="NSTextView" ref="818354394"/>
+ <double key="NSWidth">3.000000e+02</double>
+ <int key="NSTCFlags">1</int>
+ </object>
+ <object class="NSTextViewSharedData" key="NSSharedData">
+ <int key="NSFlags">11239</int>
+ <object class="NSColor" key="NSBackgroundColor" id="324090283">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MQA</bytes>
+ </object>
+ <object class="NSColor" key="NSInsertionColor" id="260085058">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MAA</bytes>
+ </object>
+ <object class="NSDictionary" key="NSSelectedAttributes">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSMutableArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>NSBackgroundColor</string>
+ <string id="247926961">NSColor</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSColor">
+ <int key="NSColorSpace">6</int>
+ <string key="NSCatalogName" id="367848471">System</string>
+ <string key="NSColorName">selectedTextBackgroundColor</string>
+ <object class="NSColor" key="NSColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MC42NjY2NjY2OQA</bytes>
+ </object>
+ </object>
+ <object class="NSColor">
+ <int key="NSColorSpace">6</int>
+ <reference key="NSCatalogName" ref="367848471"/>
+ <string key="NSColorName">selectedTextColor</string>
+ <reference key="NSColor" ref="260085058"/>
+ </object>
+ </object>
+ </object>
+ <nil key="NSMarkedAttributes"/>
+ <object class="NSDictionary" key="NSLinkAttributes">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSMutableArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="247926961"/>
+ <string>NSUnderline</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MCAwIDEAA</bytes>
+ </object>
+ <integer value="1" id="9"/>
+ </object>
+ </object>
+ <nil key="NSDefaultParagraphStyle"/>
+ </object>
+ <int key="NSTVFlags">6</int>
+ <string key="NSMaxSize">{454, 1e+07}</string>
+ <string key="NSMinize">{222, 127}</string>
+ <nil key="NSDelegate"/>
+ </object>
+ </object>
+ <string key="NSFrame">{{1, 1}, {300, 175}}</string>
+ <reference key="NSSuperview" ref="1023964713"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="818354394"/>
+ <reference key="NSDocView" ref="818354394"/>
+ <reference key="NSBGColor" ref="324090283"/>
+ <object class="NSCursor" key="NSCursor">
+ <string key="NSHotSpot">{4, -5}</string>
+ <int key="NSCursorType">1</int>
+ </object>
+ <int key="NScvFlags">4</int>
+ </object>
+ <object class="NSScroller" id="940419997">
+ <reference key="NSNextResponder" ref="1023964713"/>
+ <int key="NSvFlags">256</int>
+ <string key="NSFrame">{{301, 1}, {15, 171}}</string>
+ <reference key="NSSuperview" ref="1023964713"/>
+ <reference key="NSWindow"/>
+ <reference key="NSTarget" ref="1023964713"/>
+ <string key="NSAction" id="746856652">_doScroller:</string>
+ <double key="NSPercent">9.874214e-01</double>
+ </object>
+ <object class="NSScroller" id="443480430">
+ <reference key="NSNextResponder" ref="1023964713"/>
+ <int key="NSvFlags">256</int>
+ <string key="NSFrame">{{-100, -100}, {87, 18}}</string>
+ <reference key="NSSuperview" ref="1023964713"/>
+ <reference key="NSWindow"/>
+ <int key="NSsFlags">1</int>
+ <reference key="NSTarget" ref="1023964713"/>
+ <reference key="NSAction" ref="746856652"/>
+ <double key="NSCurValue">1.000000e+00</double>
+ <double key="NSPercent">9.456522e-01</double>
+ </object>
+ </object>
+ <string key="NSFrame">{{12, 15}, {317, 177}}</string>
+ <reference key="NSSuperview" ref="652522013"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="544062437"/>
+ <int key="NSsFlags">18</int>
+ <reference key="NSVScroller" ref="940419997"/>
+ <reference key="NSHScroller" ref="443480430"/>
+ <reference key="NSContentView" ref="544062437"/>
+ </object>
+ </object>
+ <string key="NSFrameSize">{342, 200}</string>
+ <reference key="NSSuperview"/>
+ <reference key="NSWindow"/>
+ <string key="NSClassName">NSView</string>
+ </object>
+ </object>
+ <object class="IBObjectContainer" key="IBDocument.Objects">
+ <object class="NSMutableArray" key="connectionRecords">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">view</string>
+ <reference key="source" ref="901134590"/>
+ <reference key="destination" ref="652522013"/>
+ </object>
+ <int key="connectionID">16</int>
+ </object>
+ </object>
+ <object class="IBMutableOrderedSet" key="objectRecords">
+ <object class="NSArray" key="orderedObjects">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBObjectRecord">
+ <int key="objectID">0</int>
+ <object class="NSArray" key="object" id="909914080">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <reference key="children" ref="843726857"/>
+ <nil key="parent"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-2</int>
+ <reference key="object" ref="901134590"/>
+ <reference key="parent" ref="909914080"/>
+ <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-1</int>
+ <reference key="object" ref="130074432"/>
+ <reference key="parent" ref="909914080"/>
+ <string key="objectName">First Responder</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-3</int>
+ <reference key="object" ref="40420629"/>
+ <reference key="parent" ref="909914080"/>
+ <string key="objectName">Application</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">6</int>
+ <reference key="object" ref="652522013"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="1023964713"/>
+ </object>
+ <reference key="parent" ref="909914080"/>
+ <string key="objectName">Custom View</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">20</int>
+ <reference key="object" ref="1023964713"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="940419997"/>
+ <reference ref="443480430"/>
+ <reference ref="818354394"/>
+ </object>
+ <reference key="parent" ref="652522013"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">21</int>
+ <reference key="object" ref="940419997"/>
+ <reference key="parent" ref="1023964713"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">22</int>
+ <reference key="object" ref="443480430"/>
+ <reference key="parent" ref="1023964713"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">23</int>
+ <reference key="object" ref="818354394"/>
+ <reference key="parent" ref="1023964713"/>
+ </object>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="flattenedProperties">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSMutableArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>-1.IBPluginDependency</string>
+ <string>-2.IBPluginDependency</string>
+ <string>-3.IBPluginDependency</string>
+ <string>-3.ImportedFromIB2</string>
+ <string>20.IBPluginDependency</string>
+ <string>21.IBPluginDependency</string>
+ <string>22.IBPluginDependency</string>
+ <string>23.IBPluginDependency</string>
+ <string>6.IBPluginDependency</string>
+ <string>6.ImportedFromIB2</string>
+ <string>6.editorWindowContentRectSynchronizationRect</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="224502347"/>
+ <reference ref="224502347"/>
+ <reference ref="224502347"/>
+ <reference ref="9"/>
+ <string id="245246235">com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <reference ref="245246235"/>
+ <reference ref="245246235"/>
+ <reference ref="245246235"/>
+ <reference ref="224502347"/>
+ <reference ref="9"/>
+ <string>{{21, 760}, {342, 200}}</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="unlocalizedProperties">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <nil key="activeLocalization"/>
+ <object class="NSMutableDictionary" key="localizations">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <nil key="sourceID"/>
+ <int key="maxID">23</int>
+ </object>
+ <object class="IBClassDescriber" key="IBDocument.Classes">
+ <object class="NSMutableArray" key="referencedPartialClassDescriptions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBPartialClassDescription">
+ <reference key="className" ref="805963643"/>
+ <string key="superclassName">NSViewController</string>
+ <object class="NSMutableDictionary" key="actions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="outlets">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey" id="789969579">IBUserSource</string>
+ <string key="minorKey" id="102541381"/>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">DepartmentViewController</string>
+ <string key="superclassName">NSViewController</string>
+ <object class="NSMutableDictionary" key="actions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="outlets">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">DepartmentViewController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <reference key="className" ref="783497306"/>
+ <nil key="superclassName"/>
+ <object class="NSMutableDictionary" key="actions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="outlets">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <reference key="majorKey" ref="789969579"/>
+ <reference key="minorKey" ref="102541381"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <int key="IBDocument.localizationMode">0</int>
+ <string key="IBDocument.LastKnownRelativeProjectPath">../Departments.xcodeproj</string>
+ <int key="IBDocument.defaultPropertyAccessControl">3</int>
+ <object class="NSMutableData" key="IBDocument.RunnableNib">
+ <bytes key="NS.bytes">YnBsaXN0MDDUAAEAAgADAAQABQAGAAkAClgkdmVyc2lvblQkdG9wWSRhcmNoaXZlclgkb2JqZWN0cxIA
+AYag0QAHAAhdSUIub2JqZWN0ZGF0YYABXxAPTlNLZXllZEFyY2hpdmVyrxCoAAsADAAxADUANgA8AD0A
+QQBFAEkAUQALAGAAZAB2AHwAjQCRAKYAugC7ALwAvQC+AL8AwADBAMIAwwDEAMUAxgDHAMgAyQDKAMsA
+zADWAN4A5wDrAO4A8wD8AP0A/gEEASc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UEJcQpBCtELIQuxDAEM0Q2hDc
+EOEQ4xDlEOoQ7BDuEPsQ/RD/EQgRChFNEU8RURFTEVURVxFZEVsRXRFfEWERYxFlEWcRaRFrEW0RbxFx
+EXMRdRF3EXkRexF9EX8RgRGDEYURhxGJEYsRjRGeEaARohGkEbgRwRHIEdcR4BHoEeoR/BIFEgwSGhIh
+EioSMxJPEmQSbRJvEnISdBJ9EoISixKQErESuRLTEuYS+hMREyYTORM7Ez4TQBNCE0QTRhNIE0oTVxNk
+E2wTbhNxE3oTfxOHE5QTlhOZE6YTqBOtE68TsRO2E7gTuhPPE9sT6RPrE+0T7xPxE/gUFhQjFCUUMRRG
+FEgUShRMFE4UYhRvFHEUdhR4FHoUfxSBFIMUjxScFKIUpBSrFLQUuRTQFN0U6BTxFPwVAxUKFRYVLRU6
+FUQVURVTFVUVXRVmFWsVdBV9FYgVrRW2Fb8VyRXLFc0VzxXRFdMV1RXXFeAV+BYFFg4WGRYkFi4WWxZm
+FmgWahZsFm4WcBZyFnQWfRaGFqEWuhbDFswW2RbkFu0W9hcDFwgXERcYFy8XPhdHF0kXVhdYF1oXXBde
+F2AXYhdrF20Xbxd9F4YXiBeVF5cXmRebF50XnxehF6oXrBe7F70XvxfBF8MXxRfHF8kX0hfUF+MX5Rfn
+F+kX6xftF+8X8Rf+GAoYHhgoGD4YShhWGF8YYRhiGGsYbRhuGHcYeRiKGIwYjhiQGJIYlBiWGJgYmhij
+GKUYthi4GLoYvBi+GMAYwhjEGMYYyBjKGMwYzhjQGNkY4hjkGOUY7hjwGPEY+hj8GP0ZBhkLAAAAAAAA
+AgIAAAAAAAACygAAAAAAAAAAAAAAAAAAGRo</bytes>
+ </object>
+ </data>
+</archive>
View
BIN  29_ViewSwapping/Departments/EmployeeView.nib/keyedobjects.nib
Binary file not shown
View
29 29_ViewSwapping/Departments/English.lproj/Credits.rtf
@@ -0,0 +1,29 @@
+{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
+{\colortbl;\red255\green255\blue255;}
+\paperw9840\paperh8400
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
+
+\f0\b\fs24 \cf0 Engineering:
+\b0 \
+ Some people\
+\
+
+\b Human Interface Design:
+\b0 \
+ Some other people\
+\
+
+\b Testing:
+\b0 \
+ Hopefully not nobody\
+\
+
+\b Documentation:
+\b0 \
+ Whoever\
+\
+
+\b With special thanks to:
+\b0 \
+ Mom\
+}
View
BIN  29_ViewSwapping/Departments/English.lproj/InfoPlist.strings
Binary file not shown
View
10 29_ViewSwapping/Departments/English.lproj/MainMenu.nib/classes.nib
@@ -0,0 +1,10 @@
+{
+ IBClasses = (
+ {
+ CLASS = FirstResponder;
+ LANGUAGE = ObjC;
+ SUPERCLASS = NSObject;
+ }
+ );
+ IBVersion = 1;
+}
View
25 29_ViewSwapping/Departments/English.lproj/MainMenu.nib/info.nib
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IBDocumentLocation</key>
+ <string>474 126 356 240 0 0 1680 1028 </string>
+ <key>IBEditorPositions</key>
+ <dict>
+ <key>29</key>
+ <string>338 633 459 44 0 0 1680 1028 </string>
+ </dict>
+ <key>IBFramework Version</key>
+ <string>461.0</string>
+ <key>IBOldestOS</key>
+ <integer>4</integer>
+ <key>IBOpenObjects</key>
+ <array>
+ <integer>29</integer>
+ </array>
+ <key>IBSystem Version</key>
+ <string>9A440</string>
+ <key>IBUsesTextArchiving</key>
+ <true/>
+</dict>
+</plist>
View
7,002 29_ViewSwapping/Departments/English.lproj/MainMenu.nib/keyedobjects.nib
7,002 additions, 0 deletions not shown
View
47 29_ViewSwapping/Departments/English.lproj/MyDocument.nib/classes.nib
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IBClasses</key>
+ <array>
+ <dict>
+ <key>CLASS</key>
+ <string>FirstResponder</string>
+ <key>LANGUAGE</key>
+ <string>ObjC</string>
+ <key>SUPERCLASS</key>
+ <string>NSObject</string>
+ </dict>
+ <dict>
+ <key>ACTIONS</key>
+ <dict>
+ <key>changeViewController</key>
+ <string>id</string>
+ </dict>
+ <key>CLASS</key>
+ <string>MyDocument</string>
+ <key>LANGUAGE</key>
+ <string>ObjC</string>
+ <key>OUTLETS</key>
+ <dict>
+ <key>box</key>
+ <string>NSBox</string>
+ <key>popUp</key>
+ <string>NSPopUpButton</string>
+ </dict>
+ <key>SUPERCLASS</key>
+ <string>NSPersistentDocument</string>
+ </dict>
+ <dict>
+ <key>CLASS</key>
+ <string>NSPersistentDocument</string>
+ <key>LANGUAGE</key>
+ <string>ObjC</string>
+ <key>SUPERCLASS</key>
+ <string>NSDocument</string>
+ </dict>
+ </array>
+ <key>IBVersion</key>
+ <string>1</string>
+</dict>
+</plist>
View
20 29_ViewSwapping/Departments/English.lproj/MyDocument.nib/info.nib
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IBFramework Version</key>
+ <string>629</string>
+ <key>IBLastKnownRelativeProjectPath</key>
+ <string>../../Departments.xcodeproj</string>
+ <key>IBOldestOS</key>
+ <integer>5</integer>
+ <key>IBOpenObjects</key>
+ <array>
+ <integer>6</integer>
+ </array>
+ <key>IBSystem Version</key>
+ <string>9B18</string>
+ <key>targetFramework</key>
+ <string>IBCocoaFramework</string>
+</dict>
+</plist>
View
BIN  29_ViewSwapping/Departments/English.lproj/MyDocument.nib/keyedobjects.nib
Binary file not shown
View
99 29_ViewSwapping/Departments/Info.plist
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleDocumentTypes</key>
+ <array>
+ <dict>
+ <key>CFBundleTypeExtensions</key>
+ <array>
+ <string>binary</string>
+ </array>
+ <key>CFBundleTypeMIMETypes</key>
+ <array>
+ <string>application/octet-stream</string>
+ </array>
+ <key>CFBundleTypeName</key>
+ <string>Binary</string>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>LSTypeIsPackage</key>
+ <false/>
+ <key>NSDocumentClass</key>
+ <string>MyDocument</string>
+ <key>NSPersistentStoreTypeKey</key>
+ <string>Binary</string>
+ </dict>
+ <dict>
+ <key>CFBundleTypeExtensions</key>
+ <array>
+ <string>sqlite</string>
+ </array>
+ <key>CFBundleTypeMIMETypes</key>
+ <array>
+ <string>application/octet-stream</string>
+ </array>
+ <key>CFBundleTypeName</key>
+ <string>SQLite</string>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>LSTypeIsPackage</key>
+ <false/>
+ <key>NSDocumentClass</key>
+ <string>MyDocument</string>
+ <key>NSPersistentStoreTypeKey</key>
+ <string>SQLite</string>
+ </dict>
+ <dict>
+ <key>CFBundleTypeExtensions</key>
+ <array>
+ <string>xml</string>
+ </array>
+ <key>CFBundleTypeIconFile</key>
+ <string></string>
+ <key>CFBundleTypeMIMETypes</key>
+ <array>
+ <string>text/xml</string>
+ </array>
+ <key>CFBundleTypeName</key>
+ <string>XML</string>
+ <key>CFBundleTypeOSTypes</key>
+ <array>
+ <string>????</string>
+ </array>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>LSTypeIsPackage</key>
+ <false/>
+ <key>NSDocumentClass</key>
+ <string>MyDocument</string>
+ <key>NSPersistentStoreTypeKey</key>
+ <string>XML</string>
+ </dict>
+ </array>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIconFile</key>
+ <string></string>
+ <key>CFBundleIdentifier</key>
+ <string>com.yourcompany.DepartmentsApp</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.2</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>22</string>
+ <key>NSMainNibFile</key>
+ <string>MainMenu</string>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+</dict>
+</plist>
View
BIN  29_ViewSwapping/Departments/MyDocument.xcdatamodel/elements
Binary file not shown
View
BIN  29_ViewSwapping/Departments/MyDocument.xcdatamodel/layout
Binary file not shown
View
6 29_ViewSwapping/Departments/main.m
@@ -0,0 +1,6 @@
+int NuMain(int argc, const char *argv[]);
+
+int main(int argc, const char *argv[])
+{
+ return NuMain(argc, argv);
+}
View
101 29_ViewSwapping/Departments/nu/main.nu
@@ -0,0 +1,101 @@
+;; file main.nu
+;; discussion Entry point for a Nu program.
+;; copyright Copyright (c) 2008 Tim Burks, Neon Design Technology, Inc.
+
+(import Cocoa) ;; bridgesupport
+(load "console") ;; interactive console
+
+(class ManagingViewController is NSViewController
+ (ivar (id) managedObjectContext)
+ (- (void)setManagedObjectContext:(id)moc is
+ (set @managedObjectContext moc)))
+
+(class EmployeeViewController is ManagingViewController
+ (- (id)init is
+ (unless (super initWithNibName:"EmployeeView" bundle:nil)
+ (return nil))
+ (self setTitle:"Employees")
+ self))
+
+(class DepartmentViewController is ManagingViewController
+ (- (id)init is
+ (unless (super initWithNibName:"DepartmentView" bundle:nil)
+ (return nil))
+ (self setTitle:"Departments")
+ self))
+
+(class MyDocument is NSPersistentDocument
+ (ivar (id) box (id) popUp (id) viewControllers)
+
+ (- (void)prepareViewControllers is
+ (set @viewControllers (array (((DepartmentViewController alloc) init)
+ set:(managedObjectContext:(self managedObjectContext)))
+ (((EmployeeViewController alloc) init)
+ set:(managedObjectContext:(self managedObjectContext))))))
+
+ (- (id)init is
+ (unless (super init) (return nil))
+ (self prepareViewControllers)
+ self)
+
+ (- (void)windowControllerDidLoadNib:(id)windowController is
+ (super windowControllerDidLoadNib:windowController)
+ (set menu (@popUp menu))
+ (@viewControllers eachWithIndex:
+ (do (vc i)
+ (set mi ((NSMenuItem alloc) initWithTitle:(vc title) action:"changeViewController:" keyEquivalent:""))
+ (mi setTag:i)
+ (menu addItem:mi)
+ (NSLog "added #{mi} to #{menu}")))
+ (self displayViewController:(@viewControllers objectAtIndex:0))
+ (@popUp selectItemAtIndex:0))
+
+ (- (void)displayViewController:(id)vc is
+ (set w (@box window))
+ (set ended (w makeFirstResponder:w))
+ (unless ended
+ (NSBeep)
+ (return))
+ (set v (vc view))
+ (set currentSize ((((@box contentView) frame) cdr) cdr))
+ (set newSize (((v frame) cdr) cdr))
+ (set deltaWidth (- (newSize first) (currentSize first)))
+ (set deltaHeight (- (newSize second) (currentSize second)))
+ (set windowFrame (w frame))
+ (set windowFrame (list (windowFrame first)
+ (- (windowFrame second) deltaHeight)
+ (+ (windowFrame third) deltaWidth)
+ (+ (windowFrame fourth) deltaHeight)))
+ (@box setContentView:nil)
+ (w setFrame:windowFrame display:YES animate:YES)
+ (@box setContentView:v)
+ ;; Put the view controller in the responder chain
+ (v setNextResponder:vc)
+ (vc setNextResponder:@box))
+
+ (- (void)changeViewController:(id)sender is
+ (self displayViewController:(@viewControllers objectAtIndex:(sender tag))))
+
+ (- (id)windowNibName is "MyDocument"))
+
+(set SHOW_CONSOLE_AT_STARTUP nil)
+
+;; @class ApplicationDelegate
+;; @discussion Methods of this class perform general-purpose tasks that are not appropriate methods of any other classes.
+(class ApplicationDelegate is NSObject
+
+ ;; This method is called after Cocoa has finished its basic application setup.
+ ;; It instantiates application-specific components.
+ ;; In this case, it constructs an interactive Nu console that can be activated from the application's Window menu.
+ (- (void) applicationDidFinishLaunching:(id) sender is
+ (set $console ((NuConsoleWindowController alloc) init))
+ (if SHOW_CONSOLE_AT_STARTUP ($console toggleConsole:self))))
+
+;; install the delegate and keep a reference to it since the application won't retain it.
+((NSApplication sharedApplication) setDelegate:(set $delegate ((ApplicationDelegate alloc) init)))
+
+;; this makes the application window take focus when we've started it from the terminal (or with nuke)
+((NSApplication sharedApplication) activateIgnoringOtherApps:YES)
+
+;; run the main Cocoa event loop
+(NSApplicationMain 0 nil)
View
14 29_ViewSwapping/Departments/version.plist
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>BuildVersion</key>
+ <string>9</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>ProjectName</key>
+ <string>NibPBTemplates</string>
+ <key>SourceVersion</key>
+ <string>1200000</string>
+</dict>
+</plist>
Please sign in to comment.
Something went wrong with that request. Please try again.