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

# Objective-C Constants

## Topics

### Constants

[`var NSIntegerMax: Int`](/documentation/ObjectiveC/NSIntegerMax)

The maximum value for an `NSInteger`.

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

[`extern const NXHashTablePrototype NXPtrPrototype;`](/documentation/ObjectiveC/NXPtrPrototype)

[`extern const NXHashTablePrototype NXPtrStructKeyPrototype;`](/documentation/ObjectiveC/NXPtrStructKeyPrototype)

[`extern const NXHashTablePrototype NXStrPrototype;`](/documentation/ObjectiveC/NXStrPrototype)

[`extern const NXHashTablePrototype NXStrStructKeyPrototype;`](/documentation/ObjectiveC/NXStrStructKeyPrototype)

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

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

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

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

`OBJC_OLD_DISPATCH_PROTOTYPES == 0` enforces the rule that the dispatch functions must be cast to an appropriate function pointer type.

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

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

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

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



---

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)