• 카테고리

    질문 & 답변
  • 세부 분야

    모바일 앱 개발

  • 해결 여부

    미해결

code실행이 안됩니다

17.09.04 05:07 작성 조회수 126

0

안녕하세요! 강의 감사히 잘 듣고 있습니다. 아마도 버젼이 업데이트 되어서 선생님 코드대로 하면 안될 때가 있는 것 같은데요, 아래 코드대로 했는데 빌드는 succeed되지만 정작 시뮬레이터로는 뜨지가 않습니다. 아래 코드에서 무엇을 고쳐야 할 지 알려주시면 감사 드리겠습니다! import UIKit class ViewController: UIViewController { let numberOfPlanets = 8 let diameterOfEarth = 24859.92 // in miles, where pole to pol override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view, typically from a nib. print("Welcome to solar system!") print("There are \(numberOfPlanets) to explore") print("You are currenly on the Earth, which has a circumstance of \(diameterOfEarth) miles") firstTextView.text = "Welcome to solar system!" } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() // Dispose of any resources that can be recreated. } @IBOutlet weak var firstTextView: UITextView! }

답변 0

답변을 작성해보세요.

답변을 기다리고 있는 질문이에요.
첫번째 답변을 남겨보세요!