On 2014 Jan 04, at 11:14, Steve Mills <[email protected]> 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 protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to