A list or array of sequential integers
===

I'm brand new to Objective-C, I've got a decent understanding though of Ruby.

I want to have a list/array of numbers going from 1, 2, 3, ... all the way to x (x being a maximum defined elsewhere in my code). 

What is the best way to do it (x can be a high number in the millions, so entering each integer manually would be undesirable). The numbers are in normal sequence.

In Ruby, I'd write it something like this:

    y = [1..x]


