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

  • Home
  • SEARCH
  • 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 4017816
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T09:54:27+00:00 2026-05-20T09:54:27+00:00

I have an NSMutableArray that is loaded into a table view. The data in

  • 0

I have an NSMutableArray that is loaded into a table view. The data in this array is basically storing the dates in the form (i.e Sun, Mar 6, 2011, etc). The user adds these days by pressing an “add” button at the top of the nav bar (and today’s date is added). Now they will not necessarily add all the days of the week for a specific week (i.e. they may miss adding a day). Therefore I can’t assume that there are always 7 days (7 entries in the array) until I hit a specific day of the week again (i.e. from Sun, Mar 6, 2011 to Sun, Mar 13, 2011). Each entry in the array is storing an NSMutableDictionary with a bunch of data. Finally I want to calculate a specific value that needs to take into account the sum of the data for each consecutive week in the NSArray (between a specific day chosen by the user, i.e. sun).

Hopefully I’ve explained my situation in an understandable way. I’ve hit a major road block here, can someone help me out.

  • 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-20T09:54:27+00:00Added an answer on May 20, 2026 at 9:54 am

    i’m not really sure i got what you mean, but if you are just asking how to compare 2 different dates this could help:

    NSTimeInterval timeDifference = [aNSDate timeIntervalSinceDate: oldNSDate];
    NSLog(@"+%.02f sec"), timeDifference]];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a service that loads data into my table view. When the service
I have an NSMutableArray that I display through a table view. The problem is
I have successfully loaded the muscleName items into a table view but am not
I have a UITableViewController that when loaded gets data from a web-service and stores
Whew... what a title. So I have a NSMutableArray that is assigned data retrieved
I have an SQLite Database with 5000 rows that is loaded into a tableview.
I have an NSMutableArray with 24 strings. I need to save this data if
I have an NSMutableArray that looks like this { @active = false; @name =
I have an NSMutableArray that is populated with objects of strings. For simplicity sake
I have a NSMutableArray that I need to search for a string and return

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.