Mike's Psyche

  • Home
  • About
    • Privacy Policy

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

struct Post: BlogDelegate

Michael 2019-05-05

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

String.ImproveMyCode(code)

Michael 2019-05-05

Since initially writing this, I was informed that it’s part of a lesson that is in my distant future relating to the Theory of Computation/Hash Tables. As a disclaimer, IContinue reading

guard let firstDay = [LambdaSchoolDays]().first

Michael 2019-05-05

The first day The first day was quite exciting! The only issue I had was that the lecture lasted a bit long. To be fair, they decided to make aContinue reading

let markdownTest = MarkdownTests()

Michael 2019-05-05

I might keep this around or I might delete it. I just want to test, via markdown, how different themes look. Here goes.

var myBlog = Blog()

Michael 2019-05-05

The Beginning I recently went back to school. If you don’t know me, I’ll back up a bit. I was diagnosed with ulcerative colitis when I was 15. My wholeContinue reading

Posts navigation

« 1 2 3
About

MICHAEL REDIG

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

Recent Posts
  • Animate StackViews
  • Swquizft
  • The Game of Git
  • Scoreboard
  • let answer = shouldBeTuple ? Tuple : Struct/Class
Categories
  • Misc
  • Programming
  • Swift
  • Xcode
Meta
  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Recent Comments
  • Andrew Ruiz on The Game of Git
  • Taylor Fahey-Lyles on Scoreboard
  • NetworkHandler | Mike's Psyche on Good Code Procedure: URLSession.dataTask
  • Home
  • About

Copyright 2019 Mike's Psyche | Designed by CodeGearThemes

Powered by WordPress