Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jobatabs committed Apr 30, 2015
0 parents commit 5e8a1b7
Show file tree
Hide file tree
Showing 9 changed files with 973 additions and 0 deletions.
61 changes: 61 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Editor-specific
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist
*~
*.sublime-workspace
*.sublime-project
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*
.org-id-locations
*_archive
*_flymake.*
/eshell/history
/eshell/lastdir
/elpa/
*.cfxr

# OS-specific
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msm
*.msp
.DS_Store
.AppleDouble
.LSOverride
Icon
._*
.Spotlight-V100
.Trashes
Icon?
.directory
.fseventsd

# Xcode-specific
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
270 changes: 270 additions & 0 deletions Apple Product Name Generator.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,270 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
ED33D0711AF258B600D7003B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED33D0701AF258B600D7003B /* AppDelegate.swift */; };
ED33D0731AF258B600D7003B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED33D0721AF258B600D7003B /* ViewController.swift */; };
ED33D08E1AF25A0100D7003B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = ED33D08D1AF25A0100D7003B /* Main.storyboard */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
ED33D06B1AF258B600D7003B /* Apple Product Name Generator.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Apple Product Name Generator.app"; sourceTree = BUILT_PRODUCTS_DIR; };
ED33D06F1AF258B600D7003B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
ED33D0701AF258B600D7003B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
ED33D0721AF258B600D7003B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
ED33D08D1AF25A0100D7003B /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; };
/* End PBXFileReference section */

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

/* Begin PBXGroup section */
ED33D0621AF258B500D7003B = {
isa = PBXGroup;
children = (
ED33D06D1AF258B600D7003B /* Apple Product Name Generator */,
ED33D06C1AF258B600D7003B /* Products */,
);
sourceTree = "<group>";
};
ED33D06C1AF258B600D7003B /* Products */ = {
isa = PBXGroup;
children = (
ED33D06B1AF258B600D7003B /* Apple Product Name Generator.app */,
);
name = Products;
sourceTree = "<group>";
};
ED33D06D1AF258B600D7003B /* Apple Product Name Generator */ = {
isa = PBXGroup;
children = (
ED33D0701AF258B600D7003B /* AppDelegate.swift */,
ED33D0721AF258B600D7003B /* ViewController.swift */,
ED33D08D1AF25A0100D7003B /* Main.storyboard */,
ED33D06E1AF258B600D7003B /* Supporting Files */,
);
path = "Apple Product Name Generator";
sourceTree = "<group>";
};
ED33D06E1AF258B600D7003B /* Supporting Files */ = {
isa = PBXGroup;
children = (
ED33D06F1AF258B600D7003B /* Info.plist */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
ED33D06A1AF258B600D7003B /* Apple Product Name Generator */ = {
isa = PBXNativeTarget;
buildConfigurationList = ED33D0871AF258B800D7003B /* Build configuration list for PBXNativeTarget "Apple Product Name Generator" */;
buildPhases = (
ED33D0671AF258B600D7003B /* Sources */,
ED33D0681AF258B600D7003B /* Frameworks */,
ED33D0691AF258B600D7003B /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "Apple Product Name Generator";
productName = "Apple Product Name Generator";
productReference = ED33D06B1AF258B600D7003B /* Apple Product Name Generator.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
ED33D0631AF258B500D7003B /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0630;
ORGANIZATIONNAME = jontturi;
TargetAttributes = {
ED33D06A1AF258B600D7003B = {
CreatedOnToolsVersion = 6.3.1;
};
};
};
buildConfigurationList = ED33D0661AF258B500D7003B /* Build configuration list for PBXProject "Apple Product Name Generator" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = ED33D0621AF258B500D7003B;
productRefGroup = ED33D06C1AF258B600D7003B /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
ED33D06A1AF258B600D7003B /* Apple Product Name Generator */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
ED33D0691AF258B600D7003B /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
ED33D08E1AF25A0100D7003B /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
ED33D0671AF258B600D7003B /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
ED33D0731AF258B600D7003B /* ViewController.swift in Sources */,
ED33D0711AF258B600D7003B /* AppDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin XCBuildConfiguration section */
ED33D0851AF258B700D7003B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
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;
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_SYMBOLS_PRIVATE_EXTERN = NO;
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.10;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
ED33D0861AF258B700D7003B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
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.10;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
};
name = Release;
};
ED33D0881AF258B800D7003B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = "Apple Product Name Generator/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.10;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
ED33D0891AF258B800D7003B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = "Apple Product Name Generator/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.10;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
ED33D0661AF258B500D7003B /* Build configuration list for PBXProject "Apple Product Name Generator" */ = {
isa = XCConfigurationList;
buildConfigurations = (
ED33D0851AF258B700D7003B /* Debug */,
ED33D0861AF258B700D7003B /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
ED33D0871AF258B800D7003B /* Build configuration list for PBXNativeTarget "Apple Product Name Generator" */ = {
isa = XCConfigurationList;
buildConfigurations = (
ED33D0881AF258B800D7003B /* Debug */,
ED33D0891AF258B800D7003B /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = ED33D0631AF258B500D7003B /* Project object */;
}

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

32 changes: 32 additions & 0 deletions Apple Product Name Generator/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
//
// AppDelegate.swift
// AppleProductNameGenerator
//
// Created by Jonatan Noponen on 27.4.2015.
// Copyright (c) 2015 jontturi.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License along
// with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
//

import Cocoa

@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {

func applicationShouldTerminateAfterLastWindowClosed(sender: NSApplication) -> Bool {
return true
}

}
Loading

0 comments on commit 5e8a1b7

Please sign in to comment.