1

I've checked all outlets are correctly connected and the value is passed from another view controller. But I cannot figure out what goes wrong...

Screen Capture of the Debug Area

MMM
  • 11
  • 2
  • Please show your code...It is hard to figure the issue without the related code. You do not need to show us the whole code but just the related parts to help us. – CodingYoshi Apr 08 '17 at 16:21
  • Here's where I try to pass the values from the first view controller: http://imgur.com/0tNXUG1 And the way I use that value but turn out to get nil: http://imgur.com/RvsnJWm – MMM Apr 08 '17 at 16:42
  • Are you sure when you are passing the `restaurant` it NOT nil? Have you confirmed? – CodingYoshi Apr 08 '17 at 16:46
  • Yes, I'm sure. But now I find out that the problem is just that I missed out the "override" for the prepare(for:sender:) method. Thanks a lot! – MMM Apr 08 '17 at 17:04

0 Answers0