Barcelona io

157 views

Published on

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

No Downloads
Views
Total views
157
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

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

×