I have a word game with a large definition file. Because of loading times, I'd like to just hardcode it. I scripted it to be a static dictionary in a struct, but XCode choked on it.
What's a good way to just get my definitions in memory? Would using an array instead of a dict make a difference? Can I tell XCode to stop scanning the file for code completion (or whatever it's doing)?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I want to have a single window and use buttons to change between VCs A/B/C in that window. (Let's say it's a game and I want to freely move between a map view, a budget view, and a diplomacy view.) No problem on iOS, but on macOS it always wants to open new windows. I want to know the minimum necessary to either:
A) Create a window and move between VCs with buttons (i.e., back button, menu button, …) or
B) Hook up a split view controller so I can change the VC on the right from buttons on the left.
A skeleton project, a tutorial compatible with XCode 12.5, an annotated screenshot, a backmasked Led Zeppelin album… it's been 3 days and I've tried so many things, read so many tutorials, dev docs, that they're all jumbled in my head making it worse. Please save me before I code again!