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!

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 Simple iPhone App with Swift Views and View Controllers View Controllers and IBAction

Les Scott
Les Scott
4,999 Points

How do I use println function in Single-Page app builder? Trying to follow and View Controller is different than video.

I am following along in the iOS Development With Swift video series. We are building a basic Fun Facts App, but I'm having a little trouble. The teacher uses the Control key to drag the "button" that we created to the View Controller code area. For starters, in the video it just shows one option to choose for ViewController, but I've got either ViewController.h or ViewController.m. And neither let me use the println function after the IBAction code.