17 Jan 2013, 23:19
Generic-user-small

Ron Toland (4 posts)

I’m a little confused by the instructions to setup the separate Edit Directions controller in section 6.5.

I can get the separate directions editor setup, along with the segue. However, I don’t see any code that connects what I enter into the textView for the directions editor to the recipe editor. In other words, I can enter text into the separate view controller, but it doesn’t do anything.

Am I missing something in the text?

17 Jan 2013, 23:25
Generic-user-small

Ron Toland (4 posts)

For that matter, the image editing has a similar problem. The image picker comes up, lets me select an image, and goes away, but it doesn’t change the recipe that I’m editing.

18 Jan 2013, 01:07
Generic-user-small

Ron Toland (4 posts)

Nevermind, I figured it out. The recipe object is passed from the recipe editor to the directions editor by reference, so when the directions editor updates it the recipe editor version also gets updated.

Wasn’t working for me because I had the name of the segue between the two misspelled. :/

  You must be logged in to comment