Hello,
I am working my way through the Apple tutorial, Food Tracker.
I ran into an error while attempting to create Outlets. i.e. the app would no longer run in the simulator
It was easy enough to delete the elements on the interface and start over.
I am trying to take my time, do every step just as instructed, etc. I am confused by one view I stumble across. It appears like there are two different versions of ViewController. On the left-hand selecting ViewController.swift from the navigator, I see
//
//
//
//
//
//
//
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
}
}When I select the Assistant Editor, on the right I see
//
//
//
//
//
//
//
import UIKit
internal class ViewController : UIViewController {
override internal func viewDidLoad()
override internal func didReceiveMemoryWarning()
}Are these two different files? i.e. I am not understaning something, so I am a little confused.
Thanks.
It appears that this forum doesn't allow screen shots? I uploaded a picture of the screen shot here:
[IMG]http://i65.tinypic.com/25jfa14.png[/IMG]
or