Re: Core Data concurrency during import of folder contents

2015-02-02 Thread Steve Mills
On Jan 31, 2015, at 12:00:03, Jerry Krinock je...@ieee.org wrote: I liked this one [1] by Aaron Douglas (all in Swift) when I was needed to do a presentation on Core Data last September. And then, in a rage of NIH [2], I wrote my own [3] instead, in Objective-C. The one Swift

NSDocument Save As... problem?

2015-02-02 Thread Graham Cox
If my NSDocument subclass opens a file of a certain type, and then I do a Save As (option click the File menu), choose a new name and CHANGE THE EXTENSION, shouldn't the document be given the new typeName in -fileWrapperOfType:error: ? I'm finding that it is passed the original typeName, so the

Re: NSDocument Save As... problem?

2015-02-02 Thread Quincey Morris
On Feb 2, 2015, at 14:06 , Graham Cox graham@bigpond.com wrote: If my NSDocument subclass opens a file of a certain type, and then I do a Save As (option click the File menu), choose a new name and CHANGE THE EXTENSION, shouldn't the document be given the new typeName in

Re: Core Data concurrency during import of folder contents

2015-02-02 Thread Roland King
On 3 Feb 2015, at 04:25, Steve Mills sjmi...@mac.com wrote: On Jan 31, 2015, at 12:00:03, Jerry Krinock je...@ieee.org wrote: I liked this one [1] by Aaron Douglas (all in Swift) when I was needed to do a presentation on Core Data last September. And then, in a rage of NIH [2], I

Re: Extrange problem with screensaver in 2 monitors and key stroke

2015-02-02 Thread Stephane Sudre
If you are subclassing the keyDown:|keyUp: method of the screensaver view, you are limited by the fact that there can only be one first responder. A solution could be to post a notification when you detect the N key being pressed (or released) and refresh the Web View from the notification

Re: Job postings at Cocoa mailing list

2015-02-02 Thread Michael Crawford
Last I heard, the admin of the lists that I knew about was Chris Hansen, chan...@apple.com Mike Michael David Crawford, Consulting Software Engineer mdcrawf...@gmail.com http://www.warplife.com/mdc/ Available for Software Development in the Portland, Oregon Metropolitan Area. On Mon, Feb 2,

Job postings at Cocoa mailing list

2015-02-02 Thread Claudio M. E. Bastos Iorio
Hello everyone, I've tried to contact adm...@lists.apple.com in order to check about posting job openings policies in this mailing list (my company is currently looking for iOS/Cocoa devs) but my email bounced. If you guys are looking for a full time job please contact me in private for further

Re: NSDocument Save As... problem?

2015-02-02 Thread Quincey Morris
On Feb 2, 2015, at 15:21 , Graham Cox graham@bigpond.com wrote: The app supports 4 document types. It imports all 4 UTIs corresponding to these types, but it exports only two. This doesn’t sound right to me. My understanding is that a UTI string is one of three things: 1. A standard

Re: NSDocument Save As... problem?

2015-02-02 Thread Graham Cox
On 3 Feb 2015, at 10:02 am, Quincey Morris quinceymor...@rivergatesoftware.com wrote: On Feb 2, 2015, at 14:06 , Graham Cox graham@bigpond.com wrote: If my NSDocument subclass opens a file of a certain type, and then I do a Save As (option click the File menu), choose a new name

Extrange problem with screensaver in 2 monitors and key stroke

2015-02-02 Thread Juanjo Conti
Hi! I'm writing a screensaver that shows a web page, the idea is that every certain number of seconds the page is changed but the user can also change it pressing the N key. If I use the screensaver having 2 monitors (not configured as mirrors), the time based change works ok, but the key based

Re: Job postings at Cocoa mailing list

2015-02-02 Thread Kyle Sluder
On Feb 2, 2015, at 4:37 PM, Claudio M. E. Bastos Iorio selecter...@gmail.com wrote: Hello everyone, I've tried to contact adm...@lists.apple.com in order to check about posting job openings policies in this mailing list (my company is currently looking for iOS/Cocoa devs) but my email

Re: NSDocument Save As... problem?

2015-02-02 Thread Graham Cox
On 3 Feb 2015, at 11:58 am, Quincey Morris quinceymor...@rivergatesoftware.com wrote: The app supports 4 document types. It imports all 4 UTIs corresponding to these types, but it exports only two. This doesn’t sound right to me. My understanding is that a UTI string is one of three

Re: Modernising dragging problem

2015-02-02 Thread Markus Spoettl
On 01/02/15 23:06, Graham Cox wrote: On 1 Feb 2015, at 5:23 am, Markus Spoettl ms_li...@shiftoption.com wrote: I did the same conversion a while back and have had no such issue. I found it completely straight forward and surprisingly painless. Are you sure you're implementing all the

Re: Core Data concurrency during import of folder contents

2015-02-02 Thread Steve Mills
On Feb 2, 2015, at 17:36:22, Roland King r...@rols.org wrote: get the NSManagedObjectContext the document creates for you with [ super managedObjectContext ], get the store coordinator with [ managedObjectContext persistentStoreCoordinator ], create your own MOCs on that store, hold on to