ok so I’m here because I used your sprite kit tutorial and I have a question about if I wanted to add a label to it that counts the score what would I do this has been driving me nuts for the past couple of days
I think there is something missing and could be nice to explain how to manage it.
If the name of the text is very long, the text will not be ellipsize, because the width of the sidepanel equals the width of the screen, so the half of the text will be hidden by the central view.
“Don’t worry about the compiler error on the second line, you’ll take care of that shortly.”
This should really be shown before the code fragment so that people don’t spend 10 minutes trying to fix an error one assumes one has written in the code. Such was my experience, at least.
Even better, you could put the extension with the CenterViewControllerDelegate in first to avoid the error altogether.
The shadow appears on the centerNavigationController for me on ios12 simulators but not on ios13. I’m digging through all kinds of sources and can’t not find an answer as to why? I’ve tried setting background colors, changing zPosition, setting border.