All Projects → kgn → SCKeyRecorder

kgn / SCKeyRecorder

Licence: MIT license
An Objective-C shortcut recorder for the Mac.

Programming Languages

objective c
16641 projects - #2 most used programming language

SCKeyRecorder

An Objective-C shortcut recorder for the Mac.

This project is just getting started, it doesn't do much at the moment, stay tuned...

Current build

Screenshot

Mockup

Screenshot

ARC

SCKeyRecorder works with arc and non-arc projects. If you just want to use SCKeyRecorder you don't have to worry about how this works, just add it to your project :) If you want to contribute to SCKeyRecorder please read this section.

SCKeyRecorder adds arc_retain, arc_release, and arc_autorelease to NSObject which should be used instead of the standard methods. Under arc these methods will not perform any memory management, but under non-arc the appropriate retain, release, and autorelease will be performed. These methods can be found in NSObject+ARC.h. There is one additional item implemented as a macro for [super dealloc].

- (id)arc_retain;
- (void)arc_release;
- (id)arc_autorelease;
#define ARCSuperDealloc

Some examples:

[[[[self class] alloc] initWithCode:code] arc_autorelease];

[[NSDictionary dictionaryWithDictionary:attributes] arc_retain];

- (void)dealloc{
    [_stringValue arc_release];
    [_prettyStringValue arc_release];
    ARCSuperDealloc;
}

Credits

Licence

SCKeyRecorder is avalible under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].