This function is for an online game called Larry Birdle which I made in a few hours
while (procrastinating) studying for a midterm. The game is based off the Poeltl game by Dunk Town, but Larry Birdle is
not limited to one game per day. Calling the function will return data for a random
NBA player. This was initially made in March 2021, so the data may be incorrect by
the time you read this, although I do intend on updating it every season.
Player data was sourced from NBA.com and All Sports Talk
This function was also made for Rocketeer . Calling this function will return the inputted date in a uniform format which can be easily parsed by Swift. The editor for the Rocketeer source data often made inconsistencies in their date formatting, causing Swift to crash our app. This function helped maintain a consistent and future proof date formatting process.
This function was made for Widgit , an app I
made in the summer of 2020 which allows you to create and fully
customize an iOS 14 home screen widget for Reddit posts. Calling this
function will return the top post in any subreddit.
The function can also be given an offset value to skip the first few posts, different ways to sort the posts, or specified limits of the amount of posts to return.