Re: CoreData headaches

2016-10-28 Thread Steve Mills
On Oct 27, 2016, at 23:35:39, Dave Fernandes wrote: > > The managed objects exist in a MOC whether you have a reference to that MOC > or not. You can get a reference to the MOC that an MO “belongs to" from the > -[NSManagedObject managedObjectContext] instance method. Since the properties > yo

Re: CoreData headaches

2016-10-28 Thread Quincey Morris
On Oct 28, 2016, at 13:20 , Steve Mills wrote: > > the CoreData docs are just a pile of confusion with no human explanation that > I can understand That statement seems to have been garbled in transmission. Let me fix it for you: > CoreData [is] just a pile of confusion with no human explanat

Re: CoreData headaches

2016-10-28 Thread Jens Alfke
> On Oct 28, 2016, at 1:20 PM, Steve Mills wrote: > > No, I'm sure I *would* do something like that. :) To me, the CoreData docs > are just a pile of confusion with no human explanation that I can understand. Well, the general rule in a nutshell is that you should only use a CoreData object o

Re: CoreData headaches

2016-10-28 Thread Steve Mills
On Oct 28, 2016, at 01:37 PM, Jens Alfke wrote: On Oct 27, 2016, at 8:49 PM, Dave Fernandes wrote: But what managed object are you dealing with? Is the Asset a managed object? If so, you can only access its properties from the queue of its managed object context. So if it is a main queue con

Re: Date Formatter relative date formatting

2016-10-28 Thread João Varela
As a native Portuguese speaker, I can tell you that it is NOT normal to capitalize “Hoje” at the end or in the middle of a sentence. The same is true for “today" in English. Thus, I think these variations of capitalisation are bugs. A similar bug was true when the days of the week were not capit

Re: CoreData headaches

2016-10-28 Thread Jens Alfke
> On Oct 27, 2016, at 8:49 PM, Dave Fernandes > wrote: > > But what managed object are you dealing with? Is the Asset a managed object? > If so, you can only access its properties from the queue of its managed > object context. So if it is a main queue context, you can only access the > MO’s

Re: Date Formatter relative date formatting

2016-10-28 Thread Quincey Morris
On Oct 28, 2016, at 01:05 , Daniel Phillips wrote: > > When using NSDateFormatter for relative date formatting, I am getting the > localised word for today capitalised in some locales not not all. Is this > expected behaviour? Since macOS 10.10 and iOS 8.0, formatters have had a “formattingCo

Re: Date Formatter relative date formatting

2016-10-28 Thread Steve Mills
On Oct 28, 2016, at 03:05:06, Daniel Phillips wrote: > > When using NSDateFormatter for relative date formatting, I am getting the > localised word for today capitalised in some locales not not all. Is this > expected behaviour? I’ve tried to research this and it seems the word today > should

Date Formatter relative date formatting

2016-10-28 Thread Daniel Phillips
Hello, When using NSDateFormatter for relative date formatting, I am getting the localised word for today capitalised in some locales not not all. Is this expected behaviour? I’ve tried to research this and it seems the word today shouldn’t be capitalised (in English at least...) unless it’s u