Tabs with NavigationStacks: Deeper Programmatic Navigation
There are some great developer posts about programmatic navigation using NavigationStack with NavigationPath such as this one I recently read by David Bureš. This is great for apps that need navigation depth but not breadth. By breadth, I mean apps whose scope contains categories of screens that require a TabView. If your app can benefit from the breadth of using tabs in addition to navigation stacks that give you the depth, you can still achieve programmatic navigation as well....
Fill In The Blank
Here’s another great puzzle to code a solution for. This week’s puzzle from NPR: This week’s challenge comes from listener Peter Gwinn, who writes for “Wait Wait … Don’t Tell Me!” Take the first name of a famous movie director. Write it in upper- and lowercase letters. Rotate the third letter of this name 180° and you’ll get the name of the main character in one of this director’s most popular movies....
Countries and Nationalities
Here’s another great puzzle to code a solution for. This week’s puzzle from NPR: This week’s challenge is a spinoff of my on-air puzzle. Name two countries that have consonyms that are nationalities of other countries. In each case, the consonants in the name of the country are the same consonants in the same order as those in the nationality of another country. No extra consonants can appear in either name....
Movie Shmovie
Will Shortz himself has often said that however you want to solve the puzzle is fair game. I couldn’t come up with the solution in a short span today running it only in my head, and I have lots of other things to worry over in my spare cycles this week. That said, I figure why not have fun coding in Swift and solving the puzzle of the week at the same time?...