Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kgn/sckeyrecorder
An Objective-C shortcut recorder for the Mac.
https://github.com/kgn/sckeyrecorder
Last synced: about 1 month ago
JSON representation
An Objective-C shortcut recorder for the Mac.
- Host: GitHub
- URL: https://github.com/kgn/sckeyrecorder
- Owner: kgn
- License: mit
- Created: 2011-11-22T02:22:00.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2011-12-24T17:36:44.000Z (almost 13 years ago)
- Last Synced: 2023-03-11T10:28:08.291Z (over 1 year ago)
- Language: Objective-C
- Homepage:
- Size: 618 KB
- Stars: 15
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/kgn/SCKeyRecorder/raw/master/screenshot.png)
## Mockup
![Screenshot](https://github.com/kgn/SCKeyRecorder/raw/master/mockup.png)
## 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](https://github.com/kgn/SCKeyRecorder/blob/master/SCKeyRecorder/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 ARCSuperDeallocSome examples:
[[[[self class] alloc] initWithCode:code] arc_autorelease];
[[NSDictionary dictionaryWithDictionary:attributes] arc_retain];
- (void)dealloc{
[_stringValue arc_release];
[_prettyStringValue arc_release];
ARCSuperDealloc;
}## Credits
- David Keegan ([@kgn](https://github.com/kgn))
- Indragie Karunaratne ([@indragiek](https://github.com/indragiek))## Licence
SCKeyRecorder is avalible under the [MIT License](https://github.com/kgn/SCKeyRecorder/blob/master/LICENSE).