skellt

skellt

Apple Game Frameworks and Technologies: Prefix chapter number in zip file

This is super minor, but I would find it helpful if the folders in the zip file containing sample code had the chapter number at the front. Instead of CreatingScenesWithSpritesAndNodes perhaps 1-CreatingScenesWithSpritesAndNodes or Ch1-CreatingScenesWithSpritesAndNodes. Then the folders would sort in order and the resources/code would be easier to find.

The current chapter name is printed at the top of every other page, so it’s not that hard to figure out what folder the current code/resources are in. But I am finding myself jumping back to the folders for the previous chapter, or the next chapter, now and then and I have to check the table of contents to get the chapter title before I can do so.

Marked As Solved

Paradox927

Paradox927

Author and Editor at PragProg

Hello, David.

We are unable to include chapter numbers within our folder names. However, there is something you can do:

In Finder, you can turn on the Comments column, and then sort by that column.
Right-click the Name column in Finder, then select the Comments option:

After that, you can add the chapter number to each folder.
Right-click the folder, select Get Info, and enter the chapter number in the Comments box:

You can also use Tags to further help identify each chapter and its companion game. For example, Gloop Drop is set to Green, Val’s Revenge is set to Blue, and Hog is set to Purple. I also set up secondary colors for different parts of the book since Gloop Drop and Val’s Revenge are covered in multiple parts:

Sadly, my Comments and Tags remain local to my system. There may be a way to include these two options when sharing the files, but I’ve yet to find a way to do so.

Hope that helps!

Where Next?

Popular Pragmatic Bookshelf topics Top

New
iPaul
page 37 ANTLRInputStream input = new ANTLRInputStream(is); as of ANTLR 4 .8 should be: CharStream stream = CharStreams.fromStream(i...
New
jdufour
Hello! On page xix of the preface, it says there is a community forum "… for help if your’re stuck on one of the exercises in this book… ...
New
leba0495
Hello! Thanks for the great book. I was attempting the Trie (chap 17) exercises and for number 4 the solution provided for the autocorre...
New
jskubick
I think I might have found a problem involving SwitchCompat, thumbTint, and trackTint. As entered, the SwitchCompat changes color to hol...
New
brunogirin
When installing Cards as an editable package, I get the following error: ERROR: File “setup.py” not found. Directory cannot be installe...
New
hazardco
On page 78 the following code appears: <%= link_to ‘Destroy’, product, class: ‘hover:underline’, method: :delete, data: { confirm...
New
andreheijstek
After running /bin/setup, the first error was: The foreman' command exists in these Ruby versions: That was easy to fix: gem install fore...
New
ggerico
I got this error when executing the plot files on macOS Ventura 13.0.1 with Python 3.10.8 and matplotlib 3.6.1: programming_ML/code/03_...
New
dachristenson
I’ve got to the end of Ch. 11, and the app runs, with all tabs displaying what they should – at first. After switching around between St...
New

Other popular topics Top

AstonJ
Or looking forward to? :nerd_face:
503 15149 280
New
AstonJ
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
New
AstonJ
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
Exadra37
Oh just spent so much time on this to discover now that RancherOS is in end of life but Rancher is refusing to mark the Github repo as su...
New
PragmaticBookshelf
Programming Ruby is the most complete book on Ruby, covering both the language itself and the standard library as well as commonly used t...
New
PragmaticBookshelf
Author Spotlight: Peter Ullrich @PJUllrich Data is at the core of every business, but it is useless if nobody can access and analyze ...
New
PragmaticBookshelf
Develop, deploy, and debug BEAM applications using BEAMOps: a new paradigm that focuses on scalability, fault tolerance, and owning each ...
New
AnfaengerAlex
Hello, I’m a beginner in Android development and I’m facing an issue with my project setup. In my build.gradle.kts file, I have the foll...
New
PragmaticBookshelf
Use advanced functional programming principles, practical Domain-Driven Design techniques, and production-ready Elixir code to build scal...
New
PragmaticBookshelf
Lint your docs like code: turn any style guide into enforceable rules with Vale and publish clear, consistent content every time. ...
New

Sub Categories: