nano-store 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. data/CHANGELOG.md +5 -0
  2. data/README.md +3 -1
  3. data/Rakefile +1 -1
  4. data/lib/nano_store.rb +1 -1
  5. data/lib/nano_store/model.rb +11 -7
  6. data/lib/nano_store/version.rb +1 -1
  7. data/spec/model_spec.rb +2 -5
  8. data/vendor/Podfile.lock +4 -4
  9. data/vendor/Pods/BuildHeaders/NanoStore/NSFNanoGlobals.h +3 -1
  10. data/vendor/Pods/BuildHeaders/NanoStore/NSFNanoPredicate.h +5 -5
  11. data/vendor/Pods/BuildHeaders/NanoStore/NSFNanoSearch.h +4 -2
  12. data/vendor/Pods/Documentation/NanoStore/docset-installed.txt +4 -0
  13. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Info.plist +33 -0
  14. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoBag.html +2266 -0
  15. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoEngine.html +4708 -0
  16. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoExpression.html +818 -0
  17. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoObject.html +1781 -0
  18. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoPredicate.html +800 -0
  19. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoResult.html +1054 -0
  20. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoSearch.html +2544 -0
  21. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoSortDescriptor.html +713 -0
  22. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoStore.html +3723 -0
  23. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFOrderedDictionary.html +312 -0
  24. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Protocols/NSFNanoObjectProtocol.html +651 -0
  25. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/css/styles.css +584 -0
  26. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/css/stylesPrint.css +22 -0
  27. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/hierarchy.html +106 -0
  28. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/img/button_bar_background.png +0 -0
  29. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/img/disclosure.png +0 -0
  30. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/img/disclosure_open.png +0 -0
  31. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/img/library_background.png +0 -0
  32. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/img/title_background.png +0 -0
  33. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/index.html +654 -0
  34. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Nodes.xml +92 -0
  35. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens1.xml +596 -0
  36. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens10.xml +48 -0
  37. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens11.xml +118 -0
  38. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens2.xml +1209 -0
  39. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens3.xml +158 -0
  40. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens4.xml +455 -0
  41. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens5.xml +166 -0
  42. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens6.xml +246 -0
  43. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens7.xml +821 -0
  44. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens8.xml +125 -0
  45. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens9.xml +1082 -0
  46. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.dsidx +0 -0
  47. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.mom +0 -0
  48. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.skidx +0 -0
  49. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.toc +0 -0
  50. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoBag.html +2266 -0
  51. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoEngine.html +4708 -0
  52. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoExpression.html +818 -0
  53. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoObject.html +1781 -0
  54. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoPredicate.html +800 -0
  55. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoResult.html +1054 -0
  56. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoSearch.html +2544 -0
  57. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoSortDescriptor.html +713 -0
  58. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoStore.html +3723 -0
  59. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFOrderedDictionary.html +312 -0
  60. data/vendor/Pods/Documentation/NanoStore/html/Protocols/NSFNanoObjectProtocol.html +651 -0
  61. data/vendor/Pods/Documentation/NanoStore/html/css/styles.css +584 -0
  62. data/vendor/Pods/Documentation/NanoStore/html/css/stylesPrint.css +22 -0
  63. data/vendor/Pods/Documentation/NanoStore/html/hierarchy.html +106 -0
  64. data/vendor/Pods/Documentation/NanoStore/html/img/button_bar_background.png +0 -0
  65. data/vendor/Pods/Documentation/NanoStore/html/img/disclosure.png +0 -0
  66. data/vendor/Pods/Documentation/NanoStore/html/img/disclosure_open.png +0 -0
  67. data/vendor/Pods/Documentation/NanoStore/html/img/library_background.png +0 -0
  68. data/vendor/Pods/Documentation/NanoStore/html/img/title_background.png +0 -0
  69. data/vendor/Pods/Documentation/NanoStore/html/index.html +654 -0
  70. data/vendor/Pods/Headers/NanoStore/NSFNanoGlobals.h +3 -1
  71. data/vendor/Pods/Headers/NanoStore/NSFNanoPredicate.h +5 -5
  72. data/vendor/Pods/Headers/NanoStore/NSFNanoSearch.h +4 -2
  73. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoGlobals.h +3 -1
  74. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoGlobals.m +1 -0
  75. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoPredicate.h +5 -5
  76. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoPredicate.m +15 -14
  77. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoSearch.h +4 -2
  78. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoSearch.m +95 -20
  79. data/vendor/Pods/Pods.bridgesupport +708 -700
  80. data/vendor/Pods/Pods.xcconfig +3 -3
  81. metadata +62 -4
@@ -0,0 +1,158 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Tokens version="1.0">
3
+ <File path="Classes/NSFNanoExpression.html">
4
+
5
+ <Token>
6
+ <TokenIdentifier>//apple_ref/occ/cl/NSFNanoExpression</TokenIdentifier>
7
+ <Abstract type="html">@class NSFNanoExpression
8
+ * A unit that describes a series of predicates and its operators.
9
+ * @details &lt;b&gt;Example:&lt;/b&gt;
10
+ @code
11
+ // Instantiate a NanoStore and open it
12
+ NSFNanoStore *nanoStore = [NSFNanoStore createAndOpenStoreWithType:NSFMemoryStoreType path:nil error:nil];</Abstract>
13
+ <DeclaredIn>NSFNanoExpression.h</DeclaredIn>
14
+
15
+ <NodeRef refid="3"/>
16
+ </Token>
17
+
18
+
19
+ <Token>
20
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoExpression/setPredicates:</TokenIdentifier>
21
+ <Abstract type="html">* Array of NSFNanoPredicate</Abstract>
22
+ <DeclaredIn>NSFNanoExpression.h</DeclaredIn>
23
+
24
+ <Declaration>@property (nonatomic, readonly) NSArray *predicates</Declaration>
25
+
26
+
27
+ <Anchor>//api/name/predicates</Anchor>
28
+ </Token>
29
+
30
+ <Token>
31
+ <TokenIdentifier>//apple_ref/occ/instp/NSFNanoExpression/predicates</TokenIdentifier>
32
+ <Abstract type="html">* Array of NSFNanoPredicate</Abstract>
33
+ <DeclaredIn>NSFNanoExpression.h</DeclaredIn>
34
+
35
+ <Declaration>@property (nonatomic, readonly) NSArray *predicates</Declaration>
36
+
37
+
38
+ <Anchor>//api/name/predicates</Anchor>
39
+ </Token>
40
+
41
+ <Token>
42
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoExpression/setOperators:</TokenIdentifier>
43
+ <Abstract type="html">* Array of NSNumber wrapping \link NSFGlobals::NSFOperator NSFOperator \endlink</Abstract>
44
+ <DeclaredIn>NSFNanoExpression.h</DeclaredIn>
45
+
46
+ <Declaration>@property (nonatomic, readonly) NSArray *operators</Declaration>
47
+
48
+
49
+ <Anchor>//api/name/operators</Anchor>
50
+ </Token>
51
+
52
+ <Token>
53
+ <TokenIdentifier>//apple_ref/occ/instp/NSFNanoExpression/operators</TokenIdentifier>
54
+ <Abstract type="html">* Array of NSNumber wrapping \link NSFGlobals::NSFOperator NSFOperator \endlink</Abstract>
55
+ <DeclaredIn>NSFNanoExpression.h</DeclaredIn>
56
+
57
+ <Declaration>@property (nonatomic, readonly) NSArray *operators</Declaration>
58
+
59
+
60
+ <Anchor>//api/name/operators</Anchor>
61
+ </Token>
62
+
63
+ <Token>
64
+ <TokenIdentifier>//apple_ref/occ/clm/NSFNanoExpression/expressionWithPredicate:</TokenIdentifier>
65
+ <Abstract type="html">Creates and returns an expression with a given predicate.</Abstract>
66
+ <DeclaredIn>NSFNanoExpression.h</DeclaredIn>
67
+
68
+ <RelatedTokens>
69
+ <TokenIdentifier>//apple_ref/occ/cl/NSFNanoPredicate</TokenIdentifier>
70
+
71
+ </RelatedTokens>
72
+
73
+ <Declaration>+ (NSFNanoExpression *)expressionWithPredicate:(NSFNanoPredicate *)thePredicate</Declaration>
74
+ <Parameters>
75
+ <Parameter>
76
+ <Name>thePredicate</Name>
77
+ <Abstract type="html">the predicate used to initialize the expression. Must not be nil.</Abstract>
78
+ </Parameter>
79
+ </Parameters>
80
+ <ReturnValue><Abstract type="html">An expression upon success, nil otherwise.</Abstract></ReturnValue>
81
+ <Anchor>//api/name/expressionWithPredicate:</Anchor>
82
+ </Token>
83
+
84
+ <Token>
85
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoExpression/initWithPredicate:</TokenIdentifier>
86
+ <Abstract type="html">Initializes a newly allocated expression with a given expression.</Abstract>
87
+ <DeclaredIn>NSFNanoExpression.h</DeclaredIn>
88
+
89
+ <RelatedTokens>
90
+ <TokenIdentifier>//apple_ref/occ/cl/NSFNanoPredicate</TokenIdentifier>
91
+
92
+ </RelatedTokens>
93
+
94
+ <Declaration>- (id)initWithPredicate:(NSFNanoPredicate *)thePredicate</Declaration>
95
+ <Parameters>
96
+ <Parameter>
97
+ <Name>thePredicate</Name>
98
+ <Abstract type="html">the predicate used to initialize the expression. Must not be nil.</Abstract>
99
+ </Parameter>
100
+ </Parameters>
101
+ <ReturnValue><Abstract type="html">An expression upon success, nil otherwise.</Abstract></ReturnValue>
102
+ <Anchor>//api/name/initWithPredicate:</Anchor>
103
+ </Token>
104
+
105
+ <Token>
106
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoExpression/addPredicate:withOperator:</TokenIdentifier>
107
+ <Abstract type="html">Adds a predicate to the expression.</Abstract>
108
+ <DeclaredIn>NSFNanoExpression.h</DeclaredIn>
109
+
110
+ <Declaration>- (void)addPredicate:(NSFNanoPredicate *)thePredicate withOperator:(NSFOperator)theOperator</Declaration>
111
+ <Parameters>
112
+ <Parameter>
113
+ <Name>thePredicate</Name>
114
+ <Abstract type="html">is added to the expression.</Abstract>
115
+ </Parameter><Parameter>
116
+ <Name>theOperator</Name>
117
+ <Abstract type="html">specifies the operation (AND/OR) to be applied.</Abstract>
118
+ </Parameter>
119
+ </Parameters>
120
+
121
+ <Anchor>//api/name/addPredicate:withOperator:</Anchor>
122
+ </Token>
123
+
124
+ <Token>
125
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoExpression/description</TokenIdentifier>
126
+ <Abstract type="html">Returns a string representation of the expression.</Abstract>
127
+ <DeclaredIn>NSFNanoExpression.h</DeclaredIn>
128
+
129
+ <Declaration>- (NSString *)description</Declaration>
130
+
131
+
132
+ <Anchor>//api/name/description</Anchor>
133
+ </Token>
134
+
135
+ <Token>
136
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoExpression/JSONDescription</TokenIdentifier>
137
+ <Abstract type="html">Returns a JSON representation of the expression.</Abstract>
138
+ <DeclaredIn>NSFNanoExpression.h</DeclaredIn>
139
+
140
+ <Declaration>- (NSString *)JSONDescription</Declaration>
141
+
142
+
143
+ <Anchor>//api/name/JSONDescription</Anchor>
144
+ </Token>
145
+
146
+ <Token>
147
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoExpression/arrayDescription</TokenIdentifier>
148
+ <Abstract type="html"></Abstract>
149
+ <DeclaredIn>NSFNanoExpression_Private.h</DeclaredIn>
150
+
151
+ <Declaration>- (NSArray *)arrayDescription</Declaration>
152
+
153
+
154
+ <Anchor>//api/name/arrayDescription</Anchor>
155
+ </Token>
156
+
157
+ </File>
158
+ </Tokens>
@@ -0,0 +1,455 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Tokens version="1.0">
3
+ <File path="Classes/NSFNanoObject.html">
4
+
5
+ <Token>
6
+ <TokenIdentifier>//apple_ref/occ/cl/NSFNanoObject</TokenIdentifier>
7
+ <Abstract type="html">@class NSFNanoObject
8
+ The basic unit of data in NanoStore is called NanoObject. A NanoObject is any object which conforms to the NSFNanoObjectProtocol protocol.</Abstract>
9
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
10
+
11
+ <RelatedTokens>
12
+ <TokenIdentifier>//apple_ref/occ/clm/NSFNanoObject/nanoObject</TokenIdentifier>
13
+
14
+ </RelatedTokens>
15
+
16
+ <NodeRef refid="4"/>
17
+ </Token>
18
+
19
+
20
+ <Token>
21
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/setStore:</TokenIdentifier>
22
+ <Abstract type="html">* The store where the object is saved.</Abstract>
23
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
24
+
25
+ <Declaration>@property (nonatomic, weak, readonly) NSFNanoStore *store</Declaration>
26
+
27
+
28
+ <Anchor>//api/name/store</Anchor>
29
+ </Token>
30
+
31
+ <Token>
32
+ <TokenIdentifier>//apple_ref/occ/instp/NSFNanoObject/store</TokenIdentifier>
33
+ <Abstract type="html">* The store where the object is saved.</Abstract>
34
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
35
+
36
+ <Declaration>@property (nonatomic, weak, readonly) NSFNanoStore *store</Declaration>
37
+
38
+
39
+ <Anchor>//api/name/store</Anchor>
40
+ </Token>
41
+
42
+ <Token>
43
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/setKey:</TokenIdentifier>
44
+ <Abstract type="html">* The UUID of the NanoObject.</Abstract>
45
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
46
+
47
+ <Declaration>@property (nonatomic, copy, readonly) NSString *key</Declaration>
48
+
49
+
50
+ <Anchor>//api/name/key</Anchor>
51
+ </Token>
52
+
53
+ <Token>
54
+ <TokenIdentifier>//apple_ref/occ/instp/NSFNanoObject/key</TokenIdentifier>
55
+ <Abstract type="html">* The UUID of the NanoObject.</Abstract>
56
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
57
+
58
+ <Declaration>@property (nonatomic, copy, readonly) NSString *key</Declaration>
59
+
60
+
61
+ <Anchor>//api/name/key</Anchor>
62
+ </Token>
63
+
64
+ <Token>
65
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/setInfo:</TokenIdentifier>
66
+ <Abstract type="html">* The user-supplied information of the NanoObject.</Abstract>
67
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
68
+
69
+ <Declaration>@property (nonatomic, copy, readonly) NSDictionary *info</Declaration>
70
+
71
+
72
+ <Anchor>//api/name/info</Anchor>
73
+ </Token>
74
+
75
+ <Token>
76
+ <TokenIdentifier>//apple_ref/occ/instp/NSFNanoObject/info</TokenIdentifier>
77
+ <Abstract type="html">* The user-supplied information of the NanoObject.</Abstract>
78
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
79
+
80
+ <Declaration>@property (nonatomic, copy, readonly) NSDictionary *info</Declaration>
81
+
82
+
83
+ <Anchor>//api/name/info</Anchor>
84
+ </Token>
85
+
86
+ <Token>
87
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/setOriginalClassString:</TokenIdentifier>
88
+ <Abstract type="html">* The class name used to store the NanoObject.</Abstract>
89
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
90
+
91
+ <Declaration>@property (nonatomic, copy, readonly) NSString *originalClassString</Declaration>
92
+
93
+
94
+ <Anchor>//api/name/originalClassString</Anchor>
95
+ </Token>
96
+
97
+ <Token>
98
+ <TokenIdentifier>//apple_ref/occ/instp/NSFNanoObject/originalClassString</TokenIdentifier>
99
+ <Abstract type="html">* The class name used to store the NanoObject.</Abstract>
100
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
101
+
102
+ <Declaration>@property (nonatomic, copy, readonly) NSString *originalClassString</Declaration>
103
+
104
+
105
+ <Anchor>//api/name/originalClassString</Anchor>
106
+ </Token>
107
+
108
+ <Token>
109
+ <TokenIdentifier>//apple_ref/occ/clm/NSFNanoObject/nanoObject</TokenIdentifier>
110
+ <Abstract type="html">Creates and returns an empty NanoObject.</Abstract>
111
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
112
+
113
+ <Declaration>+ (NSFNanoObject *)nanoObject</Declaration>
114
+
115
+ <ReturnValue><Abstract type="html">An empty NanoObject upon success, nil otherwise.</Abstract></ReturnValue>
116
+ <Anchor>//api/name/nanoObject</Anchor>
117
+ </Token>
118
+
119
+ <Token>
120
+ <TokenIdentifier>//apple_ref/occ/clm/NSFNanoObject/nanoObjectWithDictionary:</TokenIdentifier>
121
+ <Abstract type="html">Creates and returns a NanoObject with the given dictionary.</Abstract>
122
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
123
+
124
+ <RelatedTokens>
125
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/initFromDictionaryRepresentation:</TokenIdentifier>
126
+
127
+ </RelatedTokens>
128
+
129
+ <Declaration>+ (NSFNanoObject *)nanoObjectWithDictionary:(NSDictionary *)theDictionary</Declaration>
130
+ <Parameters>
131
+ <Parameter>
132
+ <Name>theDictionary</Name>
133
+ <Abstract type="html">the information associated with the object. Must not be nil.</Abstract>
134
+ </Parameter>
135
+ </Parameters>
136
+ <ReturnValue><Abstract type="html">An initialized object upon success, nil otherwise.
137
+ @attention The dictionary must be serializable. For more information, please read the Property List Programming Guide.</Abstract></ReturnValue>
138
+ <Anchor>//api/name/nanoObjectWithDictionary:</Anchor>
139
+ </Token>
140
+
141
+ <Token>
142
+ <TokenIdentifier>//apple_ref/occ/clm/NSFNanoObject/nanoObjectWithDictionary:key:</TokenIdentifier>
143
+ <Abstract type="html">Creates and returns a NanoObject with the given dictionary and key.</Abstract>
144
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
145
+
146
+ <RelatedTokens>
147
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/initFromDictionaryRepresentation:</TokenIdentifier>
148
+
149
+ </RelatedTokens>
150
+
151
+ <Declaration>+ (NSFNanoObject *)nanoObjectWithDictionary:(NSDictionary *)theDictionary key:(NSString *)theKey</Declaration>
152
+ <Parameters>
153
+ <Parameter>
154
+ <Name>theDictionary</Name>
155
+ <Abstract type="html">the information associated with the object. Must not be nil.</Abstract>
156
+ </Parameter><Parameter>
157
+ <Name>theKey</Name>
158
+ <Abstract type="html">the object key associated with the object. If nil, a new key will be assigned.</Abstract>
159
+ </Parameter>
160
+ </Parameters>
161
+ <ReturnValue><Abstract type="html">An initialized object upon success, nil otherwise.
162
+ @attention The dictionary must be serializable. For more information, please read the Property List Programming Guide.</Abstract></ReturnValue>
163
+ <Anchor>//api/name/nanoObjectWithDictionary:key:</Anchor>
164
+ </Token>
165
+
166
+ <Token>
167
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/initFromDictionaryRepresentation:</TokenIdentifier>
168
+ <Abstract type="html">Initializes a newly allocated NanoObject with the given dictionary.</Abstract>
169
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
170
+
171
+ <RelatedTokens>
172
+ <TokenIdentifier>//apple_ref/occ/clm/NSFNanoObject/nanoObjectWithDictionary:</TokenIdentifier>
173
+
174
+ </RelatedTokens>
175
+
176
+ <Declaration>- (id)initFromDictionaryRepresentation:(NSDictionary *)theDictionary</Declaration>
177
+ <Parameters>
178
+ <Parameter>
179
+ <Name>theDictionary</Name>
180
+ <Abstract type="html">the information associated with the object. Must not be nil.</Abstract>
181
+ </Parameter>
182
+ </Parameters>
183
+ <ReturnValue><Abstract type="html">An initialized object upon success, nil otherwise.
184
+ @attention The dictionary must be serializable. For more information, please read the Property List Programming Guide.</Abstract></ReturnValue>
185
+ <Anchor>//api/name/initFromDictionaryRepresentation:</Anchor>
186
+ </Token>
187
+
188
+ <Token>
189
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/initFromDictionaryRepresentation:key:</TokenIdentifier>
190
+ <Abstract type="html">Initializes a newly allocated NanoObject with the given dictionary and key.</Abstract>
191
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
192
+
193
+ <Declaration>- (id)initFromDictionaryRepresentation:(NSDictionary *)theDictionary key:(NSString *)theKey</Declaration>
194
+ <Parameters>
195
+ <Parameter>
196
+ <Name>theDictionary</Name>
197
+ <Abstract type="html">the information associated with the object. Must not be nil.</Abstract>
198
+ </Parameter><Parameter>
199
+ <Name>theKey</Name>
200
+ <Abstract type="html">the object key associated with the object. If nil, a new key will be assigned.</Abstract>
201
+ </Parameter>
202
+ </Parameters>
203
+ <ReturnValue><Abstract type="html">An initialized object upon success, nil otherwise.
204
+ @attention The dictionary must be serializable. For more information, please read the Property List Programming Guide.</Abstract></ReturnValue>
205
+ <Anchor>//api/name/initFromDictionaryRepresentation:key:</Anchor>
206
+ </Token>
207
+
208
+ <Token>
209
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/addEntriesFromDictionary:</TokenIdentifier>
210
+ <Abstract type="html">Adds the entries from a dictionary to the NanoObject.</Abstract>
211
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
212
+
213
+ <Declaration>- (void)addEntriesFromDictionary:(NSDictionary *)otherDictionary</Declaration>
214
+ <Parameters>
215
+ <Parameter>
216
+ <Name>otherDictionary</Name>
217
+ <Abstract type="html">The dictionary from which to add entries.</Abstract>
218
+ </Parameter>
219
+ </Parameters>
220
+
221
+ <Anchor>//api/name/addEntriesFromDictionary:</Anchor>
222
+ </Token>
223
+
224
+ <Token>
225
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/setObject:forKey:</TokenIdentifier>
226
+ <Abstract type="html">Adds a given key-value pair to the NanoObject.</Abstract>
227
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
228
+
229
+ <RelatedTokens>
230
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/removeObjectForKey:</TokenIdentifier>
231
+
232
+ </RelatedTokens>
233
+
234
+ <Declaration>- (void)setObject:(id)anObject forKey:(NSString *)aKey</Declaration>
235
+ <Parameters>
236
+ <Parameter>
237
+ <Name>anObject</Name>
238
+ <Abstract type="html">the value for key. Must not be nil.</Abstract>
239
+ </Parameter><Parameter>
240
+ <Name>aKey</Name>
241
+ <Abstract type="html">the key for value. Must not be nil.</Abstract>
242
+ </Parameter>
243
+ </Parameters>
244
+
245
+ <Anchor>//api/name/setObject:forKey:</Anchor>
246
+ </Token>
247
+
248
+ <Token>
249
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/objectForKey:</TokenIdentifier>
250
+ <Abstract type="html">Returns the value associated with a given key.</Abstract>
251
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
252
+
253
+ <RelatedTokens>
254
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/setObject:forKey:</TokenIdentifier>
255
+
256
+ </RelatedTokens>
257
+
258
+ <Declaration>- (id)objectForKey:(NSString *)aKey</Declaration>
259
+ <Parameters>
260
+ <Parameter>
261
+ <Name>aKey</Name>
262
+ <Abstract type="html">the key for value. Must not be nil.</Abstract>
263
+ </Parameter>
264
+ </Parameters>
265
+
266
+ <Anchor>//api/name/objectForKey:</Anchor>
267
+ </Token>
268
+
269
+ <Token>
270
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/removeObjectForKey:</TokenIdentifier>
271
+ <Abstract type="html">Removes a given key and its associated value from the NanoObject.</Abstract>
272
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
273
+
274
+ <RelatedTokens>
275
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/setObject:forKey:</TokenIdentifier>
276
+
277
+ </RelatedTokens>
278
+
279
+ <Declaration>- (void)removeObjectForKey:(NSString *)aKey</Declaration>
280
+ <Parameters>
281
+ <Parameter>
282
+ <Name>aKey</Name>
283
+ <Abstract type="html">the key to remove. Must not be nil.</Abstract>
284
+ </Parameter>
285
+ </Parameters>
286
+
287
+ <Anchor>//api/name/removeObjectForKey:</Anchor>
288
+ </Token>
289
+
290
+ <Token>
291
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/removeAllObjects</TokenIdentifier>
292
+ <Abstract type="html">Empties the NanoObject of its entries.</Abstract>
293
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
294
+
295
+ <RelatedTokens>
296
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/removeObjectForKey:</TokenIdentifier>
297
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/removeObjectsForKeys:</TokenIdentifier>
298
+
299
+ </RelatedTokens>
300
+
301
+ <Declaration>- (void)removeAllObjects</Declaration>
302
+
303
+
304
+ <Anchor>//api/name/removeAllObjects</Anchor>
305
+ </Token>
306
+
307
+ <Token>
308
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/removeObjectsForKeys:</TokenIdentifier>
309
+ <Abstract type="html">Removes from the NanoObject entries specified by elements in a given array.</Abstract>
310
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
311
+
312
+ <RelatedTokens>
313
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/removeAllObjects</TokenIdentifier>
314
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/removeObjectForKey:</TokenIdentifier>
315
+
316
+ </RelatedTokens>
317
+
318
+ <Declaration>- (void)removeObjectsForKeys:(NSArray *)keyArray</Declaration>
319
+ <Parameters>
320
+ <Parameter>
321
+ <Name>keyArray</Name>
322
+ <Abstract type="html">An array of objects specifying the keys to remove.</Abstract>
323
+ </Parameter>
324
+ </Parameters>
325
+
326
+ <Anchor>//api/name/removeObjectsForKeys:</Anchor>
327
+ </Token>
328
+
329
+ <Token>
330
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/isEqualToNanoObject:</TokenIdentifier>
331
+ <Abstract type="html">Compares the receiving NanoObject to another NanoObject.</Abstract>
332
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
333
+
334
+ <Declaration>- (BOOL)isEqualToNanoObject:(NSFNanoObject *)otherNanoObject</Declaration>
335
+ <Parameters>
336
+ <Parameter>
337
+ <Name>otherNanoObject</Name>
338
+ <Abstract type="html">is a NanoObject.</Abstract>
339
+ </Parameter>
340
+ </Parameters>
341
+ <ReturnValue><Abstract type="html">YES if the contents of otherNanoObject are equal to the contents of the receiving NanoObject, otherwise NO.</Abstract></ReturnValue>
342
+ <Anchor>//api/name/isEqualToNanoObject:</Anchor>
343
+ </Token>
344
+
345
+ <Token>
346
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/saveStoreAndReturnError:</TokenIdentifier>
347
+ <Abstract type="html">Saves the uncommitted changes to the document store.</Abstract>
348
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
349
+
350
+ <Declaration>- (BOOL)saveStoreAndReturnError:(out NSError **)outError</Declaration>
351
+ <Parameters>
352
+ <Parameter>
353
+ <Name>outError</Name>
354
+ <Abstract type="html">is used if an error occurs. May be NULL.</Abstract>
355
+ </Parameter>
356
+ </Parameters>
357
+ <ReturnValue><Abstract type="html">YES upon success, NO otherwise.</Abstract></ReturnValue>
358
+ <Anchor>//api/name/saveStoreAndReturnError:</Anchor>
359
+ </Token>
360
+
361
+ <Token>
362
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/dictionaryRepresentation</TokenIdentifier>
363
+ <Abstract type="html">Returns a dictionary that contains the information stored in the object.</Abstract>
364
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
365
+
366
+ <RelatedTokens>
367
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/description</TokenIdentifier>
368
+
369
+ </RelatedTokens>
370
+
371
+ <Declaration>- (NSDictionary *)dictionaryRepresentation</Declaration>
372
+
373
+
374
+ <Anchor>//api/name/dictionaryRepresentation</Anchor>
375
+ </Token>
376
+
377
+ <Token>
378
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/description</TokenIdentifier>
379
+ <Abstract type="html">Returns a string representation of the nano object.</Abstract>
380
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
381
+
382
+ <Declaration>- (NSString *)description</Declaration>
383
+
384
+
385
+ <Anchor>//api/name/description</Anchor>
386
+ </Token>
387
+
388
+ <Token>
389
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/JSONDescription</TokenIdentifier>
390
+ <Abstract type="html">Returns a JSON representation of the nano object.</Abstract>
391
+ <DeclaredIn>NSFNanoObject.h</DeclaredIn>
392
+
393
+ <Declaration>- (NSString *)JSONDescription</Declaration>
394
+
395
+
396
+ <Anchor>//api/name/JSONDescription</Anchor>
397
+ </Token>
398
+
399
+ <Token>
400
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoObject/_setOriginalClassString:</TokenIdentifier>
401
+ <Abstract type="html"></Abstract>
402
+ <DeclaredIn>NSFNanoObject_Private.h</DeclaredIn>
403
+
404
+ <Declaration>- (void)_setOriginalClassString:(NSString *)theClassString</Declaration>
405
+
406
+
407
+ <Anchor>//api/name/_setOriginalClassString:</Anchor>
408
+ </Token>
409
+
410
+ <Token>
411
+ <TokenIdentifier>//apple_ref/occ/clm/NSFNanoObject/_NSObjectToJSONString:error:</TokenIdentifier>
412
+ <Abstract type="html"></Abstract>
413
+ <DeclaredIn>NSFNanoObject_Private.h</DeclaredIn>
414
+
415
+ <Declaration>+ (NSString *)_NSObjectToJSONString:(id)object error:(NSError **)error</Declaration>
416
+
417
+
418
+ <Anchor>//api/name/_NSObjectToJSONString:error:</Anchor>
419
+ </Token>
420
+
421
+ <Token>
422
+ <TokenIdentifier>//apple_ref/occ/clm/NSFNanoObject/_safeDictionaryFromDictionary:</TokenIdentifier>
423
+ <Abstract type="html"></Abstract>
424
+ <DeclaredIn>NSFNanoObject_Private.h</DeclaredIn>
425
+
426
+ <Declaration>+ (NSDictionary *)_safeDictionaryFromDictionary:(NSDictionary *)dictionary</Declaration>
427
+
428
+
429
+ <Anchor>//api/name/_safeDictionaryFromDictionary:</Anchor>
430
+ </Token>
431
+
432
+ <Token>
433
+ <TokenIdentifier>//apple_ref/occ/clm/NSFNanoObject/_safeArrayFromArray:</TokenIdentifier>
434
+ <Abstract type="html"></Abstract>
435
+ <DeclaredIn>NSFNanoObject_Private.h</DeclaredIn>
436
+
437
+ <Declaration>+ (NSArray *)_safeArrayFromArray:(NSArray *)array</Declaration>
438
+
439
+
440
+ <Anchor>//api/name/_safeArrayFromArray:</Anchor>
441
+ </Token>
442
+
443
+ <Token>
444
+ <TokenIdentifier>//apple_ref/occ/clm/NSFNanoObject/_safeObjectFromObject:</TokenIdentifier>
445
+ <Abstract type="html"></Abstract>
446
+ <DeclaredIn>NSFNanoObject_Private.h</DeclaredIn>
447
+
448
+ <Declaration>+ (id)_safeObjectFromObject:(id)object</Declaration>
449
+
450
+
451
+ <Anchor>//api/name/_safeObjectFromObject:</Anchor>
452
+ </Token>
453
+
454
+ </File>
455
+ </Tokens>