Where to initialize a NSMutableArray?
Posted
by eco_bach
on Stack Overflow
See other posts from Stack Overflow
or by eco_bach
Published on 2010-06-12T21:48:09Z
Indexed on
2010/06/12
22:02 UTC
Read the original article
Hit count: 176
objective-c
Hi
having an issue using a NSMutableArray;
In my implementation file applicationDidFinishLaunching method I have
_imgArray = [NSMutableArray array];
and _imgArray is defined in my .h file as
NSMutableArray *_imgArray;
After populating it, it traces out correctly.
The problem is, in another method in my implementation file, I can't seem to acces the _imgArray array. It traces out to
_imgArray= ar.lproj
What gives?
© Stack Overflow or respective owner