You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creation from component dictionaries seems superfluous. Dates can be created with optional parameters alike a date component dictionary:
let date1 = NSDate(year: 2016, month: 2, day: 21)
let date2 = NSDate(dateComponentDictionary: [year: 2016, month: 2, day: 21)])
The latter seems equally functional but with more clutter...
Unless this has a broader rationale than flexibility in creation of dates, I propose to get rid of this construction.
The text was updated successfully, but these errors were encountered:
Creation from component dictionaries seems superfluous. Dates can be created with optional parameters alike a date component dictionary:
The latter seems equally functional but with more clutter...
Unless this has a broader rationale than flexibility in creation of dates, I propose to get rid of this construction.
The text was updated successfully, but these errors were encountered: