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.
Caleb KleveterTreehouse Moderator 37,862 Points
What should I do about the sub-class?
Mr. Turner said in this video to name the sub class in the new file you make "Shapes" but in the version i'm using (5.1.1) they give you 3 options to choose from and you can't name your own . what do I do?
I'm using the same version. Right click the project folder and select "New File.." and then select "Objective=C class" from the iOS section. Click next, and in the first field, call it "Button" or whatever shape you're making. In the second field, type in "Shape" because Button will be a sub class of Shape.
Click next and create, and you're all set.