Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 811659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T01:04:47+00:00 2026-05-15T01:04:47+00:00

I have an NSArray of JSON file locations. There are stored in the user’s/app’s

  • 0

I have an NSArray of JSON file locations. There are stored in the user’s/app’s Document directory and inside each JSON file is a name value.

I’m able to retreive the data from JSON files, I don’t need help with tht. But I need help on sorting NSArrays I have no idea how I can do that based on a value inside the file, while not being pathetically slow.

This is on the iPhone btw.

In sum how do I customly reorder NSArrays.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T01:04:47+00:00Added an answer on May 15, 2026 at 1:04 am

    NSArray contents are immutable, but there are several methods for creating a sorted copy of the array, like sortedArrayUsingFunction:context:, sortedArrayUsingSelector: or sortedArrayUsingDescriptors:

    Note that the new sorted array does not copy the elements of the original done, it just retains them.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working with json file and I have saved my response in a NSArray.
I have following json file. { id: 100001740605903, name: Mike Watshan, first_name: Mike, last_name:
If I have an NSArray with some values in them. Is there a way
I have a JSON file, and i need to extract values from it and
I have an NSArray built from json data from twitter REST API. NSArray *dict
So I have an app that downloads and parses a JSON feed with some
In my .h file I have this: @protocol ScanBookDelegate - (void)MethodNameToCallBack:(NSArray *)s; @end @property
My app pulls a json data feed , I have just added the reachability
I have declared a variable NSString sessionId; in app delegate file for global usage.
I have NSArray and I want to remove duplicates from it. I know that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.