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 trialirem gürel
5,732 Pointsaccess control in swift
How to we provide access control in swift? There is nothing like using keywords like protected, private and public in front of the variables and classes.
2 Answers
Xavier D
Courses Plus Student 5,840 PointsHi,
Based on where your question was saved in the community, I see that you are currently at "Value Semantics, Type Methods and Inheritance" in Intermediate Swift.
However, after that topic, you'll have to first get through "Extensions and Protocols", and "Memory Management in Swift" and then you'll get to the topic dealing with "Access Control". I recommend going thru previous topics because usually they act as building blocks...but...if you want, you can still visit that section here...
irem gürel
5,732 PointsThank you very much! I will take a look at this.