I\'m trying to make an NSMutableArray usable in multiple classes.I\'m having an issue with defining and using a custom setter, for some reason, even though I call my setter, it is never executed (I ha
I have been pulling out my hair trying to figure out why this is leaking. In my .h file I have a synthesized property nonatomic, retained NSMutableArray. In my viewDidLoad I declare it as:
I\'m trying to add values to the yArray. However in the NSLog, it always shows up null. I am synthesizing the NSMutableArray (yArray) and get no errors or warnings on compiling. I believe one reason m
When my app starts, looks if a plist exists, if it doesn\'t it creates it. NSFileManager *fileManager = [NSFileManager defaultManager];
I have a scenario where the application retrieves information from a json php into an NSMutableArray. My question is as follows ; how can i sort the elements by the \"time\" field?. Also how can i onl
I have a NSMutableArray in my app which I initiate like this: H-FILE NSMutableArray *noteBookContent; @property (nonatomic, retain) NSMutableArray *noteBookContent;
I have an NSMutableArray which can hold several objects. I would like to check if an object exists, and if so, alter it. I was wondering about checking it. I thought th开发者_高级运维is would work:
I want it keeps generating different random number. How to use While statement? int randomnumber = (arc4random() % 188)+1;
I have a problem... IN my MuttableArray have N element, but all elements is null .h @interface ViewController : UIViewController <UITableViewDelegate,UITableViewDataSource> {
I am using the following code to add NSNumber to a NSMutableArray in header file: NSNumber *timeInSeconds;