Clean code architecture

There are several architecture we use based on the application requirement. I have used Ribblet and Viper design patter most of the time.

Viper Pattern : [GitHub]

The word VIPER is a backronym for View, Interactor, Presenter, Entity, and Routing. Read more about Viper.

Viper architecture:
Viper


Download the Viper sample : GitHub

Sample also has integration of Google SDK and using Google Places API usage.

Riblets : [GitHub]

Riblets are Uber way of clean code architecture. Uber app currently using Riblets architecture. More info on Riblets - Ref

Riblet architecture:
data_flow-768x341


Communication between the Riblets:

riblet_comms-768x461


GitHub :       Viper Sample (Swift)         Uber Riblet Sample (Swift)

Comments

Popular posts from this blog

SSToken

SSAutoMailScript - To scan email address and initiate new mail.