Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jyunderwood committed Sep 5, 2016
0 parents commit 3a5a7e5
Show file tree
Hide file tree
Showing 18 changed files with 1,702 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.DS_Store
*/build/*
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
profile
*.moved-aside
DerivedData
.idea/
*.hmap
Pods/*
318 changes: 318 additions & 0 deletions Example-macOS/Example-macOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,318 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
AB8766A91D7C788F00C1E4A1 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB8766A81D7C788F00C1E4A1 /* AppDelegate.swift */; };
AB8766AB1D7C788F00C1E4A1 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AB8766AA1D7C788F00C1E4A1 /* Assets.xcassets */; };
AB8766AE1D7C788F00C1E4A1 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = AB8766AC1D7C788F00C1E4A1 /* MainMenu.xib */; };
AB8DA9871D7DAF92003DB154 /* WaveformView.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AB8DA9861D7DAF92003DB154 /* WaveformView.framework */; };
AB8DA9881D7DAF92003DB154 /* WaveformView.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = AB8DA9861D7DAF92003DB154 /* WaveformView.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
ABD83ADC1D7DAE040010F41F /* WaveformWindowController.swift in Sources */ = {isa = PBXBuildFile; fileRef = ABD83ADA1D7DAE040010F41F /* WaveformWindowController.swift */; };
ABD83ADD1D7DAE040010F41F /* WaveformWindowController.xib in Resources */ = {isa = PBXBuildFile; fileRef = ABD83ADB1D7DAE040010F41F /* WaveformWindowController.xib */; };
/* End PBXBuildFile section */

/* Begin PBXCopyFilesBuildPhase section */
AB8DA9891D7DAF92003DB154 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
AB8DA9881D7DAF92003DB154 /* WaveformView.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
AB8766A51D7C788F00C1E4A1 /* Example-macOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Example-macOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
AB8766A81D7C788F00C1E4A1 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
AB8766AA1D7C788F00C1E4A1 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
AB8766AD1D7C788F00C1E4A1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
AB8766AF1D7C788F00C1E4A1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
AB8DA9861D7DAF92003DB154 /* WaveformView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = WaveformView.framework; sourceTree = BUILT_PRODUCTS_DIR; };
ABD83ADA1D7DAE040010F41F /* WaveformWindowController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WaveformWindowController.swift; sourceTree = "<group>"; };
ABD83ADB1D7DAE040010F41F /* WaveformWindowController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = WaveformWindowController.xib; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
AB8766A21D7C788F00C1E4A1 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
AB8DA9871D7DAF92003DB154 /* WaveformView.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
AB87669C1D7C788F00C1E4A1 = {
isa = PBXGroup;
children = (
AB8DA9861D7DAF92003DB154 /* WaveformView.framework */,
AB8766A71D7C788F00C1E4A1 /* Example-macOS */,
AB8766A61D7C788F00C1E4A1 /* Products */,
);
sourceTree = "<group>";
};
AB8766A61D7C788F00C1E4A1 /* Products */ = {
isa = PBXGroup;
children = (
AB8766A51D7C788F00C1E4A1 /* Example-macOS.app */,
);
name = Products;
sourceTree = "<group>";
};
AB8766A71D7C788F00C1E4A1 /* Example-macOS */ = {
isa = PBXGroup;
children = (
AB8766A81D7C788F00C1E4A1 /* AppDelegate.swift */,
ABD83ADA1D7DAE040010F41F /* WaveformWindowController.swift */,
ABD83ADB1D7DAE040010F41F /* WaveformWindowController.xib */,
AB8766AA1D7C788F00C1E4A1 /* Assets.xcassets */,
AB8766AC1D7C788F00C1E4A1 /* MainMenu.xib */,
AB8766AF1D7C788F00C1E4A1 /* Info.plist */,
);
path = "Example-macOS";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
AB8766A41D7C788F00C1E4A1 /* Example-macOS */ = {
isa = PBXNativeTarget;
buildConfigurationList = AB8766B21D7C788F00C1E4A1 /* Build configuration list for PBXNativeTarget "Example-macOS" */;
buildPhases = (
AB8766A11D7C788F00C1E4A1 /* Sources */,
AB8766A21D7C788F00C1E4A1 /* Frameworks */,
AB8766A31D7C788F00C1E4A1 /* Resources */,
AB8DA9891D7DAF92003DB154 /* Embed Frameworks */,
);
buildRules = (
);
dependencies = (
);
name = "Example-macOS";
productName = "Example-macOS";
productReference = AB8766A51D7C788F00C1E4A1 /* Example-macOS.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
AB87669D1D7C788F00C1E4A1 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0800;
LastUpgradeCheck = 0800;
ORGANIZATIONNAME = "Jonathan Underwood";
TargetAttributes = {
AB8766A41D7C788F00C1E4A1 = {
CreatedOnToolsVersion = 8.0;
ProvisioningStyle = Automatic;
};
};
};
buildConfigurationList = AB8766A01D7C788F00C1E4A1 /* Build configuration list for PBXProject "Example-macOS" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = AB87669C1D7C788F00C1E4A1;
productRefGroup = AB8766A61D7C788F00C1E4A1 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
AB8766A41D7C788F00C1E4A1 /* Example-macOS */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
AB8766A31D7C788F00C1E4A1 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
AB8766AB1D7C788F00C1E4A1 /* Assets.xcassets in Resources */,
AB8766AE1D7C788F00C1E4A1 /* MainMenu.xib in Resources */,
ABD83ADD1D7DAE040010F41F /* WaveformWindowController.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
AB8766A11D7C788F00C1E4A1 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
ABD83ADC1D7DAE040010F41F /* WaveformWindowController.swift in Sources */,
AB8766A91D7C788F00C1E4A1 /* AppDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

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

/* Begin XCBuildConfiguration section */
AB8766B01D7C788F00C1E4A1 /* 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_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVES = YES;
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_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
AB8766B11D7C788F00C1E4A1 /* 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_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_SUSPICIOUS_MOVES = YES;
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;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
};
name = Release;
};
AB8766B31D7C788F00C1E4A1 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = "Example-macOS/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.jyunderwood.WaveformView.Example-macOS";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
name = Debug;
};
AB8766B41D7C788F00C1E4A1 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = "Example-macOS/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.jyunderwood.WaveformView.Example-macOS";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 3.0;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
AB8766A01D7C788F00C1E4A1 /* Build configuration list for PBXProject "Example-macOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
AB8766B01D7C788F00C1E4A1 /* Debug */,
AB8766B11D7C788F00C1E4A1 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
AB8766B21D7C788F00C1E4A1 /* Build configuration list for PBXNativeTarget "Example-macOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
AB8766B31D7C788F00C1E4A1 /* Debug */,
AB8766B41D7C788F00C1E4A1 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = AB87669D1D7C788F00C1E4A1 /* Project object */;
}

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

20 changes: 20 additions & 0 deletions Example-macOS/Example-macOS/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//
// AppDelegate.swift
// Example-macOS
//
// Created by Jonathan on 9/5/16.
// Copyright © 2016 Jonathan Underwood. All rights reserved.
//

import Cocoa

@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {
var waveformWindowController: WaveformWindowController!

func applicationDidFinishLaunching(_ aNotification: Notification) {
let waveformWindowController = WaveformWindowController(windowNibName: "WaveformWindowController")
waveformWindowController.showWindow(self)
self.waveformWindowController = waveformWindowController
}
}
Loading

0 comments on commit 3a5a7e5

Please sign in to comment.