VS Code Cheatsheet

I’m getting hooked to Visual Studio Code more and more thesedays … it’s light and fast! Here’s my cheatsheet when using VS Code. Frequently used (but forgotten) shortcuts Copy current line up or down: Option + Shift + up/down Delete current line : ⌘ + Shift + K Move current line up or down: Option + up/down Prettify flat JSON: Option + Shift + f Show or hide sidebar: ⌘ + b Quick select the language: ⌘ + k then m String processing using regex Single line selection Let’s say I have these lines, shortened from a long list of enum cases.
Read more →

Wrapped up, iOSConfSG 2019

Busy busy busy!! iOS Conf SG is here again and we’ve been preparing it for the past year, and as always, the intensity is climax a month before D-day! The role that I’m playing this year is 100% on the app side, perfect as I’m working remotely from Jakarta. Guess what … it’s completely rebuilt from scratch without storyboard, and the source code is available from https://github.com/iOSConfSG/2019-iosconfapp 🌈🍻. A video speaks hundred thousands word, here’s what the app can do.
Read more →

Xcode Setup

Using Xcode the right way is as important as sitting on a comfortable chair to endure long hours of coding. This is my personal note to remind me on what to do when I need to do a fresh Xcode install, and its shortcut. Get rid of those trailing whitespace Method 1: Xcode preferences This is best described by John Sundell’s tweet on why you should enable this option. Very useful if you need to entertain linting tools such as SwiftLint or Codacy.
Read more →

Hello

Happy new year 2019 🎉 and hello again! I’m giving my blog a reboot after the previous one got deleted by OpenShift 😣. Most of the previous posts are recoverable, I just need some time to recreate it using Markdown. This time, I’m choosing Hugo over Ghost as the engine. I got to know Hugo when contributing to GopherconSG’s website. The continous deployment using Netlify is very seamless, I just love the simplicity!
Read more →

Vapor 3 Preview

Gave a talk at iOS Dev Scout this month about Vapor 3 which is still in preview mode, thanks to Yeo Kheng Meng from Engineers.sg who helped recording my talk! Engineers.sg page: https://engineers.sg/video/vapor-3-preview-ios-dev-scout--2585 Vapor has come to my attention since RayWenderlich launched a full course on it and it’s authored by Tim Condon who’s the contributor of Vapor himself! The development is exciting, however, I find the async (yes, async everywhere) concept more difficult to understand compared to protocol oriented programming on iOS.
Read more →