Open in app

Sign In

Write

Sign In

Scott
Scott

96 Followers

Home

About

Nov 28, 2022

How to use Vapor

Download brew if you don’t have it. Install vapor with the following command. brew install vapor 3. Then create a vapor project: cd <to your desired project location> vapor new <project name> 4. Open your Vapor project by double clicking package.swift 5. Set your scheme’s target as My Mac 6…

8 min read

How to use Vapor
How to use Vapor

8 min read


Sep 23, 2022

Navigation in iOS, you are doing it wrong.

Refer to this Hacking with Swift article. Maybe I should create a series called, “Ditch that design pattern for encapsulation.” I love the publication Hacking with Swift. I have benefitted greatly from the content they produce. This article is more a criticism of the coordinator pattern and how it is…

2 min read

2 min read


Sep 22, 2022

iOS networking layer, you are doing it wrong.

I recently interviewed at a company, and they gave me some code to review. I did my best to ignore the proctor’s deliberately slow speech tempo. He paused for non-existent questions. The code appeared to me to be self-explanatory, just rife with mistakes, code smells, and misuse of design patterns. …

17 min read

17 min read


Jul 16, 2022

Swift the weird stuff

A running list of weird Swift things I encounter. These are a few ideas for interview questions that explore some of the odd nuances of swift? What will the following code print? class Bla { var closure1: Action? var closure2: Action? } let bla = Bla() bla.closure1 = { print("hello 1") } bla.closure2 = bla.closure1 bla.closure1 = { print("successful interception") } bla.closure2?() At first it seems as though it might print “successful interception”. However, it actually prints “hello 1”.

1 min read

1 min read


Nov 5, 2021

How to implement software quickly

I don’t profess to have the fastest hands in the west, however I have noticed I move faster when I do certain things compared with when I do other things. Here are my observations. Upgrade to the fastest/latest tech The biggest limitation to how much you can get paid is how much you can get…

3 min read

3 min read


Oct 5, 2021

Journal of senior iOS developer part 2

Pair Programming — I always thought pair programming was a way for junior to be benefitted at the expense of senior developers. It might be the case sometimes. However I now understand multiple other benefits and use cases. You can understand and start working with Other people’s code faster When you are working…

2 min read

2 min read


Oct 4, 2021

Journal of a senior iOS developer part 1

Build times severely waste productivity. On closer inspection, I realized it wasn’t the build times, it was how I responded to them. I watched youtube videos while I wait for builds to complete or browse the web. That means, I wouldn’t notice anytime the app finishes building, only noticing when…

1 min read

Journal of a senior iOS developer part 1
Journal of a senior iOS developer part 1

1 min read


Sep 22, 2021

How to clean your local branch

git status Get a visual of current changes. red changes are unstaged changes. Green changes are staged changes. I use the following to clear all changes git reset Unstage your changes git checkout . git checkout -- . git clean -f -fd -fx

1 min read

1 min read


Sep 1, 2021

How to use Giphy to record a demo

As commits keep piling up, and last minute fixes come in, its easy to forget to do a final run through of the app. …

2 min read

How to use Giphy to record a demo
How to use Giphy to record a demo

2 min read


Aug 23, 2021

Merge conflicts in pbxproj

These are the peskiest merge conflicts. After spending days on resolving the same merge conflict, it makes you wonder whether it would be easier to copy and paste files. Alternatively many people suggest prevention, and that you basically change your daily habits so as to avoid these conflicts. They encourage…

1 min read

1 min read

Scott

Scott

96 Followers
Following
  • Josef Cruz

    Josef Cruz

  • Tim Denning

    Tim Denning

  • Farhan Tanvir

    Farhan Tanvir

  • Steven Curtis

    Steven Curtis

  • Jonathan Roseland

    Jonathan Roseland

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech