-[__NSTaggedDate cbjson_encodeTo:canonical:]: unrecognized selector sent to instance
On Jun 12, 2015, at 2:23 AM, Brendan Duddridge <bren...@gmail.com> wrote:It seems perhaps that they can do that only on direct properties of the CBLModel subclass?I am trying to persist an NSDate object that gets stored in an NSDictionary on my CBLModel subclass.
On Jun 12, 2015, at 9:34 AM, Brendan Duddridge <bren...@gmail.com> wrote:Is there a specific string date format that I should be using when storing the values in my dictionary? Is there any way to have it interpret the string and store it in the NSDictionary as an NSDate?
On Jun 12, 2015, at 10:47 AM, Brendan Duddridge <bren...@gmail.com> wrote:Ok. So I guess I'll store the date values in the dictionary as Unix epoch dates (number of seconds since Jan 1, 1970) still and then convert before being displayed. At least that should also work properly with sorting and searching date ranges.