Re: Is it possible to set an NSTableView cell background color?

2017-02-23 Thread corbin dunn
> On Feb 22, 2017, at 6:27 PM, David Delmonte wrote: > > I tried you solution but it doesn’t color the cell. Scratching my head some > more.. I’ll probably ask on Stack Overflow. How did you get it to compile? It requires a view based tableview. Your first step is to convert to a view based

Re: Is it possible to set an NSTableView cell background color?

2017-02-23 Thread David Delmonte
I worked the problem. I’m rather rusty these days. This is what I came up with: 1. Moved to view-based table view. 2. In viewForRow, I added this line: cell.memoryName.drawsBackground = true 3. And then: cell.memoryName.backgroundColor = mintGreen Thanks to all for the pointers. > On Feb

Re: I think I screwed up Core Data multi-threading rules.

2017-02-23 Thread Daryle Walker
> On Feb 23, 2017, at 1:56 AM, Daryle Walker wrote: > > I naively thought this was OK, multi-threading wise. It worked before I added > the “canAsynchronusly…” method to say TRUE for my main file type. When that > method is added, the save hangs the program. > >>override func data(ofType

Re: I think I screwed up Core Data multi-threading rules.

2017-02-23 Thread Quincey Morris
On Feb 23, 2017, at 18:25 , Daryle Walker wrote: > >>override func save(to url: URL, ofType typeName: String, for >> saveOperation: NSSaveOperationType, completionHandler: @escaping (Error?) -> >> Void) { >>// Save the message data to the store so any background contexts can >> rea