Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain how to call a function in objective-c?



Explain how to call a function in objective-c?..

Answer / Prabhat Kumar Chaurasia

To call a function in Objective-C, you need an instance of the class that contains the function. After creating an instance, you can call the function using dot notation or square bracket notation. For example: `MyClass *myObject = [[MyClass alloc] init]; [myObject myFunction];` or `[myObject setValueForKey:@"myFunction"];`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What is a class in objective c?

1 Answers  


What is singleton in objective c?

1 Answers  


What is the use of synchronized() block in objective c?

1 Answers  


How to use swift protocol in objective c?

1 Answers  


When might you use a cfarray/dictionary instead of a nsarray/dictionary?

1 Answers  


What do you understand by protocol?

1 Answers  


How to call methods in objective c?

1 Answers  


What is responder chain?

1 Answers  


How to call function in objective-c?

1 Answers  


What type of language is objective c?

1 Answers  


What is concept of property?

1 Answers  


Where is objective c used?

1 Answers  


Categories