forked from metal-by-example/sample-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update DrawingIn3D to build on macOS
Prior to this commit DrawingIn3D was a iOS app. This commit changes that by updating the code to work as a macOS application using NSView and respective function calls.
- Loading branch information
Showing
21 changed files
with
880 additions
and
353 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
8 changes: 8 additions & 0 deletions
8
...awingIn3D/DrawingIn3D.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.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 @@ | ||
<?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>IDEDidComputeMac32BitWarning</key> | ||
<true/> | ||
</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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
@import UIKit; | ||
#import <Cocoa/Cocoa.h> | ||
|
||
@interface AppDelegate : UIResponder <UIApplicationDelegate> | ||
|
||
@property (strong, nonatomic) UIWindow *window; | ||
@interface AppDelegate : NSObject <NSApplicationDelegate> | ||
|
||
@end | ||
|
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
72 changes: 0 additions & 72 deletions
72
objc/04-DrawingIn3D/DrawingIn3D/Assets.xcassets/AppIcon.appiconset/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-7.07 KB
objc/04-DrawingIn3D/DrawingIn3D/Assets.xcassets/AppIcon.appiconset/Icon@2x.png
Binary file not shown.
Binary file removed
BIN
-11.4 KB
objc/04-DrawingIn3D/DrawingIn3D/Assets.xcassets/AppIcon.appiconset/Icon@3x.png
Binary file not shown.
Binary file removed
BIN
-4.4 KB
objc/04-DrawingIn3D/DrawingIn3D/Assets.xcassets/AppIcon.appiconset/Icon~ipad.png
Binary file not shown.
Binary file removed
BIN
-9.22 KB
.../04-DrawingIn3D/DrawingIn3D/Assets.xcassets/AppIcon.appiconset/Icon~ipad@2x.png
Binary file not shown.
6 changes: 6 additions & 0 deletions
6
objc/04-DrawingIn3D/DrawingIn3D/Assets.xcassets/Contents.json
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,6 @@ | ||
{ | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
} | ||
} |
27 changes: 0 additions & 27 deletions
27
objc/04-DrawingIn3D/DrawingIn3D/Base.lproj/LaunchScreen.storyboard
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.