filmov
tv
How to spot and fix memory leak, retain cycle and erratic crashes
Показать описание
IffIn this video, we learn about the common areas where leaks happen
- closures
- delegates
- notification centers
- disposeBag/anyCancellables in table/collection view cells
And how to resolve them using
- memory graph on XCode
Thank you Jan de Vries & Janneman84 for the awesome tool.
Binding combine with table view cell
Source code
0:00 - Intro
1:40 - Project walkthrough
08:14 - Memory graph
09:04 - Function fired multiple times
09:45 - Common areas where leaks happen
13:55 - LeakedViewControllerDetector introduction and installation
16:50 - Fix Notification Center leak
19:34 - Fix closure retain cycle
20:55 - Fix retain cycle in tableviewcell (disposeBag/anyCancellables)
22:30 - Fix retain cycle in delegates
23:55 - Using memory graph to confirm fixes
24:30 - Closing
Master the skills to become a senior iOS developer
Build a Swift Package Manager library
Build a finance stocks app
Build a ToDoList app with Firebase
Send emails inApp with Sendgrid API
Build a weather app with Alamofire 5 and REST API
Build onboarding flows with Lottie animations
Build a basic onboarding flow for beginners
- closures
- delegates
- notification centers
- disposeBag/anyCancellables in table/collection view cells
And how to resolve them using
- memory graph on XCode
Thank you Jan de Vries & Janneman84 for the awesome tool.
Binding combine with table view cell
Source code
0:00 - Intro
1:40 - Project walkthrough
08:14 - Memory graph
09:04 - Function fired multiple times
09:45 - Common areas where leaks happen
13:55 - LeakedViewControllerDetector introduction and installation
16:50 - Fix Notification Center leak
19:34 - Fix closure retain cycle
20:55 - Fix retain cycle in tableviewcell (disposeBag/anyCancellables)
22:30 - Fix retain cycle in delegates
23:55 - Using memory graph to confirm fixes
24:30 - Closing
Master the skills to become a senior iOS developer
Build a Swift Package Manager library
Build a finance stocks app
Build a ToDoList app with Firebase
Send emails inApp with Sendgrid API
Build a weather app with Alamofire 5 and REST API
Build onboarding flows with Lottie animations
Build a basic onboarding flow for beginners
Комментарии