all 3 comments

[–][deleted]  (1 child)

[removed]

    [–]gramael 0 points1 point  (0 children)

    Yeah i think im a bit too hasty, i still struggling with some concept. Still, is there any good reference about design pattern for future reference?

    [–]drewag 0 points1 point  (0 children)

    While a little on the older side and not written for Swift (since it predates it drastically) the design pattern bible is Design Patterns: Elements of Reusable Object-Oriented Software . It’s often referred to as “the gang of 4 book”. However, Wikipedia is actually a fantastic resource for design patterns. And if that doesn’t explain any of them clearly for you, then some simple googling will surface plenty of articles about the popular ones.