What is the maximum value of NSInteger?

David picture David · Jan 26, 2011 · Viewed 34.2k times · Source

I need to store the maximum value of an NSInteger into an NSInteger? What is the correct syntax to do it?

Thanks.

Answer

Chuck picture Chuck · Jan 26, 2011

The maximum value of an NSInteger is NSIntegerMax.