How do you determine the maximum long value in Objective-C?
iphone, macos, objective-c
Solution
As in C: include limits.h, and look at LONG_MAX or INT_MAX.
Problem
How would you find the maximum `long` value supported on your system within an application in Objective-C? That is, how do we determine what the largest value is that `long` can represent?