Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

blakedut2

macrumors newbie
Original poster
Sep 3, 2009
1
0
I am writing an app for the app store and it involves an array. This array needs to hold integers but every time i simulate my app, a warning pops up telling me it cant work because it has integers. I need my array of integers!!

PLEASE HELP!!!!:(:(:(:(:(:(:(:(:(:(:(
 
Could you provide some code snippets and perhaps a more detailed error message? That is, we need more details before we can help you.
 
I am writing an app for the app store and it involves an array. This array needs to hold integers but every time i simulate my app, a warning pops up telling me it cant work because it has integers. I need my array of integers!!

PLEASE HELP!!!!:(:(:(:(:(:(:(:(:(:(:(

You can only add objects to an NSArray, if that's what you're trying to do. Use NSNumber objects.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.