Exposing NSMutableArray
Long-tail route · low-level systems
Use this when dynamic array behavior should become concrete.
Interactive dynamic-array growth lab for reserve, multiplier, and reallocation behavior.
At a glance
Live interactive
The maintained version lives at the route linked here, with this garden note keeping the embed and editorial framing.
Best companion
Pair it with [[Exposing-NSDictionary]] when you want the sibling key-value mental model after the array-focused one.
Time and level
About 8 to 12 minutes. Beginner friendly. Best as a short internals note when resizing and mutation costs feel fuzzy.
Reading path
- Open the live interactive: https://kohnnn.github.io/interactive-explanation/exposing-nsmutablearray/
- Continue through Exposing-NSDictionary when you want the neighboring dictionary companion next
- Move through the local archive via Interactive or Visual Notes