Hi I have a problem.
In my app I start off with a tableview (DetailViewController). When I switch into edit mode I can add, delete and edit the contents of a cell in my EditingViewController. The contents (a title and some text) of my cell are saved to editingItem (NSMutableDictionary). That all works fine.
Now I click on a cell in my tableView and a new view slides in (ContentViewController). I want the contents of my clicked cell to be diplayed in the ContentViewController as shown below.
But it isnt workling. My Label (Name) and my textView (Text) dont show me anything. Its all just blank. And I cant figure out why.
I would be very greatful if somebody could help me out here!
Thanks!
Addition:
My Cells in my tableView show my the contents (Name and Text) perfectly. I Have three lines in each cell. The first one displays me the name and the other two the first two lines of my text. But when I open another view (ContentViewController) by clicking on a cell I want the new view to show me the name in a Label and all of the text in a textView.
The viewDidLoad belongs to my ContentViewController. So it is calling after the contents of the cell have been saved.
Addition:
Ok, I found out my editingItem is empty when ContentViewController is loaded. So now we have the reason why my view isn't showing me any text.
But I dont understand why it is empty. It works perfectly in the DetailViewController and EditingViewController. All my text there is diplayed perfectly.