What is encapsulation in ios?
Answer / Bhupendra Sharma
In Objective-C and Swift for iOS, Encapsulation refers to the practice of keeping the fields (properties) within a class private, and providing access to them through public methods. This helps hide the complexity of an object's data representation from outside code.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a serial queue?
What is the use of appdelegate in ios?
What is inactive state in ios?
How to do upload of large sized video file to server ? while uploading user presses “Homebutton” How long will execute?
What is the difference between inheritance and category?
What is nsfetchedresultscontroller? How do you turn on content monitoring?
What are b-trees?
What is managed object context and what are its functions?
What is App Bundle in iOS operating system?
1 Answers TryTechnicals Pvt Ltd,
What is the purpose of reuseidentifier?
What are “strong” and “weak” references? Why are they important and how can they be used to help control memory management and avoid memory leaks?
What is iOS?