Type Alias

NSUInteger

Describes an unsigned integer.

Declaration

iOS, macOS, Mac Catalyst, tvOS
typedef unsigned long NSUInteger;
watchOS
typedef unsigned int NSUInteger;

Discussion

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

Topics

Constants

NSUIntegerMax

The maximum value for an NSUInteger.

See Also

Numbers

NSInteger

Describes an integer.

NSDecimal

A structure representing a base-10 number.

NSDecimalNumber

An object for representing and performing arithmetic on base-10 numbers.

NSNumber

An object wrapper for primitive scalar numeric values.

NSNumberFormatter

A formatter that converts between numeric values and their textual representations.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software