Quiet some deprecated warnings.#277
Conversation
|
Many of those are done intentionally:
The other changes are welcome, once the tabs are fixed. |
1e5063d to
38a5b2d
Compare
|
Yeah, I used an Xcode project, mainly to see how it would compile under Apple Silicon. Ah, I thought My new commit removes the migration to NSURL, but still calls |
|
The Makefile already compiles ARM-Intel fat binaries if you use |
|
Ah, so Universal compilation is already handled. Also, compiling Swift source using a makefile is a pain! I should know, my NetHack3D code has parts that are Swift, that have to interact with the build system. |
4ebe973 to
0989ee2
Compare
4873d7c to
858f003
Compare
This will quiet some deprecated warnings in regards to Cocoa methods, including:
-[NSGraphicsContext graphicsPort]with-[NSGraphicsContext CGContext].Note that I used tabs instead of spaces. I'll probably fix it in another commit.