Look up the NSDate class in your documentation.Then add a new category to NSDate called ElapsedDays. In that new category, add a method based on the following method declaration: -(unsigned long)...

Look up the NSDate class in your documentation.Then add a new category to NSDate called ElapsedDays. In that new category, add a method based on the following method declaration: -(unsigned long) elapsedDays: (NSDate *) theDate; Have the new method return the number of elapsed days between the receiver and the argument to the method.Write a test program to test your new method. (Hint: Look at the years:months:days:hours:minutes:seconds:sinceDate: method.)



May 26, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here