intro demo3-i os
TRANSCRIPT
![Page 1: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/1.jpg)
Continuación de Introducción a iOS
Raquel Hernandez - @maggit
![Page 2: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/2.jpg)
Metas de la Clase
• Explorar Xcode
• ViewControllers
• Introducción a Storyboards y Navigation Controller
• Demo - Obtener data de una API
![Page 3: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/3.jpg)
XCode
![Page 4: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/4.jpg)
View Controllers
![Page 5: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/5.jpg)
¿Que debo saber de mi View Controler?
• ¿Estoy usando el storyboard para implementar mi ViewController?
• ¿Cuándo es instanceado mi ViewController?
• ¿Que datos debe de mostrar?
• ¿Que tareas va a realizar?
• ¿Como va a desplegar su vista?
• ¿Colabora con otros ViewControllers?
![Page 6: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/6.jpg)
![Page 7: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/7.jpg)
Table Views
![Page 8: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/8.jpg)
Table View
Cell
![Page 9: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/9.jpg)
Delegate Methods
![Page 10: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/10.jpg)
Metodos requeridos de Data Source
![Page 11: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/11.jpg)
Anatomía de un Table Cell
• cell.textLabel - El UILabel principal de la celda
• cell.detailTextLabel - Un UILabel más pequeño que aparece abajo del label principal
• cell.imageView - Un UIImageView que aparece a la izquierda de la celda
![Page 12: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/12.jpg)
UICollectionView
![Page 13: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/13.jpg)
Anatomía de un UICollectionView
• UICollectionView
• UICollectionViewCell
• Supplementary Views
• Decoration View
![Page 14: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/14.jpg)
Storyboards
![Page 15: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/15.jpg)
Storyboard
![Page 16: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/16.jpg)
Navigation Controller
![Page 17: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/17.jpg)
Navigation Controller - Twitter
![Page 18: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/18.jpg)
Navigation Controller - Instagram
Sabe a dónde regresar
![Page 19: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/19.jpg)
Storyboard - Scene and Segue
Dock
Scene
DockDock
Scene
Segue
Segue
![Page 20: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/20.jpg)
Demo
![Page 21: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/21.jpg)
MVP
#iMejorando
![Page 22: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/22.jpg)
![Page 23: Intro demo3-i os](https://reader036.vdocuments.us/reader036/viewer/2022062419/55a40fdb1a28ab343d8b47db/html5/thumbnails/23.jpg)
Preguntas
@maggit