-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
foundry
committed
Dec 27, 2012
0 parents
commit 5a2ba96
Showing
38 changed files
with
8,072 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,150 @@ | ||
######################### | ||
# .gitignore file for Xcode4 / OS X Source projects | ||
# | ||
# NB: if you are storing "built" products, this WILL NOT WORK, | ||
# and you should use a different .gitignore (or none at all) | ||
# This file is for SOURCE projects, where there are many extra | ||
# files that we want to exclude | ||
# | ||
# For updates, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects | ||
######################### | ||
|
||
##### | ||
# OS X temporary files that should never be committed | ||
|
||
.DS_Store | ||
*.swp | ||
*.lock | ||
profile | ||
|
||
|
||
#### | ||
# Xcode temporary files that should never be committed | ||
# | ||
# NB: NIB/XIB files still exist even on Storyboard projects, so we want this... | ||
|
||
*~.nib | ||
|
||
|
||
#### | ||
# Xcode build files - | ||
# | ||
# NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "DerivedData" | ||
|
||
DerivedData/ | ||
|
||
# NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "build" | ||
|
||
build/ | ||
|
||
|
||
##### | ||
# Xcode private settings (window sizes, bookmarks, breakpoints, custom executables, smart groups) | ||
# | ||
# This is complicated: | ||
# | ||
# SOMETIMES you need to put this file in version control. | ||
# Apple designed it poorly - if you use "custom executables", they are | ||
# saved in this file. | ||
# 99% of projects do NOT use those, so they do NOT want to version control this file. | ||
# ..but if you're in the 1%, comment out the line "*.pbxuser" | ||
|
||
*.pbxuser | ||
*.mode1v3 | ||
*.mode2v3 | ||
*.perspectivev3 | ||
# NB: also, whitelist the default ones, some projects need to use these | ||
!default.pbxuser | ||
!default.mode1v3 | ||
!default.mode2v3 | ||
!default.perspectivev3 | ||
|
||
|
||
|
||
### | ||
# the following section, whilst informative, does not work | ||
# as you don't seem to be able to re-include (!xcshareddata !xcschemes) | ||
# from already-excluded directories (xcuserdata) | ||
# cf http://stackoverflow.com/questions/13732165/gitignore-negations-ignored-by-git-for-osx-xcode-project | ||
|
||
|
||
# #### | ||
# # Xcode 4 - semi-personal settings, often included in workspaces | ||
# # | ||
# # You can safely ignore the xcuserdata files - but do NOT ignore the files next to them | ||
# # | ||
# | ||
# xcuserdata | ||
# | ||
# | ||
# #### | ||
# # XCode 4 workspaces - more detailed | ||
# # | ||
# # Workspaces are important! They are a core feature of Xcode - don't exclude them :) | ||
# # | ||
# # Workspace layout is quite spammy. For reference: | ||
# # | ||
# # (root)/ | ||
# # (project-name).xcodeproj/ | ||
# # project.pbxproj | ||
# # project.xcworkspace/ | ||
# # contents.xcworkspacedata | ||
# # xcuserdata/ | ||
# # (your name).xcuserdatad/ | ||
# # xcuserdata/ | ||
# # (your name).xcuserdatad/ | ||
# # xcdebugger/ | ||
# # xcschemes/ | ||
# # | ||
# # | ||
# # | ||
# # Xcode 4 workspaces - SHARED | ||
# # | ||
# # This is UNDOCUMENTED (google: "developer.apple.com xcshareddata" - 0 results | ||
# # But if you're going to kill personal workspaces, at least keep the shared ones... | ||
# # | ||
# # | ||
# !xcshareddata | ||
# | ||
# | ||
# #### | ||
# # XCode 4 build-schemes | ||
# # | ||
# # PRIVATE ones are stored inside xcuserdata | ||
# !xcschemes | ||
|
||
|
||
# so instead we have to | ||
# - optionally ignore project.xcworkspace | ||
# - specify precisely which (other) files in xcuserdata we wish to ignore | ||
# (there may be others, I lack the knowledge!) | ||
# http://stackoverflow.com/questions/10956312/project-xcworkspace-is-this-important | ||
# "project.xcworkspace ! is this important?" | ||
# (conclusion - only important if coordinating shared workspaces between groups) | ||
|
||
project.xcworkspace | ||
|
||
# if project.xcworkspace is not ignored, you will want to ignore this file | ||
|
||
UserInterfaceState.xcuserstate | ||
|
||
# and in either case this | ||
|
||
xcdebugger/ | ||
|
||
|
||
|
||
#### | ||
# Xcode 4 - Deprecated classes | ||
# | ||
# Allegedly, if you manually "deprecate" your classes, they get moved here. | ||
# | ||
# We're using source-control, so this is a "feature" that we do not want! | ||
|
||
*.moved-aside | ||
|
||
|
||
#### | ||
# UNKNOWN: recommended by others, but I can't discover what these files are | ||
# | ||
# ...none. Everything is now explained. |
Large diffs are not rendered by default.
Oops, something went wrong.
86 changes: 86 additions & 0 deletions
86
DrawingTest.xcodeproj/xcuserdata/jonathan.xcuserdatad/xcschemes/DrawingTest.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "0450" | ||
version = "1.3"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "ABAA9F9116887AE100D40D87" | ||
BuildableName = "DrawingTest.app" | ||
BlueprintName = "DrawingTest" | ||
ReferencedContainer = "container:DrawingTest.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
buildConfiguration = "Debug"> | ||
<Testables> | ||
</Testables> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "ABAA9F9116887AE100D40D87" | ||
BuildableName = "DrawingTest.app" | ||
BlueprintName = "DrawingTest" | ||
ReferencedContainer = "container:DrawingTest.xcodeproj"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
</TestAction> | ||
<LaunchAction | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
buildConfiguration = "Debug" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
allowLocationSimulation = "YES"> | ||
<BuildableProductRunnable> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "ABAA9F9116887AE100D40D87" | ||
BuildableName = "DrawingTest.app" | ||
BlueprintName = "DrawingTest" | ||
ReferencedContainer = "container:DrawingTest.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
<AdditionalOptions> | ||
</AdditionalOptions> | ||
</LaunchAction> | ||
<ProfileAction | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
buildConfiguration = "Release" | ||
debugDocumentVersioning = "YES"> | ||
<BuildableProductRunnable> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "ABAA9F9116887AE100D40D87" | ||
BuildableName = "DrawingTest.app" | ||
BlueprintName = "DrawingTest" | ||
ReferencedContainer = "container:DrawingTest.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
22 changes: 22 additions & 0 deletions
22
DrawingTest.xcodeproj/xcuserdata/jonathan.xcuserdatad/xcschemes/xcschememanagement.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?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>SchemeUserState</key> | ||
<dict> | ||
<key>DrawingTest.xcscheme</key> | ||
<dict> | ||
<key>orderHint</key> | ||
<integer>0</integer> | ||
</dict> | ||
</dict> | ||
<key>SuppressBuildableAutocreation</key> | ||
<dict> | ||
<key>ABAA9F9116887AE100D40D87</key> | ||
<dict> | ||
<key>primary</key> | ||
<true/> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?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>CFBundleDevelopmentRegion</key> | ||
<string>en</string> | ||
<key>CFBundleExecutable</key> | ||
<string>${EXECUTABLE_NAME}</string> | ||
<key>CFBundleIconFile</key> | ||
<string></string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.ellipsis.${PRODUCT_NAME:rfc1034identifier}</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>${PRODUCT_NAME}</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
<key>LSMinimumSystemVersion</key> | ||
<string>${MACOSX_DEPLOYMENT_TARGET}</string> | ||
<key>NSHumanReadableCopyright</key> | ||
<string>Copyright © 2012 foundry. All rights reserved.</string> | ||
<key>NSMainNibFile</key> | ||
<string>MainMenu</string> | ||
<key>NSPrincipalClass</key> | ||
<string>NSApplication</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// | ||
// Prefix header for all source files of the 'DrawingTest' target in the 'DrawingTest' project | ||
// | ||
|
||
#ifdef __OBJC__ | ||
#import <Cocoa/Cocoa.h> | ||
#import "NSImage+Extensions.h" | ||
#endif |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// | ||
// JMAppDelegate.h | ||
// DrawingTest | ||
// | ||
// Created by jonathan on 24/12/2012. | ||
// Copyright (c) 2012 foundry. All rights reserved. | ||
// | ||
|
||
#import <Cocoa/Cocoa.h> | ||
#import "JMView.h" | ||
#import "JMRect.h" | ||
|
||
@interface JMAppDelegate : NSObject <NSApplicationDelegate> | ||
|
||
|
||
|
||
@property (nonatomic, strong) JMRect* rectToDrawIn1; | ||
@property (nonatomic, strong) JMRect* rectToDrawFrom1; | ||
@property (nonatomic, strong) JMRect* rectToDrawIn2; | ||
@property (nonatomic, strong) JMRect* rectToDrawFrom2; | ||
@property (weak) IBOutlet NSTextField *RectToDrawInLabel1; | ||
@property (weak) IBOutlet NSTextField *RectToDrawInLabel2; | ||
@property (weak) IBOutlet NSTextField *RectToDrawFromLabel1; | ||
@property (weak) IBOutlet NSTextField *RectToDrawFromLabel2; | ||
|
||
@property (assign) IBOutlet NSWindow *window; | ||
|
||
@property (weak) IBOutlet JMView *view; | ||
- (IBAction)firstAction:(id)sender; | ||
- (IBAction)secondAction:(id)sender; | ||
- (IBAction)mainAction:(id)sender; | ||
- (IBAction)firstToggle:(id)sender; | ||
- (IBAction)secondToggle:(id)sender; | ||
- (IBAction) reset:(id)sender; | ||
@end |
Oops, something went wrong.