Disappearing NSMutableArray, causes UiTableView to show blank cells?

Your array is being autoreleased, add the following after the recipes assignment recipes retain OR change the way you create the array to recipes = NSMutableArray alloc initWithObjects:.... etc If you are using ARC in iOS5 then you should declare your recipes variable as strong which effectively does the retain for you.

Your array is being autoreleased, add the following after the recipes assignment... recipes retain; OR change the way you create the array to... recipes = NSMutableArray alloc initWithObjects:.... etc If you are using ARC in iOS5 then you should declare your recipes variable as strong which effectively does the retain for you.

Thanks, changing to strong worked. My first forays into ARC have been confusing. – cannyboy Nov 3 at 16:42.

Simon is right. In addition recipeTableView should be (nonatomic, strong) as you want it to be retained as long as your view is loaded. In general, I'd err on the side of using strong vs weak unless/until you have a specific reason for needing one.As you get more comfortable with memory management and object lifecycles you'll discover situations where weak is desirable/required.

So my problem is... I've got a UITableView with custom cells, each cell contains an UITextField. When I press a button I'd like to put each UITextField value in a NSMutableArray.

Your array is being autoreleased, add the following after the recipes assignment...

Simon is right. In addition recipeTableView should be (nonatomic, strong) as you want it to be retained as long as your view is loaded. In general, I'd err on the side of using strong vs weak unless/until you have a specific reason for needing one.

As you get more comfortable with memory management and object lifecycles you'll discover situations where weak is desirable/required.

Symptoms can occur just days after conception. Be sure to check with you doctor or take a test to make sure you are pregnant.

You should see your doctor immediately. How soon after conception does one start feeling nausea? How soon after conception can you tell if your pregnant?

Can implantation bleeding occur 3 days after conception? How long after conception do you get implantation bleeding? It's about 10 to 14 days after fertilization.

Can you take a pregnancy test a week after conception? How long does it take for conception to occur? How soon after conception does morning sickness start?

How soon after conception can you take an accurate pregnancy test? How many days after conception will a pregnancy test show that you are pregnant? When does morning sickness start after conception?

How long after Conception does Morning Sickness Start?

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