barcelona io
TRANSCRIPT
isKindOfClass:?
Repeated code through
view controllers
Not easy to maintain (what if the model
changes?)
TONS of code for
one single VC
ADAPTERS TO THE RESCUE!
tl;dr the adapter pattern allows classes to work together that normally could not because of incompatible interfaces, by providing its interface to clients while using the original interface.