Easily Find Leaks and Fix Them with This Little-known 2-Step Method

By the end of this section, you will be able to understand, identify and fix the causes of memory leaks using a 2-step method not known by most developers.
Easily Find Leaks and Fix Them with This Little-known 2-Step Method
Memory Leaks Introduction
1 min
What You are Going to Learn
1 min
Removing Reference Types from Memory
3 mins
Automatic Reference Counting (ARC)
2 mins
Demonstration: ARC
3 mins
Word Review: Allocate
289 KB
Word Review: Deallocate
312 KB
Word Review: Initialization
303 KB
Word Review: Deinit
280 KB
Dependencies: Children Can Cause Trouble
2 mins
Demonstration: Dependencies
4 mins
Sad Orphans
4 mins
Demonstration: Retain Cycles
2 mins
Using Instruments: Leaks Profiler
4 mins
How to Fix a Retain Cycle with the 2-Step Method
4 mins
Demonstration: Fixing Retain Cycles
3 mins
Playgrounds with Retain Cycle
1 KB
Overview of the Strong, the Weak and the Unowned
2 mins
Examples of the Strong, the Weak and the Unowned
3 mins
Would You Rather Be Weak or Unowned?
1 min
Playgrounds: Create Retain Cycles
8.14 KB
Word Review: Retain Cycle
354 KB
Section Summary
2 mins
Remember This!
502 KB