In my application, I have an NSMutableArray that users can modify by adding or removing entries from the array (btw entries are always added to index 0), this is done using a table view. Each record in the array stores the date when the cell was added as an NSString - this is the format: i.e. @"Sat, Mar 12, 2011". Let's say that I also create a variableNSString *myDay = @"Thu";
My question is: how can I check that between the date stored at index 0 and the date stored at index 1, the day represented by myDay is missing or does not lie between the two dates. And in my case, I only need to do this check by comparing the indexes 0 and 1 of the array.
Also note that in my application the variable myDay is not a specific date (ie @ "Thu, March 10, 2011", it represents only the day of the week selected by the user, there was some data in my application. Reset every week.
source
share