in Technology by

Explain how to call function in Objective-C.

1 Answer

0 votes
by

calling the method is like this

[className methodName]

however if you want to call the method in the same class you can use self

[self methodName]

Related questions

0 votes
    How do I call Objective-C code from Swift?...
asked Mar 9, 2021 in Technology by JackTerrance
0 votes
    I'm still trying to understand this piece of code that I found in a project I'm working on where ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 20, 2022 in Education by JackTerrance
0 votes
    I'm still trying to understand this piece of code that I found in a project I'm working on where ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 18, 2022 in Education by JackTerrance
0 votes
    Can we create Dynamic Classes in Objective C? If Yes, Explain how to create with a valid use case?...
asked Nov 10, 2020 in Technology by JackTerrance
0 votes
    Explain the difference between Swift vs Objective-C.?...
asked Nov 30, 2020 in Technology by JackTerrance
0 votes
    Is Objective C, a dynamic language? True/False, explain....
asked Nov 10, 2020 in Technology by JackTerrance
0 votes
    Explain what is dot notation in Objective-C?...
asked Nov 10, 2020 in Technology by JackTerrance
0 votes
    Explain what is @synthesize in Objective-C?...
asked Nov 10, 2020 in Technology by JackTerrance
0 votes
    Explain when to use NSArray and NSMutableArray. Which one is faster and threadsafe in Objective-C?...
asked Nov 10, 2020 in Technology by JackTerrance
0 votes
    Explain types of protocol in Objective C?...
asked Nov 10, 2020 in Technology by JackTerrance
0 votes
    Explain what is protocol in Objective-C?...
asked Nov 10, 2020 in Technology by JackTerrance
0 votes
    What is the default function call method in C?...
asked Nov 9, 2020 in Technology by JackTerrance
0 votes
    Explain call by value method with the help of a c++ program? Select the correct answer from above options...
asked Dec 14, 2021 in Education by JackTerrance
0 votes
    How we can layout subviews in a view in Objective-C?...
asked Nov 10, 2020 in Technology by JackTerrance
0 votes
    I want to get variable value from an objective-c class, using reflection. company.h looks like @interface ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 28, 2022 in Education by JackTerrance
...