What is the difference between function and objective?
Answer / Sanchi Gupta
There seems to be a mistake in your question. It should be either 'What is the difference between function and method (in Objective-C)' or 'What is a selector in Objective-C?' To clarify, a function is a standalone piece of code in C and related languages, while a method is a function associated with an object instance in Objective-C.
| Is This Answer Correct ? | 0 Yes | 0 No |
Does objective c have garbage collection?
Is objective c and c the same?
What is difference between null and nil?
What is single inheritance in objective-c?
Explain what do you mean by dot notation?
What is method swizzling in objective c and why would you use it?
How do you add a category in objective c?
What is assign property in objective c?
Can we create dynamic classes in objective c? If yes, explain how to create with a valid use case?
What’s the contrast between utilizing a delegate and warning?
How do you get closure?
What is objective c good for?