Applies to:
- Xcode Extension
- Finder Extension
- Advanced Project Converter
- Offline Converter
Included in plans:
- Cloud
- Offline Converter
Instance variables declared within an Objective-C header file interface are implicitly protected. When an instance variable is under the protected scope, it can be accessed within the class and its subclasses (further reading). You can also explicitly declare the protection level of instance variables as shown in the following code snippet:
Output for "No modifier" option selected:
Output for "/* protected */" option selected:
Output for the "private" option selected:
Output for the "fileprivate" option selected:
Output for the "internal" option selected:
Comments
0 comments
Please sign in to leave a comment.