@3UL will provide you with an NSNumber that clearly has the same width / signature as NSUInteger .
But ask yourself why you want this? Since 3 represent exactly all the numeric types in C / Objective-C 1 @3 gives you an object that behaves the same. Although the type of constant used is different, the object you get can be used the same way and can be unpacked using the same set of methods.
1 Good, good, except for types that represent only 1 bit, for example _Bool and int : 1 .
source share