Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Simple Objective C initialization

PitfallPitfall Posts: 7New Users
edited February 2010 in iPhone SDK Development
As an assembly language and C programmer new to Objective C, I occasionally need an array of constants. This is easily created in C:

int list[5] = {1,2,3,4,5};

Is there a simple equivalent in Objective C?

Thanks for any help.
Post edited by Pitfall on

Replies

Sign In or Register to comment.