• What’s going on with those Swift Substrings?

    January 18, 2020 by

    Notes Although we expect string slicing to be a common task in software development, many Swift developers find substring to be complicated and frustrating. Comparing substring in other languages  Let’s see how substring works in other computer languages: C++: str.substr(2,8) Java: str.substring(2,8) Python: str[2,8] Objective-C: [str substringWithRange:NSMakeRange(2,6)] Now let’s see how to substring works in… Read more

  • Working With Xcode Configuration Files

    August 18, 2019 by

    The Good Old #if DEBUG Pattern We all know this pattern: And actually, it’s simple and works well. But it does have flaws — it’s not secured because it contains secret data such as passwords and keys right inside your repository. This makes it kind of a mess when you need to distinguish between environments. Additionally, it… Read more

View all posts

Follow My Blog

Get new content delivered directly to your inbox.