Re: Core Data: Primitive Accessors & Ivar-Backed Properties

2013-09-17 Thread Alex Finkel
Have a look at MOGenerator. I have used it for every iOS project with great success. It will give you what you need. On Sun, Sep 15, 2013 at 1:55 PM, Keary Suska wrote: > Does anyone know whether it is useful to implement primitive > accessors for scalar attributes modeled with standard attrib

Re: Core Data: Primitive Accessors & Ivar-Backed Properties

2013-09-17 Thread Sean McBride
On Tue, 17 Sep 2013 15:52:05 -0600, Keary Suska said: >I appreciate the feedback--I am more looking for general feedback by >fellow developers about either canonical forms or useful conventions in >situations where using an ivar-backed attribute is determined to be >useful, rather than to address

Re: Core Data: Primitive Accessors & Ivar-Backed Properties

2013-09-17 Thread Keary Suska
On Sep 17, 2013, at 10:06 AM, Alex Finkel wrote: > Have a look at MOGenerator. I have used it for every iOS project with great > success. It will give you what you need. I appreciate the feedback--I am more looking for general feedback by fellow developers about either canonical forms or usef

Re: Progress for archiving/dearchiving

2013-09-17 Thread Fritz Anderson
On 17 Sep 2013, at 2:38 AM, Marcel Weiher wrote: > On Sep 16, 2013, at 18:51 , Jeffrey Oleander wrote: > >> If you want to know the total number of objects to be archived, then you >> need to count them, at some time or another. To count them, you need to >> walk the object tree before you

Re: Core Data: Primitive Accessors & Ivar-Backed Properties

2013-09-17 Thread Keary Suska
On Sep 17, 2013, at 3:58 PM, Sean McBride wrote: > On Tue, 17 Sep 2013 15:52:05 -0600, Keary Suska said: > >> I appreciate the feedback--I am more looking for general feedback by >> fellow developers about either canonical forms or useful conventions in >> situations where using an ivar-backed at

Re: Modifying the save path in an NSDocument based application

2013-09-17 Thread Pax
Thanks Jerry, Thanks Steve, You guys rock! If you're ever in London I definitely owe you beer! On 17 Sep 2013, at 14:41, Steve Mills wrote: > > You might try overriding saveToURL:ofType:forSaveOperation:completionHandler: > instead. writeToURL is at a very low level in the save operation, an

Re: Modifying the save path in an NSDocument based application

2013-09-17 Thread Jerry Krinock
On Sep 17, 2013, at 07:49:56, Pax <45rpmli...@googlemail.com> wrote: > I thought that this would be nice and simple No. Overriding anything in the AppKit document architecture is playing with fireworks, especially since Auto Save and Versions. To be safe, when you're "done", retest all of t

Re: Modifying the save path in an NSDocument based application

2013-09-17 Thread Steve Mills
On Sep 17, 2013, at 07:49:56, Pax <45rpmli...@googlemail.com> wrote: > I have a slightly odd requirement in that I need to modify, under certain > circumstances, the save path used for an NSDocument based application. The > reason for this is that I may, depending on the format chosen by the u

Re: OS X 10.8.5 Can't detect FactTime Camera on new macbook air

2013-09-17 Thread Luca Ciciriello
Have you tried to do a hardware reset of your macbook? I had the same problem passing from 10.8.3 to 10.8.4 and a hardware reset has solved my problem. The problem is I've no idea how to perform a hardware reset on a MacBook Air :-) Luca. --

OS X 10.8.5 Can't detect FactTime Camera on new macbook air

2013-09-17 Thread Zhuang Xu
recently, I got some feedback about my app can't user camera on new macbook air(2013) when update OS Version to OS X 10.8.5. when debugged i found calling [QTCaptureDevice inputDevices] only get Audio Device, no Video Device. Is there something change about QTKit framework in OS X 10.8.5? does s

Modifying the save path in an NSDocument based application

2013-09-17 Thread Pax
I have a slightly odd requirement in that I need to modify, under certain circumstances, the save path used for an NSDocument based application. The reason for this is that I may, depending on the format chosen by the user, need to unpack the data into multiple files. Under this circumstance,

Re: Progress for archiving/dearchiving

2013-09-17 Thread Marcel Weiher
On Sep 17, 2013, at 10:03 , Graham Cox wrote: > This is very much a worst-case. The file contains a 400MB embedded TIFF > image, which is the bottleneck. The archive probably only has a thousand > objects in it. Ahh, so the ‘other' case: rather than large numbers of objects, a few really l

Re: Progress for archiving/dearchiving

2013-09-17 Thread Graham Cox
On 17/09/2013, at 10:03 AM, Graham Cox wrote: > But you can't opt into one without the other. Actually, that's not true… but as it happens I have opted in to concurrent reading, even though I'm not sure of its benefits - just seems to be what is expected these days. --Graham _

Re: Progress for archiving/dearchiving

2013-09-17 Thread Graham Cox
On 17/09/2013, at 9:47 AM, Marcel Weiher wrote: > Wow, that’s a pretty big file! NSKeyedArchiver has been heavily optimized > (relatively speaking) for the reading case, so 10-15 seconds sounds like a > lot, my 1M object graph “only" takes around 2-3 seconds. This is very much a worst-case.

Re: Progress for archiving/dearchiving

2013-09-17 Thread Marcel Weiher
Hi Graham! On Sep 16, 2013, at 20:26 , Graham Cox wrote: > Documents get saved in the background, so in some ways it doesn't matter how > long they take, but when waiting for a very big file to open, there can be a > noticeable delay (maybe 10-15 seconds) between the Open dialog going away and

Re: Progress for archiving/dearchiving

2013-09-17 Thread Marcel Weiher
On Sep 16, 2013, at 18:51 , Jeffrey Oleander wrote: > If you want to know the total number of objects to be archived, then you > need to count them, at some time or another. To count them, you need to walk > the object tree before you start actually archiving... which may take a > signifi