Re: NSDocument disc undo stack

2012-03-25 Thread Steven
Thanks for the info Graham. I'm using NSUndoManager. I thought that many large objects in the stack would cause memory pressure and would be better occupying disc space as they are only needed at undo/redo time. Good to know that the VM system will take care of it. Steven. On 24 Mar 2012, at

Re: NSDate/NSDateFormatter question

2012-03-25 Thread Roland King
On Mar 26, 2012, at 4:52 AM, Donald Hall wrote: > Roland, John, > > Thanks for the response. I am sure your explanation is correct. I seem to > recall that back in 1970 Daylight Saving Time started at the end of April, so > that is why I am getting different results, as now it starts on the se

Re: NSDate/NSDateFormatter question

2012-03-25 Thread Donald Hall
Roland, John, Thanks for the response. I am sure your explanation is correct. I seem to recall that back in 1970 Daylight Saving Time started at the end of April, so that is why I am getting different results, as now it starts on the second Sunday of March. I should probably fill in my date ob

Re: Is it valid to override awakeFromNib in my NSApplicationDelegate?

2012-03-25 Thread Joel Norvell
Hi Fritz, Thank you very much for answering my question! Sincerely, Joel From: Fritz Anderson To: Joel Norvell Cc: "cocoa-dev@lists.apple.com" Sent: Sunday, March 25, 2012 11:02 AM Subject: Re: Is it valid to override awakeFromNib in my NSApplicationDelega

Re: Is it valid to override awakeFromNib in my NSApplicationDelegate?

2012-03-25 Thread Fritz Anderson
On 25 Mar 2012, at 12:49 PM, Joel Norvell wrote: > I noticed that NSApplicationDelegate instances get awakeFromNib messages. > > I've tried to find its definition. But I haven't been able to find it. > > Is it be valid to override awakeFromNib in NSApplicationDelegate? It is documented that any

Is it valid to override awakeFromNib in my NSApplicationDelegate?

2012-03-25 Thread Joel Norvell
Hi Cocoa People, I noticed that NSApplicationDelegate instances get awakeFromNib messages. I've tried to find its definition. But I haven't been able to find it. Is it be valid to override awakeFromNib in NSApplicationDelegate? Thanks, Joel ___ Cocoa

Re: ARC not ready for primetime?

2012-03-25 Thread Scott Andrew
I've uploaded a quick sample that shows what i have been seeing. I put some NSLogs to show the deallocs for the NWColorViewController and NWColorLayer so you can see dealloc being called. Load in instruments Allocations app and switch back and forth a few times and end on the "Hide" tab. Basical