blueantcorp.com
blog
  • Asynchronous completion handlers with Result type

    17 Apr 2019

    This week we will talk about Result enum, which had been a part of the standard library since Swift 5. With Result enum, we can easily describe the resulting state of an asynchronous operation. It can be success or failure at one time not both of them. Let's take a look at Result enum definition in the Swift standard library.


  • Inclusive enums with OptionSet

    10 Apr 2019

    Enums are one of the most powerful features of Swift language. It forms Value-Oriented Programming in conjunction with Structs. Enum is the best way to describe the exclusive state in Swift, but what about the case when you need an inclusive state. Today we will talk about OptionSet protocol and how we can achieve inclusive states with it.


  • Adapting app for iPad with UISplitViewController

    03 Apr 2019

    Apple promotes iPad as the primary computer for regular users. This trend is visible during the last couple of years. More and more users start to use iPad as the main device. I think it is essential to support iPad screens and efficiently use that space. This week we will talk about adapting apps for iPad with the help of UISplitViewController.


  • Deep dive into Pattern matching with ~= operator

    20 Mar 2019


previous | next

This site was built using Jekyll and is hosted on Github Photos from Unsplash and text generated with Hipster Ipsum. © 2015