How to reverse array in objective c?



How to reverse array in objective c?..

Answer / Abhishek Varshney

To reverse an array in Objective-C, you can use NSMutableArray's reverseObjectAtIndexes: method. Here is an example: NSMutableArray *array = ...; [array reverseObjects];

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

Does objective-c contain private strategies?

1 Answers  


What are blocks and how are they used?

1 Answers  


What are the three main types of property?

1 Answers  


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

1 Answers  


What are the delegate?

1 Answers  


How do I create a bridge header in objective c?

1 Answers  


What are the adavantages of gcd over nsthread?

1 Answers  


What is a dispatch method?

1 Answers  


What are objective- c blocks?

1 Answers  


Who calls dealloc method?

1 Answers  


Explain class definition in objective-c?

1 Answers  


What is the purpose of managed object context (nsmanagedobjectcontext) in objective-c and how does it work?

1 Answers  


Categories