Skip to content

schrock { block }

code and science (but mostly code)

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

Author: E S

A mobile developer with a taste for everything.
Uncategorized

ReactiveSwift to Combine Cheat Sheet

December 10, 2019 E S

This is a cheat sheet for converting from ReactiveSwift to Combine. The origin of this document is me converting some of my libraries from one to the other, so they're just basic use cases of things I've used. As a result, this sheet by no means exhaustive, but is a good start and includes caveats… Continue reading ReactiveSwift to Combine Cheat Sheet

Leave a comment
Uncategorized

Quick Swift: Generics

December 3, 2019August 10, 2020 E S

Generics are basically placeholders for types. They help you write specific code that can be used with (almost) any type. Suppose you're really tired of the whole if let dance. You want to write a function that will do that for you, so you can save some lines of code. Generics to the rescue! You could… Continue reading Quick Swift: Generics

Leave a comment
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
Uncategorized

Mobile Dev Toolbox

October 12, 2019 E S

Want to be a one-person mobile app factory? Then you'll need the tools below! iOS Development Required This one is probably the most annoying if you're not already an Apple user: you'll need a Mac of some sort, first of all because Apple requires it, but secondly because only Macs can run Xcode, which iOS… Continue reading Mobile Dev Toolbox

Leave a comment
Uncategorized

Swift/Kotlin Functional Programming: Tips and Tricks

October 12, 2019August 10, 2020 E S

Here are some of the main advantages I see to doing things in a functional way: Less code – writing simple, small functions allows you to reuse them in many different places by giving you the flexibility to compose and combine them in any way you can think of. This leads to fewer levels of… Continue reading Swift/Kotlin Functional Programming: Tips and Tricks

Leave a comment
Uncategorized

Android Instant Apps – tips and tricks

September 8, 2019September 8, 2019 E S

At I/O a few years ago, Google announced Instant Apps, an innovation that promises to be good for users and app developers alike. Instant Apps allow visitors to your Play Store listing to try before they buy – in one tap they're able to quickly download a demo version of your app and see how… Continue reading Android Instant Apps – tips and tricks

Leave a comment
Uncategorized

White Board Interviews: Debunked

September 4, 2019September 24, 2021 E S

White board interviews in tech are a scourge. Companies shouldn't use them, and developers shouldn't work for companies that do. I'll talk about why in a moment, but first, let's discuss what they are and what they are not. White Board Monolith White board interviews usually consist of the interviewee in a conference room with… Continue reading White Board Interviews: Debunked

Leave a comment
Uncategorized

Smart Apartment Speaker System Setup

August 6, 2019 E S

Today I'd like to talk about how I've set up my apartment's homegrown, multi-room, auto synced speaker system. When I discovered Sonos a few years ago, I was amazed at it's multi-room sound syncing speakers... I was also disappointed by the cost. So, I set out to build (or, at least, assemble) my own system… Continue reading Smart Apartment Speaker System Setup

Leave a comment

Posts navigation

Older posts
Newer posts

Recent Posts

  • Practical applications of “execution is more important than the idea”
  • Prefer functions to protocols
  • Easily handle server errors by default in iOS
  • Why you should try Functional Programming (in Swift)
  • Beware multi-sided businesses

Archives

  • September 2021
  • April 2021
  • 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

  • Create account
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com

Hours & Info

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

Recent Posts

  • Practical applications of “execution is more important than the idea”
  • Prefer functions to protocols
  • Easily handle server errors by default in iOS
  • Why you should try Functional Programming (in Swift)
  • Beware multi-sided businesses
  • Twitter
  • Github
  • LinkedIn
Blog at WordPress.com.
schrock { block }
Blog at WordPress.com.
  • Subscribe Subscribed
    • schrock { block }
    • Already have a WordPress.com account? Log in now.
    • schrock { block }
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...