Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Ryan Maneo4,342 Points
[Insert a million question marks here]
Okay. I'm going to be blunt. I have NO CLUE what he's talking about.
Am I the only one experiencing this? Doesn't look like it based off of the many posts regarding this course.
This video explains what Type Methods are.
Type methods, unlike instance methods, are methods that are called upon the class or struct itself, not an instance of the class or struct.
For example, a type method would look like this when called:
An instance method looks like this:
var map = Map() map.distanceFromOrigin(point)
He goes more in depth in the video, but that's the basic concept.
Moritz Lang25,909 Points
Hi Ryan, I experienced the same while watching some videos of this course. After watching them 2-3 times I was able to understand it. Maybe you just have to give it another try ;) If you have any direct questions about this course let me know and I would be glad to help you.