diff options
| author | Tomáš Znamenáček | 2015-01-13 13:26:24 +0100 |
|---|---|---|
| committer | Tomáš Znamenáček | 2015-01-13 13:26:24 +0100 |
| commit | 86eff031bf624746932073fa0df0faa9c5b96509 (patch) | |
| tree | f73e60acc7c6c68e2901fcffe4e5cc77124af948 /Framework/MASDictionaryTransformer.h | |
| parent | b9b1964b3f5e8a7cf6ef76fbf2d019cdad9a9063 (diff) | |
| parent | 62c142a7f5718fa1c7523d1bd6f6f22430c0329b (diff) | |
| download | MASShortcut-86eff031bf624746932073fa0df0faa9c5b96509.tar.bz2 | |
Merge branch 'master' into legacy-osx-support.
Conflicts:
CHANGES
Diffstat (limited to 'Framework/MASDictionaryTransformer.h')
| -rw-r--r-- | Framework/MASDictionaryTransformer.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Framework/MASDictionaryTransformer.h b/Framework/MASDictionaryTransformer.h index eced1bb..8f8e084 100644 --- a/Framework/MASDictionaryTransformer.h +++ b/Framework/MASDictionaryTransformer.h @@ -1,17 +1,17 @@ extern NSString *const MASDictionaryTransformerName; /** - @brief 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 @p NSData or some other supported type like an - @p NSDictionary. In Cocoa Bindings, the conversion can be done + 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 (@p NSKeyedUnarchiveFromDataTransformerName) - that converts any @p NSCoding types to @p NSData, but with shortcuts + 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 @p defaults command-line utility and the + when inspected with the `defaults` command-line utility and the format is compatible with an older sortcut library called Shortcut Recorder. */ |
