Tagged articles

extern

3 articles · Page 1 of 1
Sohu Smart Platform Tech Team
Sohu Smart Platform Tech Team
Aug 8, 2025 · Mobile Development

Unlocking UIKIT_EXTERN: How Macros Shape iOS Compilation and Symbol Visibility

This article explores the purpose and implementation of UIKIT_EXTERN and related macros in iOS, explaining how they manage global constants, control symbol visibility across dynamic libraries, and provide practical examples of extern, static, and const usage for compilation optimization and conflict resolution.

MacrosUIKIT_EXTERNVisibility
0 likes · 12 min read
Unlocking UIKIT_EXTERN: How Macros Shape iOS Compilation and Symbol Visibility
Sohu Tech Products
Sohu Tech Products
Dec 8, 2021 · Mobile Development

Understanding UIKIT_EXTERN and Macro Usage in iOS Development

This article explains the purpose, syntax, and underlying principles of UIKIT_EXTERN and related macros such as extern, static, and const in iOS, demonstrates how __attribute__ and visibility modifiers affect symbol linkage, and outlines practical scenarios and extensions for safer, more efficient code across dynamic libraries.

MacrosUIKIT_EXTERNVisibility
0 likes · 11 min read
Understanding UIKIT_EXTERN and Macro Usage in iOS Development