I have an array of NSString, I want to move a particular NSString onto zero index of that array. I am getting values into array after sorting it.
How can I implement it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use
exchangeObjectAtIndex:withObjectAtIndex:method if you want to swap two strings in the mutable array.