Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers
elance-zoho-creator-exam.pdf

How can you add a new method foo to an existing class Bar?

Define a C function foo and then send Bar the extend:withSelector: message, e.g. [Bar extend: foo withSelector: @selector(foo:)].
Both "extend" options are correct.
Make a category, e.g. @interface Bar(Foo).
It's not possible.
Send Bar the "extend:" message, e.g. [Bar extend: foo].
Top
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon