[Swift] Hacking With Swift Project 1 Problem via /r/learnprogramming


[Swift] Hacking With Swift Project 1 Problem

Hello everyone, I just recently started doing the Hacking With Swift series and there seems to be a problem with my first project. To the best of my knowledge, I followed the directions quite thoroughly. Whenever I click on a table cell in my app, the image does not appear. The table cell just lights up gray.

http://ift.tt/2tOjFaI This is the github for my project.

http://ift.tt/1iQdOuy This is the tutorial that I'm working with.

My suspicion is that there may be something wrong with the code in my DetailViewController. I had to get rid of the override keyword in the tableView function and I also had to instantiate a variable from my ViewController in order for the pictures variable to work.

Submitted July 12, 2017 at 09:26PM by mizore742
via reddit http://ift.tt/2tOHvTI

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s