Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Playlist Browser with Swift Building the Music Library and Playlist Models Passing the Playlist Object

Trouble at "super.viewDidLoad()"

When I tried to run my app, this comes up as an error highlighted in green. It says "Thread 1: breakpoint 1.1" on the super.viewDidLoad(), but no hints on how to resolve it. What have I messed up?

My code...

override func viewDidLoad() { super.viewDidLoad()

    aButton.setTitle("Press me!", forState: .Normal)

    let playlist = Playlist(index: 0)
    playlistImageView0.image = playlist.icon
}

2 Answers

Jayden Spring
Jayden Spring
8,625 Points

Press CMD + 7 on your keyboard in xCode and then delete all the breakpoints. OR look in the gutter next to you're code and if you see a little blue flag this is a breakpoint, right click delete it or click it to deactivate it.

That worked! Thank you.