Click here to Skip to main content
15,899,603 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi
I have a array list like this

NSArray * listOfColorCode = [NSArray arrayWithObject:table.columnname];

i am getting an answer like this

[1,
2,
3,
4,
5
]

how to get list of first time in the if condition.
Posted

1 solution

Difficult to understand your question - but I think you need to use

code = [listOfColourCode objectAtIndex:0];
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900