---
title: NSInteger
framework: objectivec
role: symbol
role_heading: Type Alias
path: objectivec/nsinteger
---

# NSInteger

Describes an integer.

## Declaration

```swift
typealias NSInteger = Int
```

## Discussion

Discussion When building 32-bit applications, NSInteger is a 32-bit integer. A 64-bit application treats NSInteger as a 64-bit integer.

## Topics

### Constants

- [NSIntegerMax](objectivec/nsintegermax.md)

## See Also

### Data Types

- [objc_exception_handler](objectivec/objc_exception_handler.md)
- [objc_exception_matcher](objectivec/objc_exception_matcher.md)
- [objc_exception_preprocessor](objectivec/objc_exception_preprocessor.md)
- [objc_func_loadImage](objectivec/objc_func_loadimage.md)
- [objc_hook_getClass](objectivec/objc_hook_getclass.md)
- [objc_hook_getImageName](objectivec/objc_hook_getimagename.md)
- [objc_hook_lazyClassNamer](objectivec/objc_hook_lazyclassnamer.md)
- [objc_objectptr_t](objectivec/objc_objectptr_t.md)
- [objc_uncaught_exception_handler](objectivec/objc_uncaught_exception_handler.md)
- [objc_zone_t](objectivec/objc_zone_t.md)
