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 Objective-C Basics (Retired) Beyond the Basics Pointers

println in C? Thought it was printf.

The quiz has the multiple choice answers with println, I thought printf is what we used in C or Objective-C

2 Answers

I was just reading the Swift programming book and they did their "Hello, world" program as println("Hello, world")

Not sure how it's done in C but that would be the way it'll be done in Swift.

Thank you! Hopefully they add swift courses soon to the iOS track.

Printf used in C only. For Objective-C will be NSLog function.

That's what I thought. In the quiz for the pointers section of Beyond the Basics the multiple choice answers have println =(