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 trialAbraham Orellanes
1,599 Pointswhat are manipulation functions, methods, messages, setter and getters?
All of these words get thrown in starting minute 4 and there's no clear explanation how it comes together. It's a bit frustrating to explain things as if the audience is programmers and already has a solid understanding of all the jargon.
1 Answer
James Andrews
7,245 Points1) Method: A method is a means of consolidating code functionality. For example if you want to add 2 integers together the method would take 2 variables as an input and return the output of the 2 added together.
2) getters and setters. are methods used for setting and retrieving object variables or in iOS properties.
3) manipulation functions are methods used to manipulate data.
4) Messages are strings of text returned to the end user in regards to the functionality of the program.