diff options
| author | Tomáš Znamenáček | 2015-01-14 11:07:22 +0100 | 
|---|---|---|
| committer | Tomáš Znamenáček | 2015-01-14 11:07:22 +0100 | 
| commit | 44542896d447dccb0579f319935c44c04a1ca62e (patch) | |
| tree | dcc4fd0bbd7759da261939629b4d9277e9070180 /Framework | |
| parent | 86eff031bf624746932073fa0df0faa9c5b96509 (diff) | |
| parent | bdb64f0177a9bac79002ac929d0328b32f10143c (diff) | |
| download | MASShortcut-44542896d447dccb0579f319935c44c04a1ca62e.tar.bz2 | |
Updating to current master.
Diffstat (limited to 'Framework')
| -rw-r--r-- | Framework/MASShortcutView+Bindings.h | 14 | ||||
| -rw-r--r-- | Framework/MASShortcutView.m | 2 | 
2 files changed, 8 insertions, 8 deletions
| diff --git a/Framework/MASShortcutView+Bindings.h b/Framework/MASShortcutView+Bindings.h index b0148e7..8cc84df 100644 --- a/Framework/MASShortcutView+Bindings.h +++ b/Framework/MASShortcutView+Bindings.h @@ -1,19 +1,19 @@  #import "MASShortcutView.h"  /** -    @brief A simplified interface to bind the recorder value to user defaults. +    A simplified interface to bind the recorder value to user defaults. -    You can bind the @p shortcutValue to user defaults using the standard -    @p bind:toObject:withKeyPath:options: call, but since that’s a lot to type +    You can bind the `shortcutValue` to user defaults using the standard +    `bind:toObject:withKeyPath:options:` call, but since that’s a lot to type      and read, here’s a simpler option. -    Setting the @p associatedUserDefaultsKey binds the view’s shortcut value +    Setting the `associatedUserDefaultsKey` binds the view’s shortcut value      to the given user defaults key. You can supply a value transformer to convert -    values between user defaults and @p MASShortcut. If you don’t supply -    a transformer, the @p NSUnarchiveFromDataTransformerName will be used +    values between user defaults and `MASShortcut`. If you don’t supply +    a transformer, the `NSUnarchiveFromDataTransformerName` will be used      automatically. -    Set @p associatedUserDefaultsKey to @p nil to disconnect the binding. +    Set `associatedUserDefaultsKey` to `nil` to disconnect the binding.  */  @interface MASShortcutView (Bindings) diff --git a/Framework/MASShortcutView.m b/Framework/MASShortcutView.m index 74e14de..d521880 100644 --- a/Framework/MASShortcutView.m +++ b/Framework/MASShortcutView.m @@ -188,7 +188,7 @@ NSString *const MASShortcutBinding = @"shortcutValue";  - (void)drawRect:(CGRect)dirtyRect  {      if (self.shortcutValue) { -        [self drawInRect:self.bounds withTitle:NSStringFromMASKeyCode(self.recording ? kMASShortcutGlyphEscape : kMASShortcutGlyphDeleteLeft) +        [self drawInRect:self.bounds withTitle:NSStringFromMASKeyCode(self.recording ? kMASShortcutGlyphEscape : kMASShortcutGlyphClear)                 alignment:NSRightTextAlignment state:NSOffState];          CGRect shortcutRect; | 
