Your SlideShare is downloading. ×
0
Tips from building
topic: The Adapter
Pattern

@JOANROMANO
…Collection
Views!
isKindOfClas
s:?
Repeated code
through
view controllers
Not easy to maintain
(what if the model
changes?)
TONS of code
for...
ADAPTERS TO THE RESCUE!
ADAPTERS TO THE RESCUE!

tl;dr
the adapter pattern allows classes to
work together that normally could
not because of inco...
ADAPTER CELL PROTOCOL

POST CELL ADAPTER
…
so,

what about the
VC?
HOLY GUACAMOLE!!!
( and we1! staying
are
MVC )
LIGHTER VIEW CONTROLLERS!
iOS dev
@
thank you!

@JOANROMANO
Barcelona io
Barcelona io
Upcoming SlideShare
Loading in...5
×

Barcelona io

56

Published on

Published in: Travel, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
56
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Barcelona io"

  1. 1. Tips from building topic: The Adapter Pattern @JOANROMANO
  2. 2. …Collection Views!
  3. 3. isKindOfClas s:? Repeated code through view controllers Not easy to maintain (what if the model changes?) TONS of code for one single VC
  4. 4. ADAPTERS TO THE RESCUE!
  5. 5. 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.
  6. 6. ADAPTER CELL PROTOCOL POST CELL ADAPTER
  7. 7. … so, what about the VC?
  8. 8. HOLY GUACAMOLE!!! ( and we1! staying are MVC )
  9. 9. LIGHTER VIEW CONTROLLERS!
  10. 10. iOS dev @
  11. 11. thank you! @JOANROMANO
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×