Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Using BDSM practices in everyday iOS development

DAloG
December 11, 2015

Using BDSM practices in everyday iOS development

This is talk from #CocoaConfBy about
Architecture,
MVC,
Bindings,
Data-driven components,
Stateless UI,
Mandatory code review and
MVVM approach

DAloG

December 11, 2015
Tweet

More Decks by DAloG

Other Decks in Programming

Transcript

  1. Code is a set of entities that can store and

    transform data. Code is a set of entities that can store and transform data.
  2. Design is a set of relationships between entities. Design is

    a set of relationships between entities.
  3. MVC

  4. Controller binds view to model data. Controller call model actions.

    Model change it’s data. View hook up changes.
  5. Model data is enough to fill UI Model store intermediate

    state View can animate from state to state
  6. Code review B, D and S Architecture has priority over

    feature Task can`t be closed without code review.
  7. BDSM Use bindings for model observations Delegate all process handling

    to Model Delegate all state handling to Model Keep all code in project consistent.