Explain what is the principle distinction between the function calls and messages?
Answer / Gaurav Johari
@syntheize is a directive used in Objective-C to inform the compiler that an instance variable exists, and it should generate accessor methods (getter and setter) for that variable. For example: n`@synthesize myProperty;`n@dynamic is used to indicate that the implementation of a method or property is not provided in the current class and will be implemented in a subclass. This tells the compiler not to generate accessor methods for those properties.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between #import and #include in objective-c?
Is objective-c is used in window also?
How do you get closure?
Does objective-c contain private strategies?
What is a delegation protocol?
Explain what is the principle distinction between the function calls and messages?
What is the difference between category and extension in objective c?
What is an objective statement?
Explain what is data encapsulation in objective-c?
Can you differentiate polymorphism from abstraction?
Is objective c the same as c sharp?
What happens if you add your just created object to a mutable array, and you release your object?