Mike's Psyche

  • Home
  • Portfolio
  • About
    • Privacy Policy

enum RandomTips { case GlobalTint

Michael 2019-05-11

case GlobalTint This is a good one for those who heavily customize their UI, or even slightly customize it. It’s not uncommon to want to make a modification to theContinue reading

extension MyBlog: UnderstandingDelegate {

Michael 2019-05-11

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: Swipe Actions and Pull to Refresh

Michael 2019-05-08

Swipe Actions In my Poopmaster and RePNCalc apps, I had used table views and implemented a third party library to enable swipe actions on the cells. While there may beContinue reading

TIL: URLComponents, URLQueryItem, and URLRequest

Michael 2019-05-07

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

lightsaber.color = .blue

Michael 2019-05-07

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

typealias shorthand = (String, String) -> (Str)

Michael 2019-05-07

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

EXTRA EXTRA: Main Thread Gains Exclusive Rights to UI Elements

Michael 2019-05-07

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

let subviews = view.subviews.noIMeanALLSubviews()

Michael 2019-05-07

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

Embedding View Controllers

Michael 2019-05-06

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

Good Code Procedure: URLSession.dataTask

Michael 2019-05-06

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

Posts navigation

« 1 2 3 4 »
About

MICHAEL REDIG

I love Swift, World of Warcraft, my wife, and my dog. (not necessarily in that order)

Recent Posts
  • 80/20 Rule
  • Touch Visualization During Presentations
  • Protocol Extensions, Defaults, and “Overriding”
  • Poopmaster Pro Released on the App Store!
  • SwiftyBinaryFormatter
Categories
  • App Store
  • Misc
  • Programming
  • Swift
  • Xcode
Meta
  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Recent Comments
  • Ilias on Protocol Extensions, Defaults, and “Overriding”
  • Andrew Ruiz on The Game of Git
  • Taylor Fahey-Lyles on Scoreboard
  • NetworkHandler | Mike's Psyche on Good Code Procedure: URLSession.dataTask
  • Home
  • Portfolio
  • About

Copyright 2023 Mike's Psyche | Designed by CodeGearThemes

Powered by WordPress