Re: Another best practice question: storing hotkey assignments
Re: Another best practice question: storing hotkey assignments
- Subject: Re: Another best practice question: storing hotkey assignments
- From: Jerry Krinock <email@hidden>
- Date: Sat, 04 Jan 2014 12:28:52 -0800
On 2014 Jan 04, at 11:14, Steve Mills <email@hidden> wrote:
> There ya go, 2 shorts make UInt32.
Yes, except unless you’re doing this for fun, I wouldn’t get down to the bit level because this code, which is somewhat tedious (conversions between Carbon and Cocoa key codes come to mind), has already been written and open-sourced. Look at SRRecorderControl. Look at the forks - I remember reading there is a 2.0 or something by a different author. Also in github.com I have SSYShortcutBackend and SSYShortcutActuator which work with SRRecorderControl. One of them takes care of the user defaults for you.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden