• BLOG
  • ARCHIVE
  • Swift 4 Codable

    Feb 9, 2019

    Swift4 makes JSON serialization easier than ever. If you want an object to be encodable, Adapt to Encodable protocols. If you want an object to be decodable, adapt to Decodable protocols. Codable protocols is for objects that both encodable and decodable.

    ...more
  • Xcode Keyboard Shortcut Cheatsheet

    Jan 24, 2019

    Here are list of keyboard shortcut I like to use to keep my hand always on keyboard.

    ...more
  • Git Bash Scripting

    Jan 17, 2019

    Here are some useful git command for bash scripting

    ...more
  • Echo With Colour

    Jan 16, 2019

    How to print in bash with color? There are two easy ways. One is for easy print sentences. The other one is more suitable for printing blocks of lines of logs.

    ...more
  • iOS Coding Guideline

    Jan 16, 2019

    This is about iOS coding style convention.

    ...more
  • How to Build Static Libaray With Both Architecture

    Jan 15, 2019

    When building static library in XCode (.a), the architecture you selected in build target does affect the result. For example, if you select a simulator and build the static library, then the library will contain only architecture for simulator use. If you select a real device / generic iOS device, then the library will only contain architecture for a real device.

    ...more
  • Wait Until Async Finishes

    Dec 5, 2018

    If I have to run a block of codes in background thread, how to make a function return the value after async blocks?

    ...more
  • Git Cheatsheet

    Dec 4, 2018

    My git cheatsheet

    ...more
  • Android Java Enum

    Aug 7, 2018

    Before taking about Java Enum, please note that there is a performance issue with the android java enum object. For detail, please take a look at this blog post.

    If you still want to use a normal Java Enum, read below.

    ...more
  • Wireless Debugging

    Aug 1, 2018

    When developing on android, you have the option to wireless connect to your computer. To do this you will need to do following setups.

    ...more
PREVNEXT