@Eric: Thanks. In the meantime I saw that some methods have a "deprecated" tag on their side, but not the method in question. :)
@Bavarious, Dave: I am a beginner, thus I want to try to achieve my goals without wrappers and external libraries. But thanks. Already have a working implementation, the Carbon methods fit perfectly. 2011/4/17 Dave DeLong <[email protected]>: > > On Apr 16, 2011, at 2:57 PM, Bavarious wrote: > >> On 16 Apr 2011, at 13:02, Eric Schlegel wrote: >>> On Apr 16, 2011, at 2:59 AM, Florian Pilz wrote: >>> >>>> However the Carbon API for global shortcuts (RegisterEventHotKey) is >>>> marked as 'Legacy'. I am not sure if thats the same as 'deprecated' in >>>> Apple terms >>> >>> It's not. >>> >>>> So my question is: Is the Carbon API still the way to go? >>> >>> It is. >> >> You may want to check Dave DeLong’s Cocoa wrapper for RegisterEventHotKey(), >> including block callbacks: >> >> https://github.com/davedelong/DDHotKey > > +1 :)_______________________________________________ > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/fpilz87%40googlemail.com > > This email sent to [email protected] > _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
