Instance Method

initWithUnsignedInt:

Returns an NSNumber object initialized to contain a given value, treated as an unsigned int.

Declaration

- (NSNumber *)initWithUnsignedInt:(unsigned int)value;

Parameters

value

The value for the new number.

Return Value

An NSNumber object containing value, treating it as an unsigned int.

See Also

Initializing an NSNumber Object

- initWithBool:

Returns an NSNumber object initialized to contain a given value, treated as a BOOL.

- initWithChar:

Returns an NSNumber object initialized to contain a given value, treated as a signed char.

- initWithDouble:

Returns an NSNumber object initialized to contain value, treated as a double.

- initWithFloat:

Returns an NSNumber object initialized to contain a given value, treated as a float.

- initWithInt:

Returns an NSNumber object initialized to contain a given value, treated as a signed int.

- initWithInteger:

Returns an NSNumber object initialized to contain a given value, treated as an NSInteger.

- initWithLong:

Returns an NSNumber object initialized to contain a given value, treated as a signed long.

- initWithLongLong:

Returns an NSNumber object initialized to contain value, treated as a signed long long.

- initWithShort:

Returns an NSNumber object initialized to contain a given value, treated as a signed short.

- initWithUnsignedChar:

Returns an NSNumber object initialized to contain a given value, treated as an unsigned char.

- initWithUnsignedInteger:

Returns an NSNumber object initialized to contain a given value, treated as an NSUInteger.

- initWithUnsignedLong:

Returns an NSNumber object initialized to contain a given value, treated as an unsigned long.

- initWithUnsignedLongLong:

Returns an NSNumber object initialized to contain a given value, treated as an unsigned long long.

- initWithUnsignedShort:

Returns an NSNumber object initialized to contain a given value, treated as an unsigned short.

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