Initialize NSMutableArray?

Few things You do 2ndController. Record = NSMutableArray alloc init autorelease and follow it up with cell setText:record. Name Clearly, the record property doesn't seem to be an instance of NSMutableArray so I think the array initialization part is incorrect as you do, and already mentioned 2ndController.

Record = record But the problem I think is that you are retaining your UITableViewController subclass. Have you tried reloading the data? Self.

TableView reloadData Add it in the viewWillAppear method of your DetailViewController.

Few things, You do, 2ndController. Record = NSMutableArray alloc init autorelease; and follow it up with cell setText:record. Name; Clearly, the record property doesn't seem to be an instance of NSMutableArray so I think the array initialization part is incorrect as you do, and already mentioned, 2ndController.

Record = record; But the problem I think is that you are retaining your UITableViewController subclass. Have you tried reloading the data? Self.

TableView reloadData; Add it in the viewWillAppear method of your DetailViewController.

Thanks men.... Reload Data is the function that I was seek....and for initialization.. I just tried and error.. I knew it was wrong.. thanks again : ) – zacual Jul 1 at 6:59.

You should look at these two lines again: 2ndController. Record = NSMutableArray alloc init autorelease; //inserting the value from firstview to secondview before push 2ndController. Record = record; The first line doesn't do anything useful for you.It creates and initializes a new NSMutableArray and sets the record property to that new array.

But then in the very next line you set the same 'record' property again to a different object and so that array in the first line is no longer referenced. So you might as well not have ever created it. That's not your issue exactly, but this comment was too big for a comment.

:).

It creates and initializes a new NSMutableArray and sets the record property to that new array. But then in the very next line you set the same 'record' property again to a different object and so that array in the first line is no longer referenced. So you might as well not have ever created it.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions