Skip to content

schrock {block}

code and science (but mostly code)

  • Twitter
  • Github
  • LinkedIn
  • Home
  • About
  • Logo Roll
  • Hire Me!
  • Contact
  • Testimonials
  • Blog

Month: November 2019

Uncategorized

Quick Swift: Protocols

November 19, 2019August 10, 2020 E S

Protocols allow you to define functions and properties that any class or struct which conforms to it must implement. This gives you the ability to rely only upon the things you need, while not putting too many restrictions on the conforming type. Let's look at an example. Consider the following: protocol Fireable { func fire()… Continue reading Quick Swift: Protocols

Leave a comment
Uncategorized

Quick Swift: Swift Optionals and nil

November 12, 2019August 10, 2020 E S

TLDR: calling a method on nil will crash. Variables that can be nil are called Optional, and are defined using a question mark. To call a method on an optional variable, unwrap it by using a question mark (optional chaining), an exclamation point (force unwrapping), or an "if let" or "guard let" statement (conditional unwrapping).… Continue reading Quick Swift: Swift Optionals and nil

Leave a comment
Uncategorized

iOS App Codebase Best Practices

November 8, 2019 E S

A client recently had me prepare a document containing suggestions on how to bring their app in line with current best practices as they continue to iterate and grow their team. Below I've listed some of those best practices, as I see them, and some suggestions on how to get there on a 'lazy' basis… Continue reading iOS App Codebase Best Practices

Leave a comment

Recent Posts

  • Quick Swift: Operators
  • What makes a good network layer
  • Slippers: a library for paging, refreshing, and JSON
  • Quick Swift: Combine (Just the Basics)
  • Coronemoting: Remote work during the coronavirus pandemic

Archives

  • August 2020
  • July 2020
  • April 2020
  • March 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • May 2019
  • April 2019
  • December 2018
  • November 2018
  • October 2018
  • August 2018
  • October 2017
  • September 2017
  • March 2017
  • September 2016
  • August 2016
  • June 2016
  • July 2015
  • April 2015
  • November 2014
  • October 2014
  • March 2014
  • November 2012

Categories

  • Android Development
  • Arduino
  • Continuous Integration
  • iOS Development
  • Penetration Testing
  • RainbowCube
  • RainbowDuino
  • Raspberry Pi
  • Uncategorized

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com

Hours & Info

Based in New York, NY
Mon-Fri 8am to 5pm

Recent Posts

  • Quick Swift: Operators
  • What makes a good network layer
  • Slippers: a library for paging, refreshing, and JSON
  • Quick Swift: Combine (Just the Basics)
  • Coronemoting: Remote work during the coronavirus pandemic
  • Twitter
  • Github
  • LinkedIn
Blog at WordPress.com.