<!--
{
  "documentType" : "article",
  "framework" : "ObjectiveC",
  "identifier" : "/documentation/ObjectiveC/objective-c-macros",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Objective-C Macros"
}
-->

# Objective-C Macros

## Topics

### Macros

[`#define NSINTEGER_DEFINED`](/documentation/ObjectiveC/NSINTEGER_DEFINED)

[`#define NS_DESIGNATED_INITIALIZER`](/documentation/ObjectiveC/NS_DESIGNATED_INITIALIZER)

[`#define NXHashTable_ptrauth_free`](/documentation/ObjectiveC/NXHashTable_ptrauth_free)

[`#define NXHashTable_ptrauth_hash`](/documentation/ObjectiveC/NXHashTable_ptrauth_hash)

[`#define NXHashTable_ptrauth_isEqual`](/documentation/ObjectiveC/NXHashTable_ptrauth_isEqual)

[`#define NXHashTable_ptrauth_prototype`](/documentation/ObjectiveC/NXHashTable_ptrauth_prototype)

[`var OBJC_API_VERSION: Int32`](/documentation/ObjectiveC/OBJC_API_VERSION)

[`#define OBJC_ARC_UNAVAILABLE`](/documentation/ObjectiveC/OBJC_ARC_UNAVAILABLE)

[`#define OBJC_ARM64_UNAVAILABLE`](/documentation/ObjectiveC/OBJC_ARM64_UNAVAILABLE)

[`#define OBJC_AVAILABLE(x, i, t, w, b)`](/documentation/ObjectiveC/OBJC_AVAILABLE)

[`#define OBJC_BOOL_DEFINED`](/documentation/ObjectiveC/OBJC_BOOL_DEFINED)

[`#define OBJC_COLD`](/documentation/ObjectiveC/OBJC_COLD)

[`#define OBJC_DEPRECATED(_msg)`](/documentation/ObjectiveC/OBJC_DEPRECATED)

[`#define OBJC_DYNAMIC_CLASSES`](/documentation/ObjectiveC/OBJC_DYNAMIC_CLASSES)

[`#define OBJC_ENUM(_type, _name)`](/documentation/ObjectiveC/OBJC_ENUM)

[`#define OBJC_EXPORT`](/documentation/ObjectiveC/OBJC_EXPORT)

[`#define OBJC_EXTERN`](/documentation/ObjectiveC/OBJC_EXTERN)

[`#define OBJC_GC_DEPRECATED(message)`](/documentation/ObjectiveC/OBJC_GC_DEPRECATED)

[`#define OBJC_GC_UNAVAILABLE`](/documentation/ObjectiveC/OBJC_GC_UNAVAILABLE)

[`#define OBJC_HASH_AVAILABILITY`](/documentation/ObjectiveC/OBJC_HASH_AVAILABILITY)

[`#define OBJC_IMPORT`](/documentation/ObjectiveC/OBJC_IMPORT)

[`#define OBJC_INLINE`](/documentation/ObjectiveC/OBJC_INLINE)

[`#define OBJC_ISA_AVAILABILITY`](/documentation/ObjectiveC/OBJC_ISA_AVAILABILITY)

[`#define OBJC_NOESCAPE`](/documentation/ObjectiveC/OBJC_NOESCAPE)

[`#define OBJC_NORETURN`](/documentation/ObjectiveC/OBJC_NORETURN)

[`#define OBJC_NOT_TAIL_CALLED`](/documentation/ObjectiveC/OBJC_NOT_TAIL_CALLED)

[`var OBJC_NO_GC: Int32`](/documentation/ObjectiveC/OBJC_NO_GC)

[`#define OBJC_OPTIONS(_type, _name)`](/documentation/ObjectiveC/OBJC_OPTIONS)

[`#define OBJC_OSX_AVAILABLE_OTHERS_UNAVAILABLE(vers)`](/documentation/ObjectiveC/OBJC_OSX_AVAILABLE_OTHERS_UNAVAILABLE)

[`#define OBJC_OSX_DEPRECATED_OTHERS_UNAVAILABLE(_start, _dep, _msg)`](/documentation/ObjectiveC/OBJC_OSX_DEPRECATED_OTHERS_UNAVAILABLE)

[`#define OBJC_REFINED_FOR_SWIFT`](/documentation/ObjectiveC/OBJC_REFINED_FOR_SWIFT)

[`#define OBJC_RETURNS_RETAINED`](/documentation/ObjectiveC/OBJC_RETURNS_RETAINED)

[`#define OBJC_SUPER`](/documentation/ObjectiveC/OBJC_SUPER-c.macro)

[`#define OBJC_SWIFT_UNAVAILABLE(_msg)`](/documentation/ObjectiveC/OBJC_SWIFT_UNAVAILABLE)

[`#define OBJC_UNAVAILABLE(_msg)`](/documentation/ObjectiveC/OBJC_UNAVAILABLE)

[`#define OBJC_VISIBLE`](/documentation/ObjectiveC/OBJC_VISIBLE)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)