enum RandomTips { case EnumFuncs
case EnumFuncs I looove enums. They allow you to explicly define enumerations without resorting to stringly typing or falling back to simple Ints. However, they don’t have inherent compatibility withContinue reading
case EnumFuncs I looove enums. They allow you to explicly define enumerations without resorting to stringly typing or falling back to simple Ints. However, they don’t have inherent compatibility withContinue reading
Moar Delegates In my previous blog post, I mentioned how I didn’t have a perfect metaphor to help with understanding protocols (and delegates, as a subtype of protocols). That hasn’tContinue reading
TIL I always love learning new stuff! Well, at least when it’s new stuff I care about. Today I learned that there’s a better way to construct queries for apisContinue reading
Ignite Today’s lecture was designed around learning how to use JSON apis and we made a sample app that did as such. I’ve done this kind of thing before, butContinue reading
But why shorthand? Me: Largely because closures don’t think for themselves, they do as they’re told. Closures: That is not true! Me: Yes it is! Closures: Okay. Closures are amazing.Continue reading
Read all about it! Have you ever done this? //run a background thread DispatchQueue.global().async { //update the UI self.dataLabel.text = "NEW IMPORTANT INFORMATION!!!" } and ended up with this? =================================================================Continue reading
UISearchBar is neat Earlier today I was making my first attempt at using the UISearchBar. It’s quite neat! The TL;DR of it is that it’s basically a UITextField with prebakedContinue reading
Intro Good code delegates responsibility to the objects responsible for that code. It just makes it easier for others to understand and reason about, especially in large projects. However, aContinue reading
In our lesson today, we were provided some template code to assist us in our guided project during our lecture. Included was some netcode for URLSession. I just wanted toContinue reading
A couple days into school, we covered delegates and protocols. I definitely saw some fellow students struggle with the concept. I wish I could say I have a perfect metaphorContinue reading