aboutsummaryrefslogtreecommitdiffstats
path: root/Framework/MASDictionaryTransformer.h
diff options
context:
space:
mode:
authorJason Perkins2015-02-16 10:09:48 -0500
committerJason Perkins2015-02-16 10:09:48 -0500
commit86d5b1ae49105c1b0a789cbdac17dd7ce0da0479 (patch)
tree58f9e363bd64e9a667e35b990655093481bbf64e /Framework/MASDictionaryTransformer.h
parentb564f5296a489d83d0007b8b21185c5b3326dbc8 (diff)
parent3ea350cec127d7118ef64f0e84a9ad84fa249a11 (diff)
downloadMASShortcut-86d5b1ae49105c1b0a789cbdac17dd7ce0da0479.tar.bz2
Merge branch 'master' into issue-47-accessibility
Diffstat (limited to 'Framework/MASDictionaryTransformer.h')
-rw-r--r--Framework/MASDictionaryTransformer.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/Framework/MASDictionaryTransformer.h b/Framework/MASDictionaryTransformer.h
index 8f8e084..6e53fd8 100644
--- a/Framework/MASDictionaryTransformer.h
+++ b/Framework/MASDictionaryTransformer.h
@@ -1,19 +1,19 @@
extern NSString *const MASDictionaryTransformerName;
/**
- Converts shortcuts for storage in user defaults.
+ Converts shortcuts for storage in user defaults.
- User defaults can’t stored custom types directly, they have to
- be serialized to `NSData` or some other supported type like an
- `NSDictionary`. In Cocoa Bindings, the conversion can be done
- using value transformers like this one.
+ User defaults can’t stored custom types directly, they have to
+ be serialized to `NSData` or some other supported type like an
+ `NSDictionary`. In Cocoa Bindings, the conversion can be done
+ using value transformers like this one.
- There’s a built-in transformer (`NSKeyedUnarchiveFromDataTransformerName`)
- that converts any `NSCoding` types to `NSData`, but with shortcuts
- it makes sense to use a dictionary instead – the defaults look better
- when inspected with the `defaults` command-line utility and the
- format is compatible with an older sortcut library called Shortcut
- Recorder.
+ There’s a built-in transformer (`NSKeyedUnarchiveFromDataTransformerName`)
+ that converts any `NSCoding` types to `NSData`, but with shortcuts
+ it makes sense to use a dictionary instead – the defaults look better
+ when inspected with the `defaults` command-line utility and the
+ format is compatible with an older sortcut library called Shortcut
+ Recorder.
*/
@interface MASDictionaryTransformer : NSValueTransformer
@end