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 Objective-C Basics (Retired) Pointers and Memory Structs

Is there a \n for objective c

In C, \n made a new line in your code. Is there a way for you to do that in objective c. Thanks

2 Answers

Objective-C is an extension of C. So '\n' works too in Objective-C.

Ashish Jain
Ashish Jain
13,625 Points

\n also works in objective-c. as it is extension of c.