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 trialCaleb Kleveter
Treehouse Moderator 37,862 PointsI never herd the answer to this question
The process of preparing our classes for use is called ______________.
What is the answer to this question? I never heard it in the video.
3 Answers
agreatdaytocode
24,757 PointsInitialization is the process of preparing an instance of a class, structure, or enumeration for use. This process involves setting an initial value for each stored property on that instance and performing any other setup or initialization that is required before the new instance is ready for use. - Apple Docs
kjvswift93
13,515 PointsHint: Remember what the 'init' method is used for.
Caleb Kleveter
Treehouse Moderator 37,862 PointsThanks y'all, it worked!
kjvswift93
13,515 PointsYou couldn't figure it out from my hint? I could have just wrote "initialization", but I thought it would help you more if I didn't simply post the answer outright.
Caleb Kleveter
Treehouse Moderator 37,862 PointsSorry, I did't. The wired thing though is that he covers the issue in the next video.
Edit: Thanks for helping me think and fixing problem myself.