How to deal with [NSDate] and Firebase
问题 I am making a calendar app. I have one array of selected dates. User selected it previously and they are stored there. var selectedDays = [NSDate]() When app loads I have to display these dates, but everything is overcomplicated because Firebase doesn't accept NSDate I have another array var selectedDaysForFirebase = [String]() which is the same array as above only dates are converted to strings to accomodate Firebase. This is how I save selected dates: // 1. Append converted date into