I'm writing an app in Cocoa and Objective C as an improved version of a program I wrote in Java last year. The basic idea is to help the user manage money whilst at Uni (i.e me). This is what it looks like so far:
The top NSDatePicker is set to the system current time. I would like to be able to set the date on the lower NSDatePicker (probably using the setDateValue method) by clicking on a day on the date picker. At the moment clicking on a day highlights it, but does not change it's value.
Once this is done I would like to be able to compare the two NSDatePickers and generate an integer value equal to the number of days difference between the two.
If anyone can help with this I would be very grateful indeed!
The top NSDatePicker is set to the system current time. I would like to be able to set the date on the lower NSDatePicker (probably using the setDateValue method) by clicking on a day on the date picker. At the moment clicking on a day highlights it, but does not change it's value.
Once this is done I would like to be able to compare the two NSDatePickers and generate an integer value equal to the number of days difference between the two.
If anyone can help with this I would be very grateful indeed!