Alok SubediBetter iOS through Factory Method Pattern — A basic chat viewDesign pattern for me was one of the greatest revelation. They taught me to look at object-oriented programming beyond simple inheritance…Sep 8, 2021Sep 8, 2021
Alok SubediRemove code duplication with Generics — A basic chat viewFor a very long time I couldnot use generics beyond a generic api call. I used this get function that can make all get requests and decode…Sep 1, 2021Sep 1, 2021
Alok SubediDissecting functional programming with closure in SwiftI used map and sort frequently, but was always confused when I had to use reduce. I would rather create a variable to store the result and…Aug 24, 2021Aug 24, 2021
Alok SubediUnderstanding Delegate Pattern and protocol/interface in swiftI never understood why we needed an interface that can’t have code. We even have to write code for different class every time we implement…Aug 17, 2021Aug 17, 2021
Alok SubediSeparating Views from ViewControllerViewController in iOS is both view and controller, which makes it massive. Let’s separate View from ViewController.Aug 11, 20212Aug 11, 20212
Alok SubediMVC that is not massiveI started my iOS development following Apple’s food rating app. iOS development was in an early stage in my country, so I was a solo iOS…Aug 6, 2021Aug 6, 2021