Explain the difference between inheritance and category?
Answer / Rajeev Kumar Yadav
Inheritance is a relationship where one class inherits properties and methods from another. In Objective-C, this is achieved using the `@interface` and `@implementation` keywords. A category, on the other hand, allows you to add new methods or properties to an existing class without subclassing it.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to register as a iphone developer?
Which are the app’s state transitions when it is launched?
Which programming language is used in ios?
What is xib?
What is the latest version of ios?
What is inactive state in ios?
What are some common execution states in ios?
What is arc?
What is bundle
What is block in ios?
What is the use of double question marks (“??”) ?
Explain UIView life cycles