Builder Design Pattern in Swift and iOS/macOS Universe

Nikita Lazarev-Zubov
6 min readJun 22, 2019

This time I’d like to talk about another creational design pattern from the Gang of Four’s arsenal — Builder. As it turns out, while having gained my experience I rather often have been caming across this pattern in Java code in general and within Android projects partucularly. But in iOS projects, both Swift and Objective-C, the pattern has been seen quite seldom. Nevertheless, considering its simplicity, the pattern might turn up pretty convenient and, as it’s fashionable to speak, powerful.

--

--

Nikita Lazarev-Zubov

Swift and general programming topics, Agile software development, soft skills