Dimitar Chakarov

Recent Posts

  • May 23, 2019

    Me vs. Coffee

    From the moment the first thought about coffee appeared in my mind I knew the battle was lost. It didn't matter that it was night time. It didn't matter that I had had four cups of coffee at work already.

  • April 26, 2019

    Using Swift 5 Result Type With Alamofire 4

    If you are anything like me the second thing after downloading Xcode 10.2 for you would be to try out the new Result type. For me that meant changing this:

  • October 14, 2018

    MacBook Keyboard Setup: The Mysterious § Key

    When you start a new job in an office, you usually get a new laptop. If your job is an iOS developer, you probably get a MacBook Pro. The first few days are usually dedicated to setting up your environment, big part of which are the keyboard layout and shortcuts. My first job is to install the Bulgarian keyboard layout and to remap Cmd-Space to switch between English and Bulgarian. I realise this is too specific to me and as such probably has no value to you. A thing a bit more useful for you - the second thing I do is swap the two shortcuts for screenshots. That means Shift-Cmd-4 to save the screenshot of the selected area into the clipboard and Ctrl-Shift-Cmd-4 to save to a file. I realised I was pasting screenshots into chats way more than I was needing them saved for later.

  • July 17, 2018

    Am I Running On A User Device?

    A common problem every iOS developer has to solve is finding out whether the app is being executed on a user device (via AppStore), a test device (via TestFlight) or a dev device (via Xcode). This is useful for deciding the level of logging, showing and hiding “admin” features, and connecting to the right backend environment.

  • July 15, 2018

    My GitHub - A New Beginning

    After I finished cleaning up my GitHub account last month it bugged me how empty it was. On the other side, I didn’t want to upload just anything, as that would have lead to another clean up. So I spent a few days thinking about it and in the mean time I managed to read the book App Architecture (more on that in the next post) which inspired me to rewrite my two apps currently on the AppStore.