Skip to content
0:00 / 0:00

#swizzling#objective-c#ios

How Apple Replaces Entire Frameworks

Bryce Bostwick

49K subscribers • 3 videos on Hallway

YouTube

Advanced. Deep dive for people who know the field.

61K views9 months ago1 recommendation

Systems programmingMobile developmentiOS and SwiftUIReverse engineeringOperating systems

Bryce Bostwick explains how Apple's developer tools hook and replace entire frameworks using method swizzling and low-level memory techniques.

github.com/brycebostwick/SwizzleEverything/ Apple's developer tools can be surprisingly complex under the hood, but this single implementation is still extra mind-blowing to me. Let's pull it apart and see if we can make it even better! Landon Fuller's post on `imp_implementationWithBlock` (archived) : web.archive.org/web/20250131045152/https://landonf.org/code/… Mike Ash's post on Ring Buffers & Mirrored Memory: mikeash.com/pyblog/friday-qa-2012-02-03-ring-buffers-and-mir… Thanks @ph4seon3 for the huge amount of work editing this! More iOS nonsense over on bryce.co

Why it's here

1 person recommends this

What people say. Recommended for its deep dive into iOS internals, method swizzling, and how Apple hooks thousands of methods.

radbugleton Lobsters • Recommends

How Apple Hooks Fifty Thousand Methods