Re: Make sheets open instantly

2010-01-19 Thread Joar Wingfors
For developers it's typically preferable to pass debug user default values as arguments to your executable from within Xcode. Select "Project > Edit Active Executable" in Xcode, and go to the Arguments tab. Hit the plus button to add a new argument: -NSWindowResizeTime 0.1 When you lau

Re: Make sheets open instantly

2010-01-19 Thread Mark Allan
This also works on a per-application basis. Just replace NSGlobalDomain with your app's bundle identifier. For example, to speed up sheets in Preview.app, use the following: defaults write com.apple.preview NSWindowResizeTime .001 On 18 Jan 2010, at 11:53 pm, Warren Dodge wrote: On Jan 1

Re: Make sheets open instantly

2010-01-19 Thread David Catmull
On Jan 18, 2010, at 5:19 PM, Chris Hanson wrote: > On Jan 18, 2010, at 2:43 PM, David Catmull wrote: > >> Is there any way to make sheets open instantly, instead of animating? I'd >> just like to speed up my unit tests. > > Why do your unit tests need to bring up sheets? I'll just call them tes

Re: Make sheets open instantly

2010-01-18 Thread Ricky Sharp
On Jan 18, 2010, at 7:19 PM, Chris Hanson wrote: > On Jan 18, 2010, at 2:43 PM, David Catmull wrote: > >> Is there any way to make sheets open instantly, instead of animating? I'd >> just like to speed up my unit tests. > > Why do your unit tests need to bring up sheets? Can't speak for the

Re: Make sheets open instantly

2010-01-18 Thread Chris Hanson
On Jan 18, 2010, at 2:43 PM, David Catmull wrote: > Is there any way to make sheets open instantly, instead of animating? I'd > just like to speed up my unit tests. Why do your unit tests need to bring up sheets? — Chris ___ Cocoa-dev mailing lis

Re: Make sheets open instantly

2010-01-18 Thread Warren Dodge
On Jan 18, 2010, at 2:43 PM, David Catmull wrote: > Is there any way to make sheets open instantly, instead of animating? I'd > just like to speed up my unit tests. Hi David, If you run the following before launching your app, you'll get speedy sheets. defaults write NSGlobalDomain NSWindowResi

Re: Make sheets open instantly

2010-01-18 Thread Mike Abdullah
Pretty certain there's a user default you can set to determine the length of window animations. It might apply to sheets too? Have a hunt around the NSWindow reference. On 18 Jan 2010, at 22:43, David Catmull wrote: > Is there any way to make sheets open instantly, instead of animating? I'd >