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...


How to add object to nsarray objective c?



How to add object to nsarray objective c?..

Answer / Deepti

To add an object to an NSArray in Objective-C, you can use the addObject: method. Here is an example: NSArray *array = ...; [array addObject:newObject];

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

Tell us the result when you invoke a particular method on a nil pointer?

1 Answers  


What is objective c vs c?

1 Answers  


Can we implement dealloc in arc? If yes, what is the need to do that?

1 Answers  


What is the difference between nsdictionary and nsmutabledictionary?

1 Answers  


How do you check for leaks?

1 Answers  


What is singleton in objective c?

1 Answers  


What are the classifications of property?

1 Answers  


What are nsautoreleasepool? When to use them?

1 Answers  


What is the major difference between objective c and swift?

1 Answers  


What is the difference between category and extension in objective c?

1 Answers  


Is method and function same?

1 Answers  


What is class extension?

1 Answers  


Categories