Andrew's Journey to Release an app

Day 49 - GitHub Search Tricks & SwiftUI Dates Challenge

Wednesday, March 2, 2022

Today, I learned how to search GitHub more effectively. I learned how to filter to a particular username’s repositories, as well as search for a string within all of the files ending in a certain extension. For example, I searched for all occurrences of Date within my GitHub repos with the following query:

user:<userName> extension:swift <searchTerm> in:file
user:agholson extension:swift Date in:file

This reference provides more examples on how you can search. I love how they word that they will ignore certain keywords:

Also, was grateful for the challenge from @alexbard here in his date’s app. I ended up writing the code for the middle list of dates (full repo here):