Skip to content

Commit

Permalink
Add OutlineWithController.
Browse files Browse the repository at this point in the history
  • Loading branch information
atjason committed Apr 7, 2016
1 parent 4e5a916 commit 40ccec2
Show file tree
Hide file tree
Showing 8 changed files with 1,120 additions and 0 deletions.
@@ -0,0 +1,286 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
963015821CB6049F003FC212 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 963015811CB6049F003FC212 /* AppDelegate.swift */; };
963015841CB6049F003FC212 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 963015831CB6049F003FC212 /* Assets.xcassets */; };
963015871CB6049F003FC212 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 963015851CB6049F003FC212 /* MainMenu.xib */; };
963015901CB604B1003FC212 /* MainWindowController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9630158E1CB604B1003FC212 /* MainWindowController.swift */; };
963015911CB604B1003FC212 /* MainWindowController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9630158F1CB604B1003FC212 /* MainWindowController.xib */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
9630157E1CB6049F003FC212 /* OutlineWithController.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = OutlineWithController.app; sourceTree = BUILT_PRODUCTS_DIR; };
963015811CB6049F003FC212 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
963015831CB6049F003FC212 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
963015861CB6049F003FC212 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
963015881CB6049F003FC212 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
9630158E1CB604B1003FC212 /* MainWindowController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MainWindowController.swift; sourceTree = "<group>"; };
9630158F1CB604B1003FC212 /* MainWindowController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MainWindowController.xib; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
9630157B1CB6049F003FC212 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
963015751CB6049F003FC212 = {
isa = PBXGroup;
children = (
963015801CB6049F003FC212 /* OutlineWithController */,
9630157F1CB6049F003FC212 /* Products */,
);
sourceTree = "<group>";
};
9630157F1CB6049F003FC212 /* Products */ = {
isa = PBXGroup;
children = (
9630157E1CB6049F003FC212 /* OutlineWithController.app */,
);
name = Products;
sourceTree = "<group>";
};
963015801CB6049F003FC212 /* OutlineWithController */ = {
isa = PBXGroup;
children = (
963015811CB6049F003FC212 /* AppDelegate.swift */,
963015831CB6049F003FC212 /* Assets.xcassets */,
963015851CB6049F003FC212 /* MainMenu.xib */,
963015881CB6049F003FC212 /* Info.plist */,
9630158E1CB604B1003FC212 /* MainWindowController.swift */,
9630158F1CB604B1003FC212 /* MainWindowController.xib */,
);
path = OutlineWithController;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
9630157D1CB6049F003FC212 /* OutlineWithController */ = {
isa = PBXNativeTarget;
buildConfigurationList = 9630158B1CB6049F003FC212 /* Build configuration list for PBXNativeTarget "OutlineWithController" */;
buildPhases = (
9630157A1CB6049F003FC212 /* Sources */,
9630157B1CB6049F003FC212 /* Frameworks */,
9630157C1CB6049F003FC212 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = OutlineWithController;
productName = OutlineWithController;
productReference = 9630157E1CB6049F003FC212 /* OutlineWithController.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
963015761CB6049F003FC212 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0730;
LastUpgradeCheck = 0730;
ORGANIZATIONNAME = "Jason Zheng";
TargetAttributes = {
9630157D1CB6049F003FC212 = {
CreatedOnToolsVersion = 7.3;
};
};
};
buildConfigurationList = 963015791CB6049F003FC212 /* Build configuration list for PBXProject "OutlineWithController" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 963015751CB6049F003FC212;
productRefGroup = 9630157F1CB6049F003FC212 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
9630157D1CB6049F003FC212 /* OutlineWithController */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
9630157C1CB6049F003FC212 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
963015841CB6049F003FC212 /* Assets.xcassets in Resources */,
963015911CB604B1003FC212 /* MainWindowController.xib in Resources */,
963015871CB6049F003FC212 /* MainMenu.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
9630157A1CB6049F003FC212 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
963015901CB604B1003FC212 /* MainWindowController.swift in Sources */,
963015821CB6049F003FC212 /* AppDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
963015851CB6049F003FC212 /* MainMenu.xib */ = {
isa = PBXVariantGroup;
children = (
963015861CB6049F003FC212 /* Base */,
);
name = MainMenu.xib;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
963015891CB6049F003FC212 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
9630158A1CB6049F003FC212 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
};
name = Release;
};
9630158C1CB6049F003FC212 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = OutlineWithController/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.atjason.swift.cocoa.OutlineWithController;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
9630158D1CB6049F003FC212 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = OutlineWithController/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.atjason.swift.cocoa.OutlineWithController;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
963015791CB6049F003FC212 /* Build configuration list for PBXProject "OutlineWithController" */ = {
isa = XCConfigurationList;
buildConfigurations = (
963015891CB6049F003FC212 /* Debug */,
9630158A1CB6049F003FC212 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
9630158B1CB6049F003FC212 /* Build configuration list for PBXNativeTarget "OutlineWithController" */ = {
isa = XCConfigurationList;
buildConfigurations = (
9630158C1CB6049F003FC212 /* Debug */,
9630158D1CB6049F003FC212 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = 963015761CB6049F003FC212 /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

@@ -0,0 +1,24 @@
//
// AppDelegate.swift
// OutlineWithController
//
// Created by Jason Zheng on 4/7/16.
// Copyright © 2016 Jason Zheng. All rights reserved.
//

import Cocoa

@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {

var mainWindowController: MainWindowController?

func applicationDidFinishLaunching(aNotification: NSNotification) {

let mainWindowController = MainWindowController()
mainWindowController.showWindow(self)

self.mainWindowController = mainWindowController
}
}

@@ -0,0 +1,58 @@
{
"images" : [
{
"idiom" : "mac",
"size" : "16x16",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "16x16",
"scale" : "2x"
},
{
"idiom" : "mac",
"size" : "32x32",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "32x32",
"scale" : "2x"
},
{
"idiom" : "mac",
"size" : "128x128",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "128x128",
"scale" : "2x"
},
{
"idiom" : "mac",
"size" : "256x256",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "256x256",
"scale" : "2x"
},
{
"idiom" : "mac",
"size" : "512x512",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "512x512",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

0 comments on commit 40ccec2

Please sign in to comment.