In my app I have an NSMutableArray that users can modify by adding or deleting entries from the array (btw entries are always added at index 0), this is done using a table view. Each entry in the array store's the date that the cell was added on as an NSString is this format: i.e. @"Sat, Mar 12, 2011"
. Let's say that I also create a variable NSString *myDay = @"Thu";
My question is how can I check that in between the date stored at index 0 and the date stored at index 1, the day represented by myDay is missing or not lying in between these two date entires. And in my case I only ever need to do this check by comparing index 0 and 1 of the array.
Also note that in my app, the variable myDay is not a specific date (i.e @"Thu, Mar 10, 2011" it just represents a day of the week chosen by the user, were some data in my app will need to be reset every week.