Chapter 1 - Hello World Message

Using the simulator, looking for help on why the simulator continues to display the “Hello World” message that is stored in the contentView.swift. I’m sure it is something simple I overlooked. Thanks for the help!

What exactly is the problem?:slight_smile:

Also, posting your code will help others diagnose the problem.

// Add all numbers from 1 to N recursively

func sum (_ n:UInt) -> UInt {
   return n + sum (n-1)

I found my problem, I was using the wrong template. I’m new to Xcode.

Making it through the book. and program.

Thank you!