I’m working on my first application, and I’m slowly learning the objective-c. But now I’m stuck. The application calculates the number of days between two dates, and so far so good. But now I would give the possibility to create groups of holidays which will go to escape from the total bill. I created two entities with a CoreData for the group and the other for the holidays of the group (see photo). How do I get the dates included in the code of my application to make the necessary calculations?

I’m working on my first application, and I’m slowly learning the objective-c. But now
Share
If you’re trying to calculate the distance between dates, use this.
NSTimeIntervalis just a#typedeffordouble.If you are trying to make other calculations, please give some examples.