The Yosemite AppKit Release Notes claim that most animations on the system can
be run in slow motion by setting NSAnimationSlowMotionOnShift to YES. I've
always implemented slow motion by explictly testing for the shift key and, if
it's down, changing the animation duration. If there is in fact
On Sep 25, 2014, at 5:15 AM, Bill Cheeseman wrote:
>
> But I can't find NSAnimationSlowMotionOnShift anywhere. Is this remark in the
> release notes an inside joke? Google turns up no references to
> NSAnimationSlowMotionOnShift other than these Release Notes, and searching
> the Yosemite head
On Sep 25, 2014, at 10:33 AM, Kyle Sluder wrote:
> Notice it says “the default”. This is a noun, used in the same sense as the
> defaults(1) command. Therefore you set it either with `defaults write` or by
> passing it as an argument on the command line.
Duh. I'm feeling particularly stupid t
On Sep 25, 2014, at 8:31 AM, Bill Cheeseman wrote:
>
>
>> On Sep 25, 2014, at 10:33 AM, Kyle Sluder wrote:
>>
>> Notice it says “the default”. This is a noun, used in the same sense as the
>> defaults(1) command. Therefore you set it either with `defaults write` or by
>> passing it as an arg
On Sep 25, 2014, at 11:53 AM, Kyle Sluder wrote:
> But in general, I think Shift-to-slowly-animate is a misfeature.
I think of it as an Easter Egg. It is not meant to serve a useful purpose and
therefore is not a feature at all. It is nothing more than a trivial and fun
effect.
Notice that A
It can present an annoying and time wasting problem when it appears where it is
not wanted. Take, for example, Xcode. The shortcut keys to zoom in and out of
the storyboard require the shift key. Apple chose to animate the zoom in and
zoom out, rather than display the new resolution instantly
On Thu, Sep 25, 2014, at 11:52 AM, Bill Cheeseman wrote:
> Apple's Minimize button slow-motion effect works even if you hold down
> other modifier keys along with the Shift key. I just tried it with
> Shift-Cmd-Y (it requires some contortion if you only have two hands).
> Sure enough, you're right,
On Sep 25, 2014, at 1:37 PM, Kyle Sluder wrote:
> To a rough approximation, everyone uses every feature all the time.
I have to say that I missed your point on that one. In the years since Steve
Jobs showed off the slow motion feature, I've never heard of anybody
complaining that the keyboard
(I apparently sent this to Alex alone the first time. Here it is for the list.)
On Sep 25, 2014, at 1:07 PM, Alex Zavatone wrote:
> It can present an annoying and time wasting problem when it appears where it
> is not wanted. Take, for example, Xcode. The shortcut keys to zoom in and
> out o
On Sep 21, 2014, at 7:48 PM, Daryle Walker wrote:
> Do WebView instances participate in the Resume feature (with
> +restoreWindowWithIdentifier: state: completionHandler:, etc.), or do I have
> to manually handle their state (the web-view’s back-forward list and which
> item is current) myself
Here's my code to animate in slow motion only when the Shift key alone is down,
and not to animate when other modifier keys are down along with the Shift key.
This should reduce the likelihood of conflicts with keyboard shortcuts that
include the Shift key along with other modifier keys. Don't f
Why does [[NSFileManager defaultManager]
URLForDirectory:NSUserDirectory inDomain:NSUserDomainMask
appropriateForURL:nil create:NO error:nil]
return nil?
[[NSFileManager defaultManager] URLsForDirectory:NSUserDirectory
inDomains:NSUserDomainMask] returns an empty array.
I am aware of
NSHo
> On 26 Sep 2014, at 7:53 am, trid...@ihug.co.nz wrote:
>
>
>
> Why does [[NSFileManager defaultManager]
> URLForDirectory:NSUserDirectory inDomain:NSUserDomainMask
> appropriateForURL:nil create:NO error:nil]
>
> return nil?
>
>
> [[NSFileManager defaultManager] URLsForDirectory:NSUserDire
NSUserDirectory refers to the “Users” directory, which exists only in the
“System” domain (“/Users"). The “User” domain is the home directory (“~”). The
combination of NSUserDirectory and NSUserDomainMask results in a nonsensical
and nonexistent path (“~/Users”) so it returns nil/empty instead.
On Sep 25, 2014, at 8:02 PM, Roland King wrote:
>
>> On 26 Sep 2014, at 7:53 am, trid...@ihug.co.nz wrote:
>>
>>
>>
>> Why does [[NSFileManager defaultManager]
>> URLForDirectory:NSUserDirectory inDomain:NSUserDomainMask
>> appropriateForURL:nil create:NO error:nil]
>>
>> return nil?
>>
>>
In Xcode 5 OSX, not ios, I have created a custom view and set auto layout
constraints so that the custom view's sides stay a fixed distance from the
content view's frame. The custom view resizes correctly while dragging the
window's corner while running, but the content of the custom view remain
When the view resizes, the content area changes to become larger or smaller,
but the scaling of content within that view does not change. You have to
arrange this if that's what you want.
There are a number of ways to do this, but nothing automatic - no amount of
fiddling with constraints will
On 26 Sep 2014, at 2:22 pm, Graham Cox wrote:
>scaleX = NSWidth([path bounds]) / NSWidth( br );
>scaleY = NSHeight([path bounds]) / NSHeight( br );
Oops, this is the wrong way round - the scale should be /.
--Graham
___
Cocoa-dev mailing
> On 2014/09/26, at 11:38, N!K wrote:
>
> In Xcode 5 OSX, not ios, I have created a custom view and set auto layout
> constraints so that the custom view's sides stay a fixed distance from the
> content view's frame. The custom view resizes correctly while dragging the
> window's corner whil
On Sep 25, 2014, at 9:38 PM, N!K wrote:
> In Xcode 5 OSX, not ios, I have created a custom view and set auto layout
> constraints so that the custom view's sides stay a fixed distance from the
> content view's frame. The custom view resizes correctly while dragging the
> window's corner while
20 matches
Mail list logo