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

Sam Belcher
Sam Belcher
3,719 Points

Skills up to Build a Simple iPhone App that I don't understand..

Hi, I have reached the build your own fun facts app and there are some concepts that I need extra clarification on:

When do you use "super.init"?

What are the variables that go in the "init" parameters -ie init(var: value, var: value)

2 Answers

Jeff McDivitt
Jeff McDivitt
23,970 Points

Hi Sam -

One of the most useful tools as a programmer is documentation. I have never met a programmer that new everything about a particular language; therefore, being able to locate answers quickly is a needed skill. I believe you will find your answer here Swift documentation

If you need a further explanation; please respond back and I will assist you!