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,1781 @@
1
+ <!DOCTYPE HTML>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
5
+ <title>NSFNanoObject Class Reference</title>
6
+ <meta id="xcode-display" name="xcode-display" content="render"/>
7
+ <meta name="viewport" content="width=550" />
8
+ <link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
9
+ <link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" />
10
+ <meta name="generator" content="appledoc 2.0.5 (build 789)" />
11
+ </head>
12
+ <body>
13
+ <header id="top_header">
14
+ <div id="library" class="hideInXcode">
15
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.7 </a></h1>
16
+ <a id="developerHome" href="../index.html">Tito Ciuro</a>
17
+ </div>
18
+
19
+ <div id="title" role="banner">
20
+ <h1 class="hideInXcode">NSFNanoObject Class Reference</h1>
21
+ </div>
22
+ <ul id="headerButtons" role="toolbar">
23
+ <li id="toc_button">
24
+ <button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button>
25
+ </li>
26
+ <li id="jumpto_button" role="navigation">
27
+ <select id="jumpTo">
28
+ <option value="top">Jump To&#133;</option>
29
+
30
+ <option value="overview">Overview</option>
31
+
32
+
33
+
34
+
35
+ <option value="tasks">Tasks</option>
36
+
37
+
38
+
39
+
40
+
41
+ <option value="properties">Properties</option>
42
+
43
+ <option value="//api/name/info">&nbsp;&nbsp;&nbsp;&nbsp;info</option>
44
+
45
+ <option value="//api/name/key">&nbsp;&nbsp;&nbsp;&nbsp;key</option>
46
+
47
+ <option value="//api/name/originalClassString">&nbsp;&nbsp;&nbsp;&nbsp;originalClassString</option>
48
+
49
+ <option value="//api/name/store">&nbsp;&nbsp;&nbsp;&nbsp;store</option>
50
+
51
+
52
+
53
+
54
+ <option value="class_methods">Class Methods</option>
55
+
56
+ <option value="//api/name/_NSObjectToJSONString:error:">&nbsp;&nbsp;&nbsp;&nbsp;+ _NSObjectToJSONString:error:</option>
57
+
58
+ <option value="//api/name/_safeArrayFromArray:">&nbsp;&nbsp;&nbsp;&nbsp;+ _safeArrayFromArray:</option>
59
+
60
+ <option value="//api/name/_safeDictionaryFromDictionary:">&nbsp;&nbsp;&nbsp;&nbsp;+ _safeDictionaryFromDictionary:</option>
61
+
62
+ <option value="//api/name/_safeObjectFromObject:">&nbsp;&nbsp;&nbsp;&nbsp;+ _safeObjectFromObject:</option>
63
+
64
+ <option value="//api/name/nanoObject">&nbsp;&nbsp;&nbsp;&nbsp;+ nanoObject</option>
65
+
66
+ <option value="//api/name/nanoObjectWithDictionary:">&nbsp;&nbsp;&nbsp;&nbsp;+ nanoObjectWithDictionary:</option>
67
+
68
+ <option value="//api/name/nanoObjectWithDictionary:key:">&nbsp;&nbsp;&nbsp;&nbsp;+ nanoObjectWithDictionary:key:</option>
69
+
70
+
71
+
72
+
73
+ <option value="instance_methods">Instance Methods</option>
74
+
75
+ <option value="//api/name/JSONDescription">&nbsp;&nbsp;&nbsp;&nbsp;- JSONDescription</option>
76
+
77
+ <option value="//api/name/_setOriginalClassString:">&nbsp;&nbsp;&nbsp;&nbsp;- _setOriginalClassString:</option>
78
+
79
+ <option value="//api/name/addEntriesFromDictionary:">&nbsp;&nbsp;&nbsp;&nbsp;- addEntriesFromDictionary:</option>
80
+
81
+ <option value="//api/name/description">&nbsp;&nbsp;&nbsp;&nbsp;- description</option>
82
+
83
+ <option value="//api/name/dictionaryRepresentation">&nbsp;&nbsp;&nbsp;&nbsp;- dictionaryRepresentation</option>
84
+
85
+ <option value="//api/name/initFromDictionaryRepresentation:">&nbsp;&nbsp;&nbsp;&nbsp;- initFromDictionaryRepresentation:</option>
86
+
87
+ <option value="//api/name/initFromDictionaryRepresentation:key:">&nbsp;&nbsp;&nbsp;&nbsp;- initFromDictionaryRepresentation:key:</option>
88
+
89
+ <option value="//api/name/isEqualToNanoObject:">&nbsp;&nbsp;&nbsp;&nbsp;- isEqualToNanoObject:</option>
90
+
91
+ <option value="//api/name/objectForKey:">&nbsp;&nbsp;&nbsp;&nbsp;- objectForKey:</option>
92
+
93
+ <option value="//api/name/removeAllObjects">&nbsp;&nbsp;&nbsp;&nbsp;- removeAllObjects</option>
94
+
95
+ <option value="//api/name/removeObjectForKey:">&nbsp;&nbsp;&nbsp;&nbsp;- removeObjectForKey:</option>
96
+
97
+ <option value="//api/name/removeObjectsForKeys:">&nbsp;&nbsp;&nbsp;&nbsp;- removeObjectsForKeys:</option>
98
+
99
+ <option value="//api/name/saveStoreAndReturnError:">&nbsp;&nbsp;&nbsp;&nbsp;- saveStoreAndReturnError:</option>
100
+
101
+ <option value="//api/name/setObject:forKey:">&nbsp;&nbsp;&nbsp;&nbsp;- setObject:forKey:</option>
102
+
103
+
104
+
105
+ </select>
106
+ </li>
107
+ </ul>
108
+ </header>
109
+ <nav id="tocContainer" class="isShowingTOC">
110
+ <ul id="toc" role="tree">
111
+
112
+ <li role="treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#overview">Overview</a></span></li>
113
+
114
+
115
+
116
+
117
+ <li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul>
118
+
119
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Creating and Initializing a NanoObject">Creating and Initializing a NanoObject</a></span></li>
120
+
121
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Setting and Removing Contents">Setting and Removing Contents</a></span></li>
122
+
123
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Miscellaneous">Miscellaneous</a></span></li>
124
+
125
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Private Methods">Private Methods</a></span></li>
126
+
127
+ </ul></li>
128
+
129
+
130
+
131
+
132
+
133
+ <li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#properties">Properties</a></span><ul>
134
+
135
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/info">info</a></span></li>
136
+
137
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/key">key</a></span></li>
138
+
139
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/originalClassString">originalClassString</a></span></li>
140
+
141
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/store">store</a></span></li>
142
+
143
+ </ul></li>
144
+
145
+
146
+
147
+ <li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#class_methods">Class Methods</a></span><ul>
148
+
149
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/_NSObjectToJSONString:error:">_NSObjectToJSONString:error:</a></span></li>
150
+
151
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/_safeArrayFromArray:">_safeArrayFromArray:</a></span></li>
152
+
153
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/_safeDictionaryFromDictionary:">_safeDictionaryFromDictionary:</a></span></li>
154
+
155
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/_safeObjectFromObject:">_safeObjectFromObject:</a></span></li>
156
+
157
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/nanoObject">nanoObject</a></span></li>
158
+
159
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/nanoObjectWithDictionary:">nanoObjectWithDictionary:</a></span></li>
160
+
161
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/nanoObjectWithDictionary:key:">nanoObjectWithDictionary:key:</a></span></li>
162
+
163
+ </ul></li>
164
+
165
+
166
+
167
+ <li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul>
168
+
169
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/JSONDescription">JSONDescription</a></span></li>
170
+
171
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/_setOriginalClassString:">_setOriginalClassString:</a></span></li>
172
+
173
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/addEntriesFromDictionary:">addEntriesFromDictionary:</a></span></li>
174
+
175
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/description">description</a></span></li>
176
+
177
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/dictionaryRepresentation">dictionaryRepresentation</a></span></li>
178
+
179
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/initFromDictionaryRepresentation:">initFromDictionaryRepresentation:</a></span></li>
180
+
181
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/initFromDictionaryRepresentation:key:">initFromDictionaryRepresentation:key:</a></span></li>
182
+
183
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/isEqualToNanoObject:">isEqualToNanoObject:</a></span></li>
184
+
185
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/objectForKey:">objectForKey:</a></span></li>
186
+
187
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeAllObjects">removeAllObjects</a></span></li>
188
+
189
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeObjectForKey:">removeObjectForKey:</a></span></li>
190
+
191
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeObjectsForKeys:">removeObjectsForKeys:</a></span></li>
192
+
193
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/saveStoreAndReturnError:">saveStoreAndReturnError:</a></span></li>
194
+
195
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setObject:forKey:">setObject:forKey:</a></span></li>
196
+
197
+ </ul></li>
198
+
199
+
200
+ </ul>
201
+ </nav>
202
+ <article>
203
+ <div id="contents" class="isShowingTOC" role="main">
204
+ <a title="NSFNanoObject Class Reference" name="top"></a>
205
+ <div class="main-navigation navigation-top">
206
+ <ul>
207
+ <li><a href="../index.html">Index</a></li>
208
+ <li><a href="../hierarchy.html">Hierarchy</a></li>
209
+ </ul>
210
+ </div>
211
+ <div id="header">
212
+ <div class="section-header">
213
+ <h1 class="title title-header">NSFNanoObject Class Reference</h1>
214
+ </div>
215
+ </div>
216
+ <div id="container">
217
+
218
+ <div class="section section-specification"><table cellspacing="0"><tbody>
219
+ <tr>
220
+ <td class="specification-title">Inherits from</td>
221
+ <td class="specification-value">NSObject</td>
222
+ </tr><tr>
223
+ <td class="specification-title">Conforms to</td>
224
+ <td class="specification-value">NSCopying<br /><a href="../Protocols/NSFNanoObjectProtocol.html">NSFNanoObjectProtocol</a></td>
225
+ </tr><tr>
226
+ <td class="specification-title">Declared in</td>
227
+ <td class="specification-value">NSFNanoObject.h</td>
228
+ </tr>
229
+ </tbody></table></div>
230
+
231
+
232
+
233
+
234
+ <div class="section section-overview">
235
+ <a title="Overview" name="overview"></a>
236
+ <h2 class="subtitle subtitle-overview">Overview</h2>
237
+ <p>@class NSFNanoObject
238
+ The basic unit of data in NanoStore is called NanoObject. A NanoObject is any object which conforms to the <a href="../Protocols/NSFNanoObjectProtocol.html">NSFNanoObjectProtocol</a> protocol.</p>
239
+
240
+ <p>@section notaflatworld_sec It&rsquo;s not a flat World</p>
241
+
242
+ <p>Most database solutions force the developer to think in a two-dimensional space (rows and columns), forcing the developer to plan the schema ahead of
243
+ time. This situation is not ideal because in most cases schema refinements could be required, oftentimes impacting the code as well.</p>
244
+
245
+ <p>NanoStore goes beyond that allowing the developer to <a href="#//api/name/store">store</a> objects in their natural form. These objects must conform to the <a href="../Protocols/NSFNanoObjectProtocol.html">NSFNanoObjectProtocol</a>
246
+ protocol, providing NanoStore with the NSDictionary that will be stored. By using a dictionary data can be inspected very quickly, and it also allows the
247
+ structure to be defined in a hierarchical fashion as well, due to the fact that it includes support for nested collections (of type NSDictionary and NSArray.)
248
+ Each inner-object is indexed automatically, thus allowing to quickly find objects which contain a specific <a href="#//api/name/key">key</a> and/or value.</p>
249
+
250
+ <p>By default, NanoStore allows objects to be stored without any sense of relationship to other objects. This simple format, while powerful, is limited because
251
+ the developer has to keep track of the relationships among objects. Some applications may need to relate objects, some of them perhaps of different nature or class
252
+ type. This is exactly what NanoBag (represented by the <a href="../Classes/NSFNanoBag.html">NSFNanoBag</a> class) does: it allows any object conforming to the <a href="../Protocols/NSFNanoObjectProtocol.html">NSFNanoObjectProtocol</a> protocol to be
253
+ added to the bag. By saving the bag with one single call, the new and/or modified are taken care of seamlessly.</p>
254
+
255
+ <p>The <a href="../Classes/NSFNanoBag.html">NSFNanoBag</a> API is rich, allowing the developer to add, remove, reload and undo its changes, deflate it (thus saving memory) and inflate it whenever it&rsquo;s
256
+ required. In addition, it provides methods to obtain all bags, specific bags matching some keys, and bags containing a specific object</p>
257
+ </div>
258
+
259
+
260
+
261
+
262
+
263
+ <div class="section section-tasks">
264
+ <a title="Tasks" name="tasks"></a>
265
+ <h2 class="subtitle subtitle-tasks">Tasks</h2>
266
+
267
+
268
+
269
+ <h3 class="subsubtitle task-title">Other Methods</h3>
270
+
271
+ <ul class="task-list">
272
+ <li>
273
+ <span class="tooltip">
274
+ <code><a href="#//api/name/store">&nbsp;&nbsp;store</a></code>
275
+ <span class="tooltip"><ul>
276
+ <li>The store where the object is saved.</li>
277
+ </ul>
278
+ </span>
279
+ </span>
280
+ <span class="task-item-suffix">property</span>
281
+
282
+ </li><li>
283
+ <span class="tooltip">
284
+ <code><a href="#//api/name/key">&nbsp;&nbsp;key</a></code>
285
+ <span class="tooltip"><ul>
286
+ <li>The UUID of the NanoObject.</li>
287
+ </ul>
288
+ </span>
289
+ </span>
290
+ <span class="task-item-suffix">property</span>
291
+
292
+ </li><li>
293
+ <span class="tooltip">
294
+ <code><a href="#//api/name/info">&nbsp;&nbsp;info</a></code>
295
+ <span class="tooltip"><ul>
296
+ <li>The user-supplied information of the NanoObject.</li>
297
+ </ul>
298
+ </span>
299
+ </span>
300
+ <span class="task-item-suffix">property</span>
301
+
302
+ </li><li>
303
+ <span class="tooltip">
304
+ <code><a href="#//api/name/originalClassString">&nbsp;&nbsp;originalClassString</a></code>
305
+ <span class="tooltip"><ul>
306
+ <li>The class name used to <a href="#//api/name/store">store</a> the NanoObject.</li>
307
+ </ul>
308
+ </span>
309
+ </span>
310
+ <span class="task-item-suffix">property</span>
311
+
312
+ </li>
313
+ </ul>
314
+
315
+
316
+ <a title="Creating and Initializing a NanoObject" name="task_Creating and Initializing a NanoObject"></a>
317
+ <h3 class="subsubtitle task-title">Creating and Initializing a NanoObject</h3>
318
+
319
+ <ul class="task-list">
320
+ <li>
321
+ <span class="tooltip">
322
+ <code><a href="#//api/name/nanoObject">+&nbsp;nanoObject</a></code>
323
+ <span class="tooltip"><p>Creates and returns an empty NanoObject.</p></span>
324
+ </span>
325
+
326
+
327
+ </li><li>
328
+ <span class="tooltip">
329
+ <code><a href="#//api/name/nanoObjectWithDictionary:">+&nbsp;nanoObjectWithDictionary:</a></code>
330
+ <span class="tooltip"><p>Creates and returns a NanoObject with the given dictionary.</p></span>
331
+ </span>
332
+
333
+
334
+ </li><li>
335
+ <span class="tooltip">
336
+ <code><a href="#//api/name/nanoObjectWithDictionary:key:">+&nbsp;nanoObjectWithDictionary:key:</a></code>
337
+ <span class="tooltip"><p>Creates and returns a NanoObject with the given dictionary and <a href="#//api/name/key">key</a>.</p></span>
338
+ </span>
339
+
340
+
341
+ </li><li>
342
+ <span class="tooltip">
343
+ <code><a href="#//api/name/initFromDictionaryRepresentation:">&ndash;&nbsp;initFromDictionaryRepresentation:</a></code>
344
+ <span class="tooltip"><p>Initializes a newly allocated NanoObject with the given dictionary.</p></span>
345
+ </span>
346
+
347
+
348
+ </li><li>
349
+ <span class="tooltip">
350
+ <code><a href="#//api/name/initFromDictionaryRepresentation:key:">&ndash;&nbsp;initFromDictionaryRepresentation:key:</a></code>
351
+ <span class="tooltip"><p>Initializes a newly allocated NanoObject with the given dictionary and <a href="#//api/name/key">key</a>.</p></span>
352
+ </span>
353
+
354
+
355
+ </li>
356
+ </ul>
357
+
358
+
359
+ <a title="Setting and Removing Contents" name="task_Setting and Removing Contents"></a>
360
+ <h3 class="subsubtitle task-title">Setting and Removing Contents</h3>
361
+
362
+ <ul class="task-list">
363
+ <li>
364
+ <span class="tooltip">
365
+ <code><a href="#//api/name/addEntriesFromDictionary:">&ndash;&nbsp;addEntriesFromDictionary:</a></code>
366
+ <span class="tooltip"><p>Adds the entries from a dictionary to the NanoObject.</p></span>
367
+ </span>
368
+
369
+
370
+ </li><li>
371
+ <span class="tooltip">
372
+ <code><a href="#//api/name/setObject:forKey:">&ndash;&nbsp;setObject:forKey:</a></code>
373
+ <span class="tooltip"><p>Adds a given key-value pair to the NanoObject.</p></span>
374
+ </span>
375
+
376
+
377
+ </li><li>
378
+ <span class="tooltip">
379
+ <code><a href="#//api/name/objectForKey:">&ndash;&nbsp;objectForKey:</a></code>
380
+ <span class="tooltip"><p>Returns the value associated with a given <a href="#//api/name/key">key</a>.</p></span>
381
+ </span>
382
+
383
+
384
+ </li><li>
385
+ <span class="tooltip">
386
+ <code><a href="#//api/name/removeObjectForKey:">&ndash;&nbsp;removeObjectForKey:</a></code>
387
+ <span class="tooltip"><p>Removes a given <a href="#//api/name/key">key</a> and its associated value from the NanoObject.</p></span>
388
+ </span>
389
+
390
+
391
+ </li><li>
392
+ <span class="tooltip">
393
+ <code><a href="#//api/name/removeAllObjects">&ndash;&nbsp;removeAllObjects</a></code>
394
+ <span class="tooltip"><p>Empties the NanoObject of its entries.</p></span>
395
+ </span>
396
+
397
+
398
+ </li><li>
399
+ <span class="tooltip">
400
+ <code><a href="#//api/name/removeObjectsForKeys:">&ndash;&nbsp;removeObjectsForKeys:</a></code>
401
+ <span class="tooltip"><p>Removes from the NanoObject entries specified by elements in a given array.</p></span>
402
+ </span>
403
+
404
+
405
+ </li>
406
+ </ul>
407
+
408
+
409
+ <a title="Miscellaneous" name="task_Miscellaneous"></a>
410
+ <h3 class="subsubtitle task-title">Miscellaneous</h3>
411
+
412
+ <ul class="task-list">
413
+ <li>
414
+ <span class="tooltip">
415
+ <code><a href="#//api/name/isEqualToNanoObject:">&ndash;&nbsp;isEqualToNanoObject:</a></code>
416
+ <span class="tooltip"><p>Compares the receiving NanoObject to another NanoObject.</p></span>
417
+ </span>
418
+
419
+
420
+ </li><li>
421
+ <span class="tooltip">
422
+ <code><a href="#//api/name/saveStoreAndReturnError:">&ndash;&nbsp;saveStoreAndReturnError:</a></code>
423
+ <span class="tooltip"><p>Saves the uncommitted changes to the document <a href="#//api/name/store">store</a>.</p></span>
424
+ </span>
425
+
426
+
427
+ </li><li>
428
+ <span class="tooltip">
429
+ <code><a href="#//api/name/dictionaryRepresentation">&ndash;&nbsp;dictionaryRepresentation</a></code>
430
+ <span class="tooltip"><p>Returns a dictionary that contains the information stored in the object.</p></span>
431
+ </span>
432
+
433
+
434
+ </li><li>
435
+ <span class="tooltip">
436
+ <code><a href="#//api/name/description">&ndash;&nbsp;description</a></code>
437
+ <span class="tooltip"><p>Returns a string representation of the nano object.</p></span>
438
+ </span>
439
+
440
+
441
+ </li><li>
442
+ <span class="tooltip">
443
+ <code><a href="#//api/name/JSONDescription">&ndash;&nbsp;JSONDescription</a></code>
444
+ <span class="tooltip"><p>Returns a JSON representation of the nano object.</p></span>
445
+ </span>
446
+
447
+
448
+ </li>
449
+ </ul>
450
+
451
+
452
+ <a title="Private Methods" name="task_Private Methods"></a>
453
+ <h3 class="subsubtitle task-title">Private Methods</h3>
454
+
455
+ <ul class="task-list">
456
+ <li>
457
+ <span class="tooltip">
458
+ <code><a href="#//api/name/_setOriginalClassString:">&ndash;&nbsp;_setOriginalClassString:</a></code>
459
+
460
+ </span>
461
+
462
+
463
+ </li><li>
464
+ <span class="tooltip">
465
+ <code><a href="#//api/name/_NSObjectToJSONString:error:">+&nbsp;_NSObjectToJSONString:error:</a></code>
466
+
467
+ </span>
468
+
469
+
470
+ </li><li>
471
+ <span class="tooltip">
472
+ <code><a href="#//api/name/_safeDictionaryFromDictionary:">+&nbsp;_safeDictionaryFromDictionary:</a></code>
473
+
474
+ </span>
475
+
476
+
477
+ </li><li>
478
+ <span class="tooltip">
479
+ <code><a href="#//api/name/_safeArrayFromArray:">+&nbsp;_safeArrayFromArray:</a></code>
480
+
481
+ </span>
482
+
483
+
484
+ </li><li>
485
+ <span class="tooltip">
486
+ <code><a href="#//api/name/_safeObjectFromObject:">+&nbsp;_safeObjectFromObject:</a></code>
487
+
488
+ </span>
489
+
490
+
491
+ </li>
492
+ </ul>
493
+
494
+ </div>
495
+
496
+
497
+
498
+
499
+
500
+ <div class="section section-methods">
501
+ <a title="Properties" name="properties"></a>
502
+ <h2 class="subtitle subtitle-methods">Properties</h2>
503
+
504
+ <div class="section-method">
505
+ <a name="//api/name/info" title="info"></a>
506
+ <h3 class="subsubtitle method-title">info</h3>
507
+
508
+
509
+
510
+ <div class="method-subsection brief-description">
511
+ <ul>
512
+ <li>The user-supplied information of the NanoObject.</li>
513
+ </ul>
514
+
515
+ </div>
516
+
517
+
518
+
519
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, copy, readonly) NSDictionary *info</code></div>
520
+
521
+
522
+
523
+
524
+
525
+
526
+
527
+
528
+
529
+ <div class="method-subsection discussion-section">
530
+ <h4 class="method-subtitle">Discussion</h4>
531
+ <ul>
532
+ <li>The user-supplied information of the NanoObject.</li>
533
+ </ul>
534
+
535
+ </div>
536
+
537
+
538
+
539
+
540
+
541
+
542
+
543
+ <div class="method-subsection declared-in-section">
544
+ <h4 class="method-subtitle">Declared In</h4>
545
+ <code class="declared-in-ref">NSFNanoObject.h</code><br />
546
+ </div>
547
+
548
+
549
+ </div>
550
+
551
+ <div class="section-method">
552
+ <a name="//api/name/key" title="key"></a>
553
+ <h3 class="subsubtitle method-title">key</h3>
554
+
555
+
556
+
557
+ <div class="method-subsection brief-description">
558
+ <ul>
559
+ <li>The UUID of the NanoObject.</li>
560
+ </ul>
561
+
562
+ </div>
563
+
564
+
565
+
566
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, copy, readonly) NSString *key</code></div>
567
+
568
+
569
+
570
+
571
+
572
+
573
+
574
+
575
+
576
+ <div class="method-subsection discussion-section">
577
+ <h4 class="method-subtitle">Discussion</h4>
578
+ <ul>
579
+ <li>The UUID of the NanoObject.</li>
580
+ </ul>
581
+
582
+ </div>
583
+
584
+
585
+
586
+
587
+
588
+
589
+
590
+ <div class="method-subsection declared-in-section">
591
+ <h4 class="method-subtitle">Declared In</h4>
592
+ <code class="declared-in-ref">NSFNanoObject.h</code><br />
593
+ </div>
594
+
595
+
596
+ </div>
597
+
598
+ <div class="section-method">
599
+ <a name="//api/name/originalClassString" title="originalClassString"></a>
600
+ <h3 class="subsubtitle method-title">originalClassString</h3>
601
+
602
+
603
+
604
+ <div class="method-subsection brief-description">
605
+ <ul>
606
+ <li>The class name used to <a href="#//api/name/store">store</a> the NanoObject.</li>
607
+ </ul>
608
+
609
+ </div>
610
+
611
+
612
+
613
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, copy, readonly) NSString *originalClassString</code></div>
614
+
615
+
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+ <div class="method-subsection discussion-section">
624
+ <h4 class="method-subtitle">Discussion</h4>
625
+ <ul>
626
+ <li>The class name used to <a href="#//api/name/store">store</a> the NanoObject.</li>
627
+ </ul>
628
+
629
+ </div>
630
+
631
+
632
+
633
+
634
+
635
+
636
+
637
+ <div class="method-subsection declared-in-section">
638
+ <h4 class="method-subtitle">Declared In</h4>
639
+ <code class="declared-in-ref">NSFNanoObject.h</code><br />
640
+ </div>
641
+
642
+
643
+ </div>
644
+
645
+ <div class="section-method">
646
+ <a name="//api/name/store" title="store"></a>
647
+ <h3 class="subsubtitle method-title">store</h3>
648
+
649
+
650
+
651
+ <div class="method-subsection brief-description">
652
+ <ul>
653
+ <li>The store where the object is saved.</li>
654
+ </ul>
655
+
656
+ </div>
657
+
658
+
659
+
660
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, weak, readonly) NSFNanoStore *store</code></div>
661
+
662
+
663
+
664
+
665
+
666
+
667
+
668
+
669
+
670
+ <div class="method-subsection discussion-section">
671
+ <h4 class="method-subtitle">Discussion</h4>
672
+ <ul>
673
+ <li>The store where the object is saved.</li>
674
+ </ul>
675
+
676
+ </div>
677
+
678
+
679
+
680
+
681
+
682
+
683
+
684
+ <div class="method-subsection declared-in-section">
685
+ <h4 class="method-subtitle">Declared In</h4>
686
+ <code class="declared-in-ref">NSFNanoObject.h</code><br />
687
+ </div>
688
+
689
+
690
+ </div>
691
+
692
+ </div>
693
+
694
+
695
+
696
+ <div class="section section-methods">
697
+ <a title="Class Methods" name="class_methods"></a>
698
+ <h2 class="subtitle subtitle-methods">Class Methods</h2>
699
+
700
+ <div class="section-method">
701
+ <a name="//api/name/_NSObjectToJSONString:error:" title="_NSObjectToJSONString:error:"></a>
702
+ <h3 class="subsubtitle method-title">_NSObjectToJSONString:error:</h3>
703
+
704
+
705
+
706
+ <div class="method-subsection method-declaration"><code>+ (NSString *)_NSObjectToJSONString:(id)<em>object</em> error:(NSError **)<em>error</em></code></div>
707
+
708
+
709
+ </div>
710
+
711
+ <div class="section-method">
712
+ <a name="//api/name/_safeArrayFromArray:" title="_safeArrayFromArray:"></a>
713
+ <h3 class="subsubtitle method-title">_safeArrayFromArray:</h3>
714
+
715
+
716
+
717
+ <div class="method-subsection method-declaration"><code>+ (NSArray *)_safeArrayFromArray:(NSArray *)<em>array</em></code></div>
718
+
719
+
720
+ </div>
721
+
722
+ <div class="section-method">
723
+ <a name="//api/name/_safeDictionaryFromDictionary:" title="_safeDictionaryFromDictionary:"></a>
724
+ <h3 class="subsubtitle method-title">_safeDictionaryFromDictionary:</h3>
725
+
726
+
727
+
728
+ <div class="method-subsection method-declaration"><code>+ (NSDictionary *)_safeDictionaryFromDictionary:(NSDictionary *)<em>dictionary</em></code></div>
729
+
730
+
731
+ </div>
732
+
733
+ <div class="section-method">
734
+ <a name="//api/name/_safeObjectFromObject:" title="_safeObjectFromObject:"></a>
735
+ <h3 class="subsubtitle method-title">_safeObjectFromObject:</h3>
736
+
737
+
738
+
739
+ <div class="method-subsection method-declaration"><code>+ (id)_safeObjectFromObject:(id)<em>object</em></code></div>
740
+
741
+
742
+ </div>
743
+
744
+ <div class="section-method">
745
+ <a name="//api/name/nanoObject" title="nanoObject"></a>
746
+ <h3 class="subsubtitle method-title">nanoObject</h3>
747
+
748
+
749
+
750
+ <div class="method-subsection brief-description">
751
+ <p>Creates and returns an empty NanoObject.</p>
752
+ </div>
753
+
754
+
755
+
756
+ <div class="method-subsection method-declaration"><code>+ (NSFNanoObject *)nanoObject</code></div>
757
+
758
+
759
+
760
+
761
+
762
+ <div class="method-subsection return">
763
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
764
+ <p>An empty NanoObject upon success, nil otherwise.</p>
765
+ </div>
766
+
767
+
768
+
769
+
770
+
771
+ <div class="method-subsection discussion-section">
772
+ <h4 class="method-subtitle">Discussion</h4>
773
+ <p>Creates and returns an empty NanoObject.</p>
774
+ </div>
775
+
776
+
777
+
778
+
779
+
780
+
781
+
782
+ <div class="method-subsection declared-in-section">
783
+ <h4 class="method-subtitle">Declared In</h4>
784
+ <code class="declared-in-ref">NSFNanoObject.h</code><br />
785
+ </div>
786
+
787
+
788
+ </div>
789
+
790
+ <div class="section-method">
791
+ <a name="//api/name/nanoObjectWithDictionary:" title="nanoObjectWithDictionary:"></a>
792
+ <h3 class="subsubtitle method-title">nanoObjectWithDictionary:</h3>
793
+
794
+
795
+
796
+ <div class="method-subsection brief-description">
797
+ <p>Creates and returns a NanoObject with the given dictionary.</p>
798
+ </div>
799
+
800
+
801
+
802
+ <div class="method-subsection method-declaration"><code>+ (NSFNanoObject *)nanoObjectWithDictionary:(NSDictionary *)<em>theDictionary</em></code></div>
803
+
804
+
805
+
806
+ <div class="method-subsection arguments-section parameters">
807
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
808
+
809
+ <dl class="argument-def parameter-def">
810
+ <dt><em>theDictionary</em></dt>
811
+ <dd><p>the information associated with the object. Must not be nil.</p></dd>
812
+ </dl>
813
+
814
+ </div>
815
+
816
+
817
+
818
+ <div class="method-subsection return">
819
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
820
+ <p>An initialized object upon success, nil otherwise.
821
+ @attention The dictionary must be serializable. For more information, please read the Property List Programming Guide.</p>
822
+ </div>
823
+
824
+
825
+
826
+
827
+
828
+ <div class="method-subsection discussion-section">
829
+ <h4 class="method-subtitle">Discussion</h4>
830
+ <p>Creates and returns a NanoObject with the given dictionary.</p>
831
+ </div>
832
+
833
+
834
+
835
+
836
+
837
+ <div class="method-subsection see-also-section">
838
+ <h4 class="method-subtitle">See Also</h4>
839
+ <ul>
840
+
841
+ <li><code><p>\link <a href="#//api/name/initFromDictionaryRepresentation:">&ndash; initFromDictionaryRepresentation:</a> &ndash; (id)<a href="#//api/name/initFromDictionaryRepresentation:">&ndash; initFromDictionaryRepresentation:</a>(NSDictionary *)theDictionary \endlink</p></code></li>
842
+
843
+ </ul>
844
+ </div>
845
+
846
+
847
+
848
+ <div class="method-subsection declared-in-section">
849
+ <h4 class="method-subtitle">Declared In</h4>
850
+ <code class="declared-in-ref">NSFNanoObject.h</code><br />
851
+ </div>
852
+
853
+
854
+ </div>
855
+
856
+ <div class="section-method">
857
+ <a name="//api/name/nanoObjectWithDictionary:key:" title="nanoObjectWithDictionary:key:"></a>
858
+ <h3 class="subsubtitle method-title">nanoObjectWithDictionary:key:</h3>
859
+
860
+
861
+
862
+ <div class="method-subsection brief-description">
863
+ <p>Creates and returns a NanoObject with the given dictionary and <a href="#//api/name/key">key</a>.</p>
864
+ </div>
865
+
866
+
867
+
868
+ <div class="method-subsection method-declaration"><code>+ (NSFNanoObject *)nanoObjectWithDictionary:(NSDictionary *)<em>theDictionary</em> key:(NSString *)<em>theKey</em></code></div>
869
+
870
+
871
+
872
+ <div class="method-subsection arguments-section parameters">
873
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
874
+
875
+ <dl class="argument-def parameter-def">
876
+ <dt><em>theDictionary</em></dt>
877
+ <dd><p>the information associated with the object. Must not be nil.</p></dd>
878
+ </dl>
879
+
880
+ <dl class="argument-def parameter-def">
881
+ <dt><em>theKey</em></dt>
882
+ <dd><p>the object <a href="#//api/name/key">key</a> associated with the object. If nil, a new <a href="#//api/name/key">key</a> will be assigned.</p></dd>
883
+ </dl>
884
+
885
+ </div>
886
+
887
+
888
+
889
+ <div class="method-subsection return">
890
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
891
+ <p>An initialized object upon success, nil otherwise.
892
+ @attention The dictionary must be serializable. For more information, please read the Property List Programming Guide.</p>
893
+ </div>
894
+
895
+
896
+
897
+
898
+
899
+ <div class="method-subsection discussion-section">
900
+ <h4 class="method-subtitle">Discussion</h4>
901
+ <p>Creates and returns a NanoObject with the given dictionary and <a href="#//api/name/key">key</a>.</p>
902
+ </div>
903
+
904
+
905
+
906
+
907
+
908
+ <div class="method-subsection see-also-section">
909
+ <h4 class="method-subtitle">See Also</h4>
910
+ <ul>
911
+
912
+ <li><code><p>\link <a href="#//api/name/initFromDictionaryRepresentation:">&ndash; initFromDictionaryRepresentation:</a> &ndash; (id)<a href="#//api/name/initFromDictionaryRepresentation:">&ndash; initFromDictionaryRepresentation:</a>(NSDictionary *)theDictionary \endlink</p></code></li>
913
+
914
+ </ul>
915
+ </div>
916
+
917
+
918
+
919
+ <div class="method-subsection declared-in-section">
920
+ <h4 class="method-subtitle">Declared In</h4>
921
+ <code class="declared-in-ref">NSFNanoObject.h</code><br />
922
+ </div>
923
+
924
+
925
+ </div>
926
+
927
+ </div>
928
+
929
+
930
+
931
+ <div class="section section-methods">
932
+ <a title="Instance Methods" name="instance_methods"></a>
933
+ <h2 class="subtitle subtitle-methods">Instance Methods</h2>
934
+
935
+ <div class="section-method">
936
+ <a name="//api/name/JSONDescription" title="JSONDescription"></a>
937
+ <h3 class="subsubtitle method-title">JSONDescription</h3>
938
+
939
+
940
+
941
+ <div class="method-subsection brief-description">
942
+ <p>Returns a JSON representation of the nano object.</p>
943
+ </div>
944
+
945
+
946
+
947
+ <div class="method-subsection method-declaration"><code>- (NSString *)JSONDescription</code></div>
948
+
949
+
950
+
951
+
952
+
953
+
954
+
955
+
956
+
957
+ <div class="method-subsection discussion-section">
958
+ <h4 class="method-subtitle">Discussion</h4>
959
+ <p>Returns a JSON representation of the nano object.</p>
960
+ </div>
961
+
962
+
963
+
964
+
965
+
966
+
967
+
968
+ <div class="method-subsection declared-in-section">
969
+ <h4 class="method-subtitle">Declared In</h4>
970
+ <code class="declared-in-ref">NSFNanoObject.h</code><br />
971
+ </div>
972
+
973
+
974
+ </div>
975
+
976
+ <div class="section-method">
977
+ <a name="//api/name/_setOriginalClassString:" title="_setOriginalClassString:"></a>
978
+ <h3 class="subsubtitle method-title">_setOriginalClassString:</h3>
979
+
980
+
981
+
982
+ <div class="method-subsection method-declaration"><code>- (void)_setOriginalClassString:(NSString *)<em>theClassString</em></code></div>
983
+
984
+
985
+ </div>
986
+
987
+ <div class="section-method">
988
+ <a name="//api/name/addEntriesFromDictionary:" title="addEntriesFromDictionary:"></a>
989
+ <h3 class="subsubtitle method-title">addEntriesFromDictionary:</h3>
990
+
991
+
992
+
993
+ <div class="method-subsection brief-description">
994
+ <p>Adds the entries from a dictionary to the NanoObject.</p>
995
+ </div>
996
+
997
+
998
+
999
+ <div class="method-subsection method-declaration"><code>- (void)addEntriesFromDictionary:(NSDictionary *)<em>otherDictionary</em></code></div>
1000
+
1001
+
1002
+
1003
+ <div class="method-subsection arguments-section parameters">
1004
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
1005
+
1006
+ <dl class="argument-def parameter-def">
1007
+ <dt><em>otherDictionary</em></dt>
1008
+ <dd><p>The dictionary from which to add entries.</p></dd>
1009
+ </dl>
1010
+
1011
+ </div>
1012
+
1013
+
1014
+
1015
+
1016
+
1017
+
1018
+
1019
+ <div class="method-subsection discussion-section">
1020
+ <h4 class="method-subtitle">Discussion</h4>
1021
+ <p>Adds the entries from a dictionary to the NanoObject.</p>
1022
+ </div>
1023
+
1024
+
1025
+
1026
+
1027
+
1028
+
1029
+
1030
+ <div class="method-subsection declared-in-section">
1031
+ <h4 class="method-subtitle">Declared In</h4>
1032
+ <code class="declared-in-ref">NSFNanoObject.h</code><br />
1033
+ </div>
1034
+
1035
+
1036
+ </div>
1037
+
1038
+ <div class="section-method">
1039
+ <a name="//api/name/description" title="description"></a>
1040
+ <h3 class="subsubtitle method-title">description</h3>
1041
+
1042
+
1043
+
1044
+ <div class="method-subsection brief-description">
1045
+ <p>Returns a string representation of the nano object.</p>
1046
+ </div>
1047
+
1048
+
1049
+
1050
+ <div class="method-subsection method-declaration"><code>- (NSString *)description</code></div>
1051
+
1052
+
1053
+
1054
+
1055
+
1056
+
1057
+
1058
+
1059
+
1060
+ <div class="method-subsection discussion-section">
1061
+ <h4 class="method-subtitle">Discussion</h4>
1062
+ <p>Returns a string representation of the nano object.</p>
1063
+ </div>
1064
+
1065
+
1066
+
1067
+
1068
+
1069
+
1070
+
1071
+ <div class="method-subsection declared-in-section">
1072
+ <h4 class="method-subtitle">Declared In</h4>
1073
+ <code class="declared-in-ref">NSFNanoObject.h</code><br />
1074
+ </div>
1075
+
1076
+
1077
+ </div>
1078
+
1079
+ <div class="section-method">
1080
+ <a name="//api/name/dictionaryRepresentation" title="dictionaryRepresentation"></a>
1081
+ <h3 class="subsubtitle method-title">dictionaryRepresentation</h3>
1082
+
1083
+
1084
+
1085
+ <div class="method-subsection brief-description">
1086
+ <p>Returns a dictionary that contains the information stored in the object.</p>
1087
+ </div>
1088
+
1089
+
1090
+
1091
+ <div class="method-subsection method-declaration"><code>- (NSDictionary *)dictionaryRepresentation</code></div>
1092
+
1093
+
1094
+
1095
+
1096
+
1097
+
1098
+
1099
+
1100
+
1101
+ <div class="method-subsection discussion-section">
1102
+ <h4 class="method-subtitle">Discussion</h4>
1103
+ <p>Returns a dictionary that contains the information stored in the object.</p><div class="note"><p><strong>Note:</strong> Check properties <a href="#//api/name/info">info</a> and <a href="#//api/name/key">key</a> to find out the current state of the object.</p></div>
1104
+ </div>
1105
+
1106
+
1107
+
1108
+
1109
+
1110
+ <div class="method-subsection see-also-section">
1111
+ <h4 class="method-subtitle">See Also</h4>
1112
+ <ul>
1113
+
1114
+ <li><code><p>\link <a href="#//api/name/description">&ndash; description</a> &ndash; (NSString *)<a href="#//api/name/description">&ndash; description</a> \endlink</p></code></li>
1115
+
1116
+ </ul>
1117
+ </div>
1118
+
1119
+
1120
+
1121
+ <div class="method-subsection declared-in-section">
1122
+ <h4 class="method-subtitle">Declared In</h4>
1123
+ <code class="declared-in-ref">NSFNanoObject.h</code><br />
1124
+ </div>
1125
+
1126
+
1127
+ </div>
1128
+
1129
+ <div class="section-method">
1130
+ <a name="//api/name/initFromDictionaryRepresentation:" title="initFromDictionaryRepresentation:"></a>
1131
+ <h3 class="subsubtitle method-title">initFromDictionaryRepresentation:</h3>
1132
+
1133
+
1134
+
1135
+ <div class="method-subsection brief-description">
1136
+ <p>Initializes a newly allocated NanoObject with the given dictionary.</p>
1137
+ </div>
1138
+
1139
+
1140
+
1141
+ <div class="method-subsection method-declaration"><code>- (id)initFromDictionaryRepresentation:(NSDictionary *)<em>theDictionary</em></code></div>
1142
+
1143
+
1144
+
1145
+ <div class="method-subsection arguments-section parameters">
1146
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
1147
+
1148
+ <dl class="argument-def parameter-def">
1149
+ <dt><em>theDictionary</em></dt>
1150
+ <dd><p>the information associated with the object. Must not be nil.</p></dd>
1151
+ </dl>
1152
+
1153
+ </div>
1154
+
1155
+
1156
+
1157
+ <div class="method-subsection return">
1158
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
1159
+ <p>An initialized object upon success, nil otherwise.
1160
+ @attention The dictionary must be serializable. For more information, please read the Property List Programming Guide.</p>
1161
+ </div>
1162
+
1163
+
1164
+
1165
+
1166
+
1167
+ <div class="method-subsection discussion-section">
1168
+ <h4 class="method-subtitle">Discussion</h4>
1169
+ <p>Initializes a newly allocated NanoObject with the given dictionary.</p>
1170
+ </div>
1171
+
1172
+
1173
+
1174
+
1175
+
1176
+ <div class="method-subsection see-also-section">
1177
+ <h4 class="method-subtitle">See Also</h4>
1178
+ <ul>
1179
+
1180
+ <li><code><p>\link <a href="#//api/name/nanoObjectWithDictionary:">+ nanoObjectWithDictionary:</a> + (NSFNanoObject<em>)<a href="#//api/name/nanoObjectWithDictionary:">+ nanoObjectWithDictionary:</a>(NSDictionary </em>)theDictionary \endlink</p></code></li>
1181
+
1182
+ </ul>
1183
+ </div>
1184
+
1185
+
1186
+
1187
+ <div class="method-subsection declared-in-section">
1188
+ <h4 class="method-subtitle">Declared In</h4>
1189
+ <code class="declared-in-ref">NSFNanoObject.h</code><br />
1190
+ </div>
1191
+
1192
+
1193
+ </div>
1194
+
1195
+ <div class="section-method">
1196
+ <a name="//api/name/initFromDictionaryRepresentation:key:" title="initFromDictionaryRepresentation:key:"></a>
1197
+ <h3 class="subsubtitle method-title">initFromDictionaryRepresentation:key:</h3>
1198
+
1199
+
1200
+
1201
+ <div class="method-subsection brief-description">
1202
+ <p>Initializes a newly allocated NanoObject with the given dictionary and <a href="#//api/name/key">key</a>.</p>
1203
+ </div>
1204
+
1205
+
1206
+
1207
+ <div class="method-subsection method-declaration"><code>- (id)initFromDictionaryRepresentation:(NSDictionary *)<em>theDictionary</em> key:(NSString *)<em>theKey</em></code></div>
1208
+
1209
+
1210
+
1211
+ <div class="method-subsection arguments-section parameters">
1212
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
1213
+
1214
+ <dl class="argument-def parameter-def">
1215
+ <dt><em>theDictionary</em></dt>
1216
+ <dd><p>the information associated with the object. Must not be nil.</p></dd>
1217
+ </dl>
1218
+
1219
+ <dl class="argument-def parameter-def">
1220
+ <dt><em>theKey</em></dt>
1221
+ <dd><p>the object <a href="#//api/name/key">key</a> associated with the object. If nil, a new <a href="#//api/name/key">key</a> will be assigned.</p></dd>
1222
+ </dl>
1223
+
1224
+ </div>
1225
+
1226
+
1227
+
1228
+ <div class="method-subsection return">
1229
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
1230
+ <p>An initialized object upon success, nil otherwise.
1231
+ @attention The dictionary must be serializable. For more information, please read the Property List Programming Guide.</p>
1232
+ </div>
1233
+
1234
+
1235
+
1236
+
1237
+
1238
+ <div class="method-subsection discussion-section">
1239
+ <h4 class="method-subtitle">Discussion</h4>
1240
+ <p>Initializes a newly allocated NanoObject with the given dictionary and <a href="#//api/name/key">key</a>.</p>
1241
+ </div>
1242
+
1243
+
1244
+
1245
+
1246
+
1247
+
1248
+
1249
+ <div class="method-subsection declared-in-section">
1250
+ <h4 class="method-subtitle">Declared In</h4>
1251
+ <code class="declared-in-ref">NSFNanoObject.h</code><br />
1252
+ </div>
1253
+
1254
+
1255
+ </div>
1256
+
1257
+ <div class="section-method">
1258
+ <a name="//api/name/isEqualToNanoObject:" title="isEqualToNanoObject:"></a>
1259
+ <h3 class="subsubtitle method-title">isEqualToNanoObject:</h3>
1260
+
1261
+
1262
+
1263
+ <div class="method-subsection brief-description">
1264
+ <p>Compares the receiving NanoObject to another NanoObject.</p>
1265
+ </div>
1266
+
1267
+
1268
+
1269
+ <div class="method-subsection method-declaration"><code>- (BOOL)isEqualToNanoObject:(NSFNanoObject *)<em>otherNanoObject</em></code></div>
1270
+
1271
+
1272
+
1273
+ <div class="method-subsection arguments-section parameters">
1274
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
1275
+
1276
+ <dl class="argument-def parameter-def">
1277
+ <dt><em>otherNanoObject</em></dt>
1278
+ <dd><p>is a NanoObject.</p></dd>
1279
+ </dl>
1280
+
1281
+ </div>
1282
+
1283
+
1284
+
1285
+ <div class="method-subsection return">
1286
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
1287
+ <p>YES if the contents of otherNanoObject are equal to the contents of the receiving NanoObject, otherwise NO.</p>
1288
+ </div>
1289
+
1290
+
1291
+
1292
+
1293
+
1294
+ <div class="method-subsection discussion-section">
1295
+ <h4 class="method-subtitle">Discussion</h4>
1296
+ <p>Compares the receiving NanoObject to another NanoObject.</p>
1297
+ </div>
1298
+
1299
+
1300
+
1301
+
1302
+
1303
+
1304
+
1305
+ <div class="method-subsection declared-in-section">
1306
+ <h4 class="method-subtitle">Declared In</h4>
1307
+ <code class="declared-in-ref">NSFNanoObject.h</code><br />
1308
+ </div>
1309
+
1310
+
1311
+ </div>
1312
+
1313
+ <div class="section-method">
1314
+ <a name="//api/name/objectForKey:" title="objectForKey:"></a>
1315
+ <h3 class="subsubtitle method-title">objectForKey:</h3>
1316
+
1317
+
1318
+
1319
+ <div class="method-subsection brief-description">
1320
+ <p>Returns the value associated with a given <a href="#//api/name/key">key</a>.</p>
1321
+ </div>
1322
+
1323
+
1324
+
1325
+ <div class="method-subsection method-declaration"><code>- (id)objectForKey:(NSString *)<em>aKey</em></code></div>
1326
+
1327
+
1328
+
1329
+ <div class="method-subsection arguments-section parameters">
1330
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
1331
+
1332
+ <dl class="argument-def parameter-def">
1333
+ <dt><em>aKey</em></dt>
1334
+ <dd><p>the <a href="#//api/name/key">key</a> for value. Must not be nil.</p></dd>
1335
+ </dl>
1336
+
1337
+ </div>
1338
+
1339
+
1340
+
1341
+
1342
+
1343
+
1344
+
1345
+ <div class="method-subsection discussion-section">
1346
+ <h4 class="method-subtitle">Discussion</h4>
1347
+ <p>Returns the value associated with a given <a href="#//api/name/key">key</a>.</p><div class="note"><p><strong>Note:</strong> Raises an NSInvalidArgumentException if <i>aKey</i> or <i>anObject</i> is nil. If you need to represent a nil value in the dictionary, use NSNull.</p></div>
1348
+ </div>
1349
+
1350
+
1351
+
1352
+
1353
+
1354
+ <div class="method-subsection see-also-section">
1355
+ <h4 class="method-subtitle">See Also</h4>
1356
+ <ul>
1357
+
1358
+ <li><code><p>\link <a href="#//api/name/setObject:forKey:">&ndash; setObject:forKey:</a> &ndash; (void)setObject:(id)anObject forKey:(NSString *)aKey \endlink</p></code></li>
1359
+
1360
+ </ul>
1361
+ </div>
1362
+
1363
+
1364
+
1365
+ <div class="method-subsection declared-in-section">
1366
+ <h4 class="method-subtitle">Declared In</h4>
1367
+ <code class="declared-in-ref">NSFNanoObject.h</code><br />
1368
+ </div>
1369
+
1370
+
1371
+ </div>
1372
+
1373
+ <div class="section-method">
1374
+ <a name="//api/name/removeAllObjects" title="removeAllObjects"></a>
1375
+ <h3 class="subsubtitle method-title">removeAllObjects</h3>
1376
+
1377
+
1378
+
1379
+ <div class="method-subsection brief-description">
1380
+ <p>Empties the NanoObject of its entries.</p>
1381
+ </div>
1382
+
1383
+
1384
+
1385
+ <div class="method-subsection method-declaration"><code>- (void)removeAllObjects</code></div>
1386
+
1387
+
1388
+
1389
+
1390
+
1391
+
1392
+
1393
+
1394
+
1395
+ <div class="method-subsection discussion-section">
1396
+ <h4 class="method-subtitle">Discussion</h4>
1397
+ <p>Empties the NanoObject of its entries.</p>
1398
+ </div>
1399
+
1400
+
1401
+
1402
+
1403
+
1404
+ <div class="method-subsection see-also-section">
1405
+ <h4 class="method-subtitle">See Also</h4>
1406
+ <ul>
1407
+
1408
+ <li><code><p>\link <a href="#//api/name/removeObjectForKey:">&ndash; removeObjectForKey:</a> &ndash; (void)<a href="#//api/name/removeObjectForKey:">&ndash; removeObjectForKey:</a>(NSString *)aKey \endlink</p></code></li>
1409
+
1410
+ <li><code><p>\link <a href="#//api/name/removeObjectsForKeys:">&ndash; removeObjectsForKeys:</a> &ndash; (void)<a href="#//api/name/removeObjectsForKeys:">&ndash; removeObjectsForKeys:</a>(NSArray *)keyArray \endlink</p></code></li>
1411
+
1412
+ </ul>
1413
+ </div>
1414
+
1415
+
1416
+
1417
+ <div class="method-subsection declared-in-section">
1418
+ <h4 class="method-subtitle">Declared In</h4>
1419
+ <code class="declared-in-ref">NSFNanoObject.h</code><br />
1420
+ </div>
1421
+
1422
+
1423
+ </div>
1424
+
1425
+ <div class="section-method">
1426
+ <a name="//api/name/removeObjectForKey:" title="removeObjectForKey:"></a>
1427
+ <h3 class="subsubtitle method-title">removeObjectForKey:</h3>
1428
+
1429
+
1430
+
1431
+ <div class="method-subsection brief-description">
1432
+ <p>Removes a given <a href="#//api/name/key">key</a> and its associated value from the NanoObject.</p>
1433
+ </div>
1434
+
1435
+
1436
+
1437
+ <div class="method-subsection method-declaration"><code>- (void)removeObjectForKey:(NSString *)<em>aKey</em></code></div>
1438
+
1439
+
1440
+
1441
+ <div class="method-subsection arguments-section parameters">
1442
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
1443
+
1444
+ <dl class="argument-def parameter-def">
1445
+ <dt><em>aKey</em></dt>
1446
+ <dd><p>the <a href="#//api/name/key">key</a> to remove. Must not be nil.</p></dd>
1447
+ </dl>
1448
+
1449
+ </div>
1450
+
1451
+
1452
+
1453
+
1454
+
1455
+
1456
+
1457
+ <div class="method-subsection discussion-section">
1458
+ <h4 class="method-subtitle">Discussion</h4>
1459
+ <p>Removes a given <a href="#//api/name/key">key</a> and its associated value from the NanoObject.</p><div class="note"><p><strong>Note:</strong> Does nothing if <i>aKey</i> does not exist.</p></div>
1460
+ </div>
1461
+
1462
+
1463
+
1464
+
1465
+
1466
+ <div class="method-subsection see-also-section">
1467
+ <h4 class="method-subtitle">See Also</h4>
1468
+ <ul>
1469
+
1470
+ <li><code><p>\link <a href="#//api/name/setObject:forKey:">&ndash; setObject:forKey:</a> &ndash; (void)setObject:(id)anObject forKey:(NSString *)aKey \endlink</p></code></li>
1471
+
1472
+ </ul>
1473
+ </div>
1474
+
1475
+
1476
+
1477
+ <div class="method-subsection declared-in-section">
1478
+ <h4 class="method-subtitle">Declared In</h4>
1479
+ <code class="declared-in-ref">NSFNanoObject.h</code><br />
1480
+ </div>
1481
+
1482
+
1483
+ </div>
1484
+
1485
+ <div class="section-method">
1486
+ <a name="//api/name/removeObjectsForKeys:" title="removeObjectsForKeys:"></a>
1487
+ <h3 class="subsubtitle method-title">removeObjectsForKeys:</h3>
1488
+
1489
+
1490
+
1491
+ <div class="method-subsection brief-description">
1492
+ <p>Removes from the NanoObject entries specified by elements in a given array.</p>
1493
+ </div>
1494
+
1495
+
1496
+
1497
+ <div class="method-subsection method-declaration"><code>- (void)removeObjectsForKeys:(NSArray *)<em>keyArray</em></code></div>
1498
+
1499
+
1500
+
1501
+ <div class="method-subsection arguments-section parameters">
1502
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
1503
+
1504
+ <dl class="argument-def parameter-def">
1505
+ <dt><em>keyArray</em></dt>
1506
+ <dd><p>An array of objects specifying the keys to remove.</p></dd>
1507
+ </dl>
1508
+
1509
+ </div>
1510
+
1511
+
1512
+
1513
+
1514
+
1515
+
1516
+
1517
+ <div class="method-subsection discussion-section">
1518
+ <h4 class="method-subtitle">Discussion</h4>
1519
+ <p>Removes from the NanoObject entries specified by elements in a given array.</p><div class="note"><p><strong>Note:</strong> If a <a href="#//api/name/key">key</a> in <i>keyArray</i> does not exist, the entry is ignored.</p></div>
1520
+ </div>
1521
+
1522
+
1523
+
1524
+
1525
+
1526
+ <div class="method-subsection see-also-section">
1527
+ <h4 class="method-subtitle">See Also</h4>
1528
+ <ul>
1529
+
1530
+ <li><code><p>\link <a href="#//api/name/removeAllObjects">&ndash; removeAllObjects</a> &ndash; (void)<a href="#//api/name/removeAllObjects">&ndash; removeAllObjects</a> \endlink</p></code></li>
1531
+
1532
+ <li><code><p>\link <a href="#//api/name/removeObjectForKey:">&ndash; removeObjectForKey:</a> &ndash; (void)<a href="#//api/name/removeObjectForKey:">&ndash; removeObjectForKey:</a>(NSString *)aKey \endlink</p></code></li>
1533
+
1534
+ </ul>
1535
+ </div>
1536
+
1537
+
1538
+
1539
+ <div class="method-subsection declared-in-section">
1540
+ <h4 class="method-subtitle">Declared In</h4>
1541
+ <code class="declared-in-ref">NSFNanoObject.h</code><br />
1542
+ </div>
1543
+
1544
+
1545
+ </div>
1546
+
1547
+ <div class="section-method">
1548
+ <a name="//api/name/saveStoreAndReturnError:" title="saveStoreAndReturnError:"></a>
1549
+ <h3 class="subsubtitle method-title">saveStoreAndReturnError:</h3>
1550
+
1551
+
1552
+
1553
+ <div class="method-subsection brief-description">
1554
+ <p>Saves the uncommitted changes to the document <a href="#//api/name/store">store</a>.</p>
1555
+ </div>
1556
+
1557
+
1558
+
1559
+ <div class="method-subsection method-declaration"><code>- (BOOL)saveStoreAndReturnError:(out NSError **)<em>outError</em></code></div>
1560
+
1561
+
1562
+
1563
+ <div class="method-subsection arguments-section parameters">
1564
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
1565
+
1566
+ <dl class="argument-def parameter-def">
1567
+ <dt><em>outError</em></dt>
1568
+ <dd><p>is used if an error occurs. May be NULL.</p></dd>
1569
+ </dl>
1570
+
1571
+ </div>
1572
+
1573
+
1574
+
1575
+ <div class="method-subsection return">
1576
+ <h4 class="method-subtitle parameter-title">Return Value</h4>
1577
+ <p>YES upon success, NO otherwise.</p>
1578
+ </div>
1579
+
1580
+
1581
+
1582
+
1583
+
1584
+ <div class="method-subsection discussion-section">
1585
+ <h4 class="method-subtitle">Discussion</h4>
1586
+ <p>Saves the uncommitted changes to the document <a href="#//api/name/store">store</a>.</p>
1587
+ </div>
1588
+
1589
+
1590
+
1591
+
1592
+
1593
+
1594
+
1595
+ <div class="method-subsection declared-in-section">
1596
+ <h4 class="method-subtitle">Declared In</h4>
1597
+ <code class="declared-in-ref">NSFNanoObject.h</code><br />
1598
+ </div>
1599
+
1600
+
1601
+ </div>
1602
+
1603
+ <div class="section-method">
1604
+ <a name="//api/name/setObject:forKey:" title="setObject:forKey:"></a>
1605
+ <h3 class="subsubtitle method-title">setObject:forKey:</h3>
1606
+
1607
+
1608
+
1609
+ <div class="method-subsection brief-description">
1610
+ <p>Adds a given key-value pair to the NanoObject.</p>
1611
+ </div>
1612
+
1613
+
1614
+
1615
+ <div class="method-subsection method-declaration"><code>- (void)setObject:(id)<em>anObject</em> forKey:(NSString *)<em>aKey</em></code></div>
1616
+
1617
+
1618
+
1619
+ <div class="method-subsection arguments-section parameters">
1620
+ <h4 class="method-subtitle parameter-title">Parameters</h4>
1621
+
1622
+ <dl class="argument-def parameter-def">
1623
+ <dt><em>anObject</em></dt>
1624
+ <dd><p>the value for <a href="#//api/name/key">key</a>. Must not be nil.</p></dd>
1625
+ </dl>
1626
+
1627
+ <dl class="argument-def parameter-def">
1628
+ <dt><em>aKey</em></dt>
1629
+ <dd><p>the <a href="#//api/name/key">key</a> for value. Must not be nil.</p></dd>
1630
+ </dl>
1631
+
1632
+ </div>
1633
+
1634
+
1635
+
1636
+
1637
+
1638
+
1639
+
1640
+ <div class="method-subsection discussion-section">
1641
+ <h4 class="method-subtitle">Discussion</h4>
1642
+ <p>Adds a given key-value pair to the NanoObject.</p><div class="note"><p><strong>Note:</strong> Raises an NSInvalidArgumentException if <i>aKey</i> or <i>anObject</i> is nil. If you need to represent a nil value in the dictionary, use NSNull.</p></div>
1643
+ </div>
1644
+
1645
+
1646
+
1647
+
1648
+
1649
+ <div class="method-subsection see-also-section">
1650
+ <h4 class="method-subtitle">See Also</h4>
1651
+ <ul>
1652
+
1653
+ <li><code><p>\link <a href="#//api/name/removeObjectForKey:">&ndash; removeObjectForKey:</a> &ndash; (void)<a href="#//api/name/removeObjectForKey:">&ndash; removeObjectForKey:</a>(NSString *)aKey \endlink</p></code></li>
1654
+
1655
+ </ul>
1656
+ </div>
1657
+
1658
+
1659
+
1660
+ <div class="method-subsection declared-in-section">
1661
+ <h4 class="method-subtitle">Declared In</h4>
1662
+ <code class="declared-in-ref">NSFNanoObject.h</code><br />
1663
+ </div>
1664
+
1665
+
1666
+ </div>
1667
+
1668
+ </div>
1669
+
1670
+
1671
+ </div>
1672
+ <div class="main-navigation navigation-bottom">
1673
+ <ul>
1674
+ <li><a href="../index.html">Index</a></li>
1675
+ <li><a href="../hierarchy.html">Hierarchy</a></li>
1676
+ </ul>
1677
+ </div>
1678
+ <div id="footer">
1679
+ <hr />
1680
+ <div class="footer-copyright">
1681
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
1682
+
1683
+ <span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
1684
+
1685
+ </div>
1686
+ </div>
1687
+ </div>
1688
+ </article>
1689
+ <script type="text/javascript">
1690
+ function jumpToChange()
1691
+ {
1692
+ window.location.hash = this.options[this.selectedIndex].value;
1693
+ }
1694
+
1695
+ function toggleTOC()
1696
+ {
1697
+ var contents = document.getElementById('contents');
1698
+ var tocContainer = document.getElementById('tocContainer');
1699
+
1700
+ if (this.getAttribute('class') == 'open')
1701
+ {
1702
+ this.setAttribute('class', '');
1703
+ contents.setAttribute('class', '');
1704
+ tocContainer.setAttribute('class', '');
1705
+
1706
+ window.name = "hideTOC";
1707
+ }
1708
+ else
1709
+ {
1710
+ this.setAttribute('class', 'open');
1711
+ contents.setAttribute('class', 'isShowingTOC');
1712
+ tocContainer.setAttribute('class', 'isShowingTOC');
1713
+
1714
+ window.name = "";
1715
+ }
1716
+ return false;
1717
+ }
1718
+
1719
+ function toggleTOCEntryChildren(e)
1720
+ {
1721
+ e.stopPropagation();
1722
+ var currentClass = this.getAttribute('class');
1723
+ if (currentClass == 'children') {
1724
+ this.setAttribute('class', 'children open');
1725
+ }
1726
+ else if (currentClass == 'children open') {
1727
+ this.setAttribute('class', 'children');
1728
+ }
1729
+ return false;
1730
+ }
1731
+
1732
+ function tocEntryClick(e)
1733
+ {
1734
+ e.stopPropagation();
1735
+ return true;
1736
+ }
1737
+
1738
+ function init()
1739
+ {
1740
+ var selectElement = document.getElementById('jumpTo');
1741
+ selectElement.addEventListener('change', jumpToChange, false);
1742
+
1743
+ var tocButton = document.getElementById('table_of_contents');
1744
+ tocButton.addEventListener('click', toggleTOC, false);
1745
+
1746
+ var taskTreeItem = document.getElementById('task_treeitem');
1747
+ if (taskTreeItem.getElementsByTagName('li').length > 0)
1748
+ {
1749
+ taskTreeItem.setAttribute('class', 'children');
1750
+ taskTreeItem.firstChild.setAttribute('class', 'disclosure');
1751
+ }
1752
+
1753
+ var tocList = document.getElementById('toc');
1754
+
1755
+ var tocEntries = tocList.getElementsByTagName('li');
1756
+ for (var i = 0; i < tocEntries.length; i++) {
1757
+ tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false);
1758
+ }
1759
+
1760
+ var tocLinks = tocList.getElementsByTagName('a');
1761
+ for (var i = 0; i < tocLinks.length; i++) {
1762
+ tocLinks[i].addEventListener('click', tocEntryClick, false);
1763
+ }
1764
+
1765
+ if (window.name == "hideTOC") {
1766
+ toggleTOC.call(tocButton);
1767
+ }
1768
+ }
1769
+
1770
+ window.onload = init;
1771
+
1772
+ // If showing in Xcode, hide the TOC and Header
1773
+ if (navigator.userAgent.match(/xcode/i)) {
1774
+ document.getElementById("contents").className = "hideInXcode"
1775
+ document.getElementById("tocContainer").className = "hideInXcode"
1776
+ document.getElementById("top_header").className = "hideInXcode"
1777
+ }
1778
+
1779
+ </script>
1780
+ </body>
1781
+ </html>