These are chat archives for codefellows/sea-c24-iOS-F2

16th
Nov 2014
Ryan Christensen
@randhyllcho
Nov 16 2014 00:05
Good call, I'll fire up the laptop and check how I have it set.
Ryan Christensen
@randhyllcho
Nov 16 2014 00:17
I have it set up as var image: UIImage? So that isn't the problem then...
John Leonard
@cwnidog
Nov 16 2014 01:23
Randy, there’s not really a problem. Losing the image when you move back to the tableView is because of the lack of persistence. The lack of persistence is because we haven’t added any code that stores the image in persistent storage. My code works exactly the same way as you describe yours. I take a photo, it shows in the viewImage but when I go back to tableImage, I lose it. I suspect we’re about to learn about NSUserDefaults next week. That will allow for persistent storage.
John Leonard
@cwnidog
Nov 16 2014 01:33
Ooops, sorry - make “Randy” “Ryan” instead. I assumed too much.
Chantel Frizzell
@FrizzellC
Nov 16 2014 06:09
I am not getting any errors on the lines of my code, but the following error keeps popping up: initializer requirement 'init(coder:)' can only be satisfied by a required initializer in non-final class 'DetailViewController' Where do I fix this ?
Chantel Frizzell
@FrizzellC
Nov 16 2014 06:38
Never mind. Got it working
Ryan Christensen
@randhyllcho
Nov 16 2014 22:22
Does anyone remember how to return an edited name back to the tableView?