17
EASY-TO-SEE VIEW CONTROLLER

Easy to see view controller

Embed Size (px)

Citation preview

Page 1: Easy to see view controller

EASY-TO-SEE VIEW CONTROLLER

Page 2: Easy to see view controller

EASY-TO-SEE VIEW CONTROLLER

Hanawa TakuroNEXT Co.,Ltd.iOS Engineer

facebook.com/takuro.hanawa

🍈

💕

Page 3: Easy to see view controller

View Controller

Page 4: Easy to see view controller

DELEGATEACTION LIFECYCLE

TRANSITIONNOTIFICATION

I JUST CAN’T BE SLIM. BUT I CAN BE HANDSOME.

Page 5: Easy to see view controller

Segment by extension

Page 6: Easy to see view controller
Page 7: Easy to see view controller

EASY-TO-SEE VIEW CONTROLLER

Segment by extension

▸ Protocol extension

▸ Protocol

▸ VVVDocumenter

// Mark: - Protocol Name

Page 8: Easy to see view controller

Refresh by didSet

Page 9: Easy to see view controller
Page 10: Easy to see view controller

EASY-TO-SEE VIEW CONTROLLER

Refresh by didSet

▸ CollectionView TableView

didSet

▸ reloadData()

Page 11: Easy to see view controller

Initialization by Declaration Closure

Page 12: Easy to see view controller
Page 13: Easy to see view controller

EASY-TO-SEE VIEW CONTROLLER

Initialization by Declaration Closure

▸ viewDidLoad:

(ViewController )

Page 14: Easy to see view controller

Identifier Definition by Static variable

Page 15: Easy to see view controller
Page 16: Easy to see view controller

EASY-TO-SEE VIEW CONTROLLER

Definition of Identifier by Static variable

▸ identifier static

▸ identifier

Page 17: Easy to see view controller

GOOD WAY WANTED.