This article explores the Objective-C BOOL type and how it is defined on different Apple platforms. It discusses the differences in defining BOOL on Apple Silicon and Intel Macs and provides examples of unexpected behavior.
Table of contents
An example of unexpected behaviorExploring the Objective-C runtimeFiddling with __OBJC_BOOL_IS_BOOLDigging deeper into LLVMSummarySort: