Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update to use 2.6.X of NanoStore. Bump gem version to 0.6.3

  • Loading branch information...
commit 4dbd89704eeab3bfda2a480ae905cd55567dc643 1 parent 4f68f0a
@siuying authored
Showing with 944 additions and 683 deletions.
  1. +1 −1  README.md
  2. +1 −1  Rakefile
  3. +1 −1  lib/nano_store.rb
  4. +1 −1  lib/nano_store/version.rb
  5. +4 −4 vendor/Podfile.lock
  6. +2 −2 vendor/Pods/Documentation/NanoStore/docset-installed.txt
  7. +3 −3 vendor/Pods/Documentation/NanoStore/docset/Contents/Info.plist
  8. +2 −2 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoBag.html
  9. +2 −2 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoEngine.html
  10. +2 −2 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoExpression.html
  11. +2 −2 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoObject.html
  12. +7 −7 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoPredicate.html
  13. +2 −2 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoResult.html
  14. +66 −5 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoSearch.html
  15. +3 −3 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoSortDescriptor.html
  16. +2 −2 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoStore.html
  17. +2 −2 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFOrderedDictionary.html
  18. +2 −2 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Protocols/NSFNanoObjectProtocol.html
  19. 0  vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/css/styles.css
  20. +5 −5 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/hierarchy.html
  21. +5 −5 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/index.html
  22. +1 −1  vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Nodes.xml
  23. +6 −6 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens5.xml
  24. +24 −2 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens7.xml
  25. +2 −2 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens8.xml
  26. BIN  vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.dsidx
  27. BIN  vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.skidx
  28. BIN  vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.toc
  29. +2 −2 vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoBag.html
  30. +2 −2 vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoEngine.html
  31. +2 −2 vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoExpression.html
  32. +2 −2 vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoObject.html
  33. +7 −7 vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoPredicate.html
  34. +2 −2 vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoResult.html
  35. +66 −5 vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoSearch.html
  36. +3 −3 vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoSortDescriptor.html
  37. +2 −2 vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoStore.html
  38. +2 −2 vendor/Pods/Documentation/NanoStore/html/Classes/NSFOrderedDictionary.html
  39. +2 −2 vendor/Pods/Documentation/NanoStore/html/Protocols/NSFNanoObjectProtocol.html
  40. 0  vendor/Pods/Documentation/NanoStore/html/css/styles.css
  41. +5 −5 vendor/Pods/Documentation/NanoStore/html/hierarchy.html
  42. +5 −5 vendor/Pods/Documentation/NanoStore/html/index.html
  43. +40 −49 vendor/Pods/NanoStore/Classes/Advanced/NSFNanoEngine.m
  44. +42 −53 vendor/Pods/NanoStore/Classes/Advanced/NSFNanoResult.m
  45. +80 −89 vendor/Pods/NanoStore/Classes/Public/NSFNanoBag.m
  46. +11 −13 vendor/Pods/NanoStore/Classes/Public/NSFNanoExpression.m
  47. +3 −1 vendor/Pods/NanoStore/Classes/Public/NSFNanoGlobals.h
  48. +1 −0  vendor/Pods/NanoStore/Classes/Public/NSFNanoGlobals.m
  49. +34 −29 vendor/Pods/NanoStore/Classes/Public/NSFNanoObject.m
  50. +5 −5 vendor/Pods/NanoStore/Classes/Public/NSFNanoPredicate.h
  51. +43 −34 vendor/Pods/NanoStore/Classes/Public/NSFNanoPredicate.m
  52. +5 −3 vendor/Pods/NanoStore/Classes/Public/NSFNanoSearch.h
  53. +171 −97 vendor/Pods/NanoStore/Classes/Public/NSFNanoSearch.m
  54. +1 −1  vendor/Pods/NanoStore/Classes/Public/NSFNanoSortDescriptor.h
  55. +13 −12 vendor/Pods/NanoStore/Classes/Public/NSFNanoSortDescriptor.m
  56. +92 −86 vendor/Pods/NanoStore/Classes/Public/NSFNanoStore.m
  57. +36 −0 vendor/Pods/NanoStore/Classes/Public/NanoStore.h
  58. +8 −4 vendor/Pods/Pods-resources.sh
  59. +109 −101 vendor/Pods/Pods.bridgesupport
View
2  README.md
@@ -33,7 +33,7 @@ Motion::Project::App.setup do |app|
# Add the pod NanoStore to your project
app.pods do
- pod 'NanoStore', '2.5.2'
+ pod 'NanoStore', '~> 2.6.0'
end
end
```
View
2  Rakefile
@@ -9,7 +9,7 @@ Motion::Project::App.setup do |app|
app.redgreen_style = :full
app.files += Dir.glob(File.join(app.project_dir, 'lib/nano_store/*.rb'))
app.pods do
- pod 'NanoStore', '2.5.2'
+ pod 'NanoStore', '~> 2.6.0'
end
end
View
2  lib/nano_store.rb
@@ -14,5 +14,5 @@
app.files.unshift(File.join(File.dirname(__FILE__), 'nano_store/finder.rb'))
app.pods ||= Motion::Project::CocoaPods.new(app)
- app.pods.pod 'NanoStore', '2.5.2'
+ app.pods.pod 'NanoStore', '~> 2.6.0'
end
View
2  lib/nano_store/version.rb
@@ -1,3 +1,3 @@
module NanoStore
- VERSION = "0.6.2"
+ VERSION = "0.6.3"
end
View
8 vendor/Podfile.lock
@@ -1,11 +1,11 @@
PODS:
-- NanoStore (2.5.2)
+- NanoStore (2.6.4)
DEPENDENCIES:
-- NanoStore (= 2.5.2)
+- NanoStore (~> 2.6.0)
SPEC CHECKSUMS:
- NanoStore: eb22a867411f5ecdf3c959ba58fecd8b8af90e2b
+ NanoStore: 73d29e30e1e7f253f719c6ad1d60181ebcf1b5be
-COCOAPODS: 0.16.1
+COCOAPODS: 0.16.4
View
4 vendor/Pods/Documentation/NanoStore/docset-installed.txt
@@ -1,4 +1,4 @@
Documentation set was installed to Xcode!
-Path: /Users/siuying/Library/Developer/Shared/Documentation/DocSets/org.cocoapods.NanoStore-2.5.2.docset
-Time: 2013-01-22 09:31:56 +0000
+Path: /Users/siuying/Library/Developer/Shared/Documentation/DocSets/org.cocoapods.NanoStore-2.6.4.docset
+Time: 2013-03-08 15:06:48 +0000
View
6 vendor/Pods/Documentation/NanoStore/docset/Contents/Info.plist
@@ -5,9 +5,9 @@
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleIdentifier</key>
- <string>org.cocoapods.NanoStore-2.5.2</string>
+ <string>org.cocoapods.NanoStore-2.6.4</string>
<key>CFBundleName</key>
- <string>NanoStore 2.5.2 Documentation</string>
+ <string>NanoStore 2.6.4 Documentation</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
@@ -18,7 +18,7 @@
<string>NanoStore is an open source, lightweight schema-less local key-value document store written in Objective-C for Mac OS X and iOS.</string>
<key>DocSetFeedName</key>
- <string>NanoStore 2.5.2 Documentation</string>
+ <string>NanoStore 2.6.4 Documentation</string>
<key>DocSetMinimumXcodeVersion</key>
<string>3.0</string>
View
4 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoBag.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -2163,7 +2163,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
4 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoEngine.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -4605,7 +4605,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
4 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoExpression.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -715,7 +715,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
4 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoObject.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -1678,7 +1678,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
14 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoPredicate.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -404,7 +404,7 @@ <h3 class="subsubtitle method-title">value</h3>
- <div class="method-subsection method-declaration"><code>@property (nonatomic, copy, readonly) NSString *value</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) id value</code></div>
@@ -456,7 +456,7 @@ <h3 class="subsubtitle method-title">predicateWithColumn:matching:value:</h3>
- <div class="method-subsection method-declaration"><code>+ (NSFNanoPredicate *)predicateWithColumn:(NSFTableColumnType)<em>theType</em> matching:(NSFMatchType)<em>theMatch</em> value:(NSString *)<em>theValue</em></code></div>
+ <div class="method-subsection method-declaration"><code>+ (NSFNanoPredicate *)predicateWithColumn:(NSFTableColumnType)<em>theType</em> matching:(NSFMatchType)<em>theMatch</em> value:(id)<em>theValue</em></code></div>
@@ -475,7 +475,7 @@ <h4 class="method-subtitle parameter-title">Parameters</h4>
<dl class="argument-def parameter-def">
<dt><em>theValue</em></dt>
- <dd><p>is the <a href="#//api/name/value">value</a>.</p></dd>
+ <dd><p>can be an NSString or [NSNull null]</p></dd>
</dl>
</div>
@@ -621,7 +621,7 @@ <h3 class="subsubtitle method-title">initWithColumn:matching:value:</h3>
- <div class="method-subsection method-declaration"><code>- (id)initWithColumn:(NSFTableColumnType)<em>theType</em> matching:(NSFMatchType)<em>theMatch</em> value:(NSString *)<em>theValue</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (id)initWithColumn:(NSFTableColumnType)<em>theType</em> matching:(NSFMatchType)<em>theMatch</em> value:(id)<em>theValue</em></code></div>
@@ -640,7 +640,7 @@ <h4 class="method-subtitle parameter-title">Parameters</h4>
<dl class="argument-def parameter-def">
<dt><em>theValue</em></dt>
- <dd><p>is the <a href="#//api/name/value">value</a>.</p></dd>
+ <dd><p>can be an NSString or [NSNull null]</p></dd>
</dl>
</div>
@@ -697,7 +697,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
4 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoResult.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -951,7 +951,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
71 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoSearch.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -44,6 +44,8 @@ <h1 class="hideInXcode">NSFNanoSearch Class Reference</h1>
<option value="//api/name/attributesToBeReturned">&nbsp;&nbsp;&nbsp;&nbsp;attributesToBeReturned</option>
+ <option value="//api/name/bag">&nbsp;&nbsp;&nbsp;&nbsp;bag</option>
+
<option value="//api/name/expressions">&nbsp;&nbsp;&nbsp;&nbsp;expressions</option>
<option value="//api/name/filterClass">&nbsp;&nbsp;&nbsp;&nbsp;filterClass</option>
@@ -162,6 +164,8 @@ <h1 class="hideInXcode">NSFNanoSearch Class Reference</h1>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/attributesToBeReturned">attributesToBeReturned</a></span></li>
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/bag">bag</a></span></li>
+
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/expressions">expressions</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/filterClass">filterClass</a></span></li>
@@ -552,6 +556,16 @@ <h3 class="subsubtitle task-title">Other Methods</h3>
</span>
<span class="task-item-suffix">property</span>
+</li><li>
+ <span class="tooltip">
+ <code><a href="#//api/name/bag">&nbsp;&nbsp;bag</a></code>
+ <span class="tooltip"><ul>
+<li><a href="#//api/name/limit">limit</a> a Search to a particular bag.</li>
+</ul>
+</span>
+ </span>
+ <span class="task-item-suffix">property</span>
+
</li>
</ul>
@@ -895,6 +909,53 @@ <h4 class="method-subtitle">Declared In</h4>
</div>
<div class="section-method">
+ <a name="//api/name/bag" title="bag"></a>
+ <h3 class="subsubtitle method-title">bag</h3>
+
+
+
+ <div class="method-subsection brief-description">
+ <ul>
+<li><a href="#//api/name/limit">limit</a> a Search to a particular bag.</li>
+</ul>
+
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readwrite) NSFNanoBag *bag</code></div>
+
+
+
+
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <ul>
+<li><a href="#//api/name/limit">limit</a> a Search to a particular bag.</li>
+</ul>
+
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <code class="declared-in-ref">NSFNanoSearch.h</code><br />
+ </div>
+
+
+</div>
+
+ <div class="section-method">
<a name="//api/name/expressions" title="expressions"></a>
<h3 class="subsubtitle method-title">expressions</h3>
@@ -956,7 +1017,7 @@ <h3 class="subsubtitle method-title">filterClass</h3>
- <div class="method-subsection method-declaration"><code>@property (nonatomic, strong, readwrite) NSString *filterClass</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, copy, readwrite) NSString *filterClass</code></div>
@@ -2271,7 +2332,7 @@ <h4 class="method-subtitle parameter-title">Return Value</h4>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
- <p>Performs a search using the values of the properties before, on or after a given date.</p><div class="note"><p><strong>Note:</strong> The <a href="#//api/name/sort">sort</a> descriptor will be ignored when returning requesting NSFReturnKeys.</p></div>
+ <p>Performs a search using the values of the properties before, on or after a given date.</p><div class="note"><p><strong>Note:</strong> The <a href="#//api/name/sort">sort</a> descriptor will be ignored when the return type is NSFReturnKeys.</p></div>
</div>
@@ -2341,7 +2402,7 @@ <h4 class="method-subtitle parameter-title">Return Value</h4>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
- <p>Performs a search using the values of the properties.</p><div class="note"><p><strong>Note:</strong> The <a href="#//api/name/sort">sort</a> descriptor will be ignored when returning requesting NSFReturnKeys.</p></div>
+ <p>Performs a search using the values of the properties.</p><div class="note"><p><strong>Note:</strong> The <a href="#//api/name/sort">sort</a> descriptor will be ignored when the return type is NSFReturnKeys.</p></div>
</div>
@@ -2380,7 +2441,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
6 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoSortDescriptor.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -296,7 +296,7 @@ <h3 class="subsubtitle method-title">attribute</h3>
- <div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) NSString *attribute</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, copy, readonly) NSString *attribute</code></div>
@@ -610,7 +610,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
4 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoStore.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -3620,7 +3620,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
4 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFOrderedDictionary.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -209,7 +209,7 @@ <h3 class="subsubtitle method-title">reverseKeyEnumerator</h3>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
4 ...or/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Protocols/NSFNanoObjectProtocol.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -548,7 +548,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
0  vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/css/styles.css 100755 → 100644
File mode changed
View
10 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/hierarchy.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>NanoStore 2.5.2 Hierarchy</title>
+ <title>NanoStore 2.6.4 Hierarchy</title>
<link rel="stylesheet" type="text/css" href="css/styles.css" media="all" />
<link rel="stylesheet" type="text/css" media="print" href="css/stylesPrint.css" />
<meta name="generator" content="appledoc 2.0.5 (build 789)" />
@@ -10,12 +10,12 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="index.html">Tito Ciuro</a>
</div>
<div id="title" role="banner">
- <h1 class="hideInXcode">NanoStore 2.5.2 Hierarchy</h1>
+ <h1 class="hideInXcode">NanoStore 2.6.4 Hierarchy</h1>
</div>
<ul id="headerButtons" role="toolbar"></ul>
</header>
@@ -26,7 +26,7 @@ <h1 class="hideInXcode">NanoStore 2.5.2 Hierarchy</h1>
</div>
<div id="header">
<div class="section-header">
- <h1 class="title title-header">NanoStore 2.5.2 Hierarchy</h1>
+ <h1 class="title title-header">NanoStore 2.6.4 Hierarchy</h1>
</div>
</div>
<div id="container">
@@ -93,7 +93,7 @@ <h2 class="index-title">Protocol References</h2>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
10 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/index.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>NanoStore 2.5.2 Reference</title>
+ <title>NanoStore 2.6.4 Reference</title>
<link rel="stylesheet" type="text/css" href="css/styles.css" media="all" />
<link rel="stylesheet" type="text/css" media="print" href="css/stylesPrint.css" />
<meta name="generator" content="appledoc 2.0.5 (build 789)" />
@@ -10,12 +10,12 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="index.html">Tito Ciuro</a>
</div>
<div id="title" role="banner">
- <h1 class="hideInXcode">NanoStore 2.5.2 Reference</h1>
+ <h1 class="hideInXcode">NanoStore 2.6.4 Reference</h1>
</div>
<ul id="headerButtons" role="toolbar"></ul>
</header>
@@ -26,7 +26,7 @@ <h1 class="hideInXcode">NanoStore 2.5.2 Reference</h1>
</div>
<div id="header">
<div class="section-header">
- <h1 class="title title-header">NanoStore 2.5.2 Reference</h1>
+ <h1 class="title title-header">NanoStore 2.6.4 Reference</h1>
</div>
</div>
<div id="container">
@@ -641,7 +641,7 @@ <h2 class="index-title">Protocol References</h2>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
2  vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Nodes.xml
@@ -2,7 +2,7 @@
<DocSetNodes version="1.0">
<TOC>
<Node type="folder">
- <Name>NanoStore 2.5.2</Name>
+ <Name>NanoStore 2.6.4</Name>
<Path>index.html</Path>
<Subnodes>
View
12 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens5.xml
@@ -69,7 +69,7 @@ NSFNanoStore *nanoStore = [NSFNanoStore createAndOpenStoreWithType:NSFMemoryStor
<Abstract type="html">* The value to be used for comparison.</Abstract>
<DeclaredIn>NSFNanoPredicate.h</DeclaredIn>
- <Declaration>@property (nonatomic, copy, readonly) NSString *value</Declaration>
+ <Declaration>@property (nonatomic, readonly) id value</Declaration>
<Anchor>//api/name/value</Anchor>
@@ -80,7 +80,7 @@ NSFNanoStore *nanoStore = [NSFNanoStore createAndOpenStoreWithType:NSFMemoryStor
<Abstract type="html">* The value to be used for comparison.</Abstract>
<DeclaredIn>NSFNanoPredicate.h</DeclaredIn>
- <Declaration>@property (nonatomic, copy, readonly) NSString *value</Declaration>
+ <Declaration>@property (nonatomic, readonly) id value</Declaration>
<Anchor>//api/name/value</Anchor>
@@ -96,7 +96,7 @@ NSFNanoStore *nanoStore = [NSFNanoStore createAndOpenStoreWithType:NSFMemoryStor
</RelatedTokens>
- <Declaration>+ (NSFNanoPredicate *)predicateWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(NSString *)theValue</Declaration>
+ <Declaration>+ (NSFNanoPredicate *)predicateWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(id)theValue</Declaration>
<Parameters>
<Parameter>
<Name>theType</Name>
@@ -106,7 +106,7 @@ NSFNanoStore *nanoStore = [NSFNanoStore createAndOpenStoreWithType:NSFMemoryStor
<Abstract type="html">is the match operator.</Abstract>
</Parameter><Parameter>
<Name>theValue</Name>
- <Abstract type="html">is the value.</Abstract>
+ <Abstract type="html">can be an NSString or [NSNull null]</Abstract>
</Parameter>
</Parameters>
<ReturnValue><Abstract type="html">A predicate which can be used in an NSFNanoExpression.</Abstract></ReturnValue>
@@ -123,7 +123,7 @@ NSFNanoStore *nanoStore = [NSFNanoStore createAndOpenStoreWithType:NSFMemoryStor
</RelatedTokens>
- <Declaration>- (id)initWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(NSString *)theValue</Declaration>
+ <Declaration>- (id)initWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(id)theValue</Declaration>
<Parameters>
<Parameter>
<Name>theType</Name>
@@ -133,7 +133,7 @@ NSFNanoStore *nanoStore = [NSFNanoStore createAndOpenStoreWithType:NSFMemoryStor
<Abstract type="html">is the match operator.</Abstract>
</Parameter><Parameter>
<Name>theValue</Name>
- <Abstract type="html">is the value.</Abstract>
+ <Abstract type="html">can be an NSString or [NSNull null]</Abstract>
</Parameter>
</Parameters>
<ReturnValue><Abstract type="html">A predicate which can be used in an NSFNanoExpression.</Abstract></ReturnValue>
View
26 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens7.xml
@@ -269,7 +269,7 @@
<Abstract type="html">* The filterClass allows to filter the results based on a specific object class.</Abstract>
<DeclaredIn>NSFNanoSearch.h</DeclaredIn>
- <Declaration>@property (nonatomic, strong, readwrite) NSString *filterClass</Declaration>
+ <Declaration>@property (nonatomic, copy, readwrite) NSString *filterClass</Declaration>
<Anchor>//api/name/filterClass</Anchor>
@@ -280,7 +280,7 @@
<Abstract type="html">* The filterClass allows to filter the results based on a specific object class.</Abstract>
<DeclaredIn>NSFNanoSearch.h</DeclaredIn>
- <Declaration>@property (nonatomic, strong, readwrite) NSString *filterClass</Declaration>
+ <Declaration>@property (nonatomic, copy, readwrite) NSString *filterClass</Declaration>
<Anchor>//api/name/filterClass</Anchor>
@@ -331,6 +331,28 @@
</Token>
<Token>
+ <TokenIdentifier>//apple_ref/occ/instm/NSFNanoSearch/setBag:</TokenIdentifier>
+ <Abstract type="html">* limit a Search to a particular bag.</Abstract>
+ <DeclaredIn>NSFNanoSearch.h</DeclaredIn>
+
+ <Declaration>@property (nonatomic, assign, readwrite) NSFNanoBag *bag</Declaration>
+
+
+ <Anchor>//api/name/bag</Anchor>
+ </Token>
+
+ <Token>
+ <TokenIdentifier>//apple_ref/occ/instp/NSFNanoSearch/bag</TokenIdentifier>
+ <Abstract type="html">* limit a Search to a particular bag.</Abstract>
+ <DeclaredIn>NSFNanoSearch.h</DeclaredIn>
+
+ <Declaration>@property (nonatomic, assign, readwrite) NSFNanoBag *bag</Declaration>
+
+
+ <Anchor>//api/name/bag</Anchor>
+ </Token>
+
+ <Token>
<TokenIdentifier>//apple_ref/occ/clm/NSFNanoSearch/searchWithStore:</TokenIdentifier>
<Abstract type="html">Creates and returns a search element for a given document store.</Abstract>
<DeclaredIn>NSFNanoSearch.h</DeclaredIn>
View
4 vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens8.xml
@@ -22,7 +22,7 @@ NSFNanoStore *nanoStore = [NSFNanoStore createAndOpenStoreWithType:NSFMemoryStor
<Abstract type="html">* The property key to use when performing a comparison</Abstract>
<DeclaredIn>NSFNanoSortDescriptor.h</DeclaredIn>
- <Declaration>@property (nonatomic, readonly) NSString *attribute</Declaration>
+ <Declaration>@property (nonatomic, copy, readonly) NSString *attribute</Declaration>
<Anchor>//api/name/attribute</Anchor>
@@ -33,7 +33,7 @@ NSFNanoStore *nanoStore = [NSFNanoStore createAndOpenStoreWithType:NSFMemoryStor
<Abstract type="html">* The property key to use when performing a comparison</Abstract>
<DeclaredIn>NSFNanoSortDescriptor.h</DeclaredIn>
- <Declaration>@property (nonatomic, readonly) NSString *attribute</Declaration>
+ <Declaration>@property (nonatomic, copy, readonly) NSString *attribute</Declaration>
<Anchor>//api/name/attribute</Anchor>
View
BIN  vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.dsidx
Binary file not shown
View
BIN  vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.skidx
Binary file not shown
View
BIN  vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.toc
Binary file not shown
View
4 vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoBag.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -2163,7 +2163,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
4 vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoEngine.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -4605,7 +4605,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
4 vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoExpression.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -715,7 +715,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
4 vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoObject.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -1678,7 +1678,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
14 vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoPredicate.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -404,7 +404,7 @@ <h3 class="subsubtitle method-title">value</h3>
- <div class="method-subsection method-declaration"><code>@property (nonatomic, copy, readonly) NSString *value</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) id value</code></div>
@@ -456,7 +456,7 @@ <h3 class="subsubtitle method-title">predicateWithColumn:matching:value:</h3>
- <div class="method-subsection method-declaration"><code>+ (NSFNanoPredicate *)predicateWithColumn:(NSFTableColumnType)<em>theType</em> matching:(NSFMatchType)<em>theMatch</em> value:(NSString *)<em>theValue</em></code></div>
+ <div class="method-subsection method-declaration"><code>+ (NSFNanoPredicate *)predicateWithColumn:(NSFTableColumnType)<em>theType</em> matching:(NSFMatchType)<em>theMatch</em> value:(id)<em>theValue</em></code></div>
@@ -475,7 +475,7 @@ <h4 class="method-subtitle parameter-title">Parameters</h4>
<dl class="argument-def parameter-def">
<dt><em>theValue</em></dt>
- <dd><p>is the <a href="#//api/name/value">value</a>.</p></dd>
+ <dd><p>can be an NSString or [NSNull null]</p></dd>
</dl>
</div>
@@ -621,7 +621,7 @@ <h3 class="subsubtitle method-title">initWithColumn:matching:value:</h3>
- <div class="method-subsection method-declaration"><code>- (id)initWithColumn:(NSFTableColumnType)<em>theType</em> matching:(NSFMatchType)<em>theMatch</em> value:(NSString *)<em>theValue</em></code></div>
+ <div class="method-subsection method-declaration"><code>- (id)initWithColumn:(NSFTableColumnType)<em>theType</em> matching:(NSFMatchType)<em>theMatch</em> value:(id)<em>theValue</em></code></div>
@@ -640,7 +640,7 @@ <h4 class="method-subtitle parameter-title">Parameters</h4>
<dl class="argument-def parameter-def">
<dt><em>theValue</em></dt>
- <dd><p>is the <a href="#//api/name/value">value</a>.</p></dd>
+ <dd><p>can be an NSString or [NSNull null]</p></dd>
</dl>
</div>
@@ -697,7 +697,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
4 vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoResult.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -951,7 +951,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
71 vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoSearch.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -44,6 +44,8 @@ <h1 class="hideInXcode">NSFNanoSearch Class Reference</h1>
<option value="//api/name/attributesToBeReturned">&nbsp;&nbsp;&nbsp;&nbsp;attributesToBeReturned</option>
+ <option value="//api/name/bag">&nbsp;&nbsp;&nbsp;&nbsp;bag</option>
+
<option value="//api/name/expressions">&nbsp;&nbsp;&nbsp;&nbsp;expressions</option>
<option value="//api/name/filterClass">&nbsp;&nbsp;&nbsp;&nbsp;filterClass</option>
@@ -162,6 +164,8 @@ <h1 class="hideInXcode">NSFNanoSearch Class Reference</h1>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/attributesToBeReturned">attributesToBeReturned</a></span></li>
+ <li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/bag">bag</a></span></li>
+
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/expressions">expressions</a></span></li>
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/filterClass">filterClass</a></span></li>
@@ -552,6 +556,16 @@ <h3 class="subsubtitle task-title">Other Methods</h3>
</span>
<span class="task-item-suffix">property</span>
+</li><li>
+ <span class="tooltip">
+ <code><a href="#//api/name/bag">&nbsp;&nbsp;bag</a></code>
+ <span class="tooltip"><ul>
+<li><a href="#//api/name/limit">limit</a> a Search to a particular bag.</li>
+</ul>
+</span>
+ </span>
+ <span class="task-item-suffix">property</span>
+
</li>
</ul>
@@ -895,6 +909,53 @@ <h4 class="method-subtitle">Declared In</h4>
</div>
<div class="section-method">
+ <a name="//api/name/bag" title="bag"></a>
+ <h3 class="subsubtitle method-title">bag</h3>
+
+
+
+ <div class="method-subsection brief-description">
+ <ul>
+<li><a href="#//api/name/limit">limit</a> a Search to a particular bag.</li>
+</ul>
+
+ </div>
+
+
+
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readwrite) NSFNanoBag *bag</code></div>
+
+
+
+
+
+
+
+
+
+ <div class="method-subsection discussion-section">
+ <h4 class="method-subtitle">Discussion</h4>
+ <ul>
+<li><a href="#//api/name/limit">limit</a> a Search to a particular bag.</li>
+</ul>
+
+ </div>
+
+
+
+
+
+
+
+ <div class="method-subsection declared-in-section">
+ <h4 class="method-subtitle">Declared In</h4>
+ <code class="declared-in-ref">NSFNanoSearch.h</code><br />
+ </div>
+
+
+</div>
+
+ <div class="section-method">
<a name="//api/name/expressions" title="expressions"></a>
<h3 class="subsubtitle method-title">expressions</h3>
@@ -956,7 +1017,7 @@ <h3 class="subsubtitle method-title">filterClass</h3>
- <div class="method-subsection method-declaration"><code>@property (nonatomic, strong, readwrite) NSString *filterClass</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, copy, readwrite) NSString *filterClass</code></div>
@@ -2271,7 +2332,7 @@ <h4 class="method-subtitle parameter-title">Return Value</h4>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
- <p>Performs a search using the values of the properties before, on or after a given date.</p><div class="note"><p><strong>Note:</strong> The <a href="#//api/name/sort">sort</a> descriptor will be ignored when returning requesting NSFReturnKeys.</p></div>
+ <p>Performs a search using the values of the properties before, on or after a given date.</p><div class="note"><p><strong>Note:</strong> The <a href="#//api/name/sort">sort</a> descriptor will be ignored when the return type is NSFReturnKeys.</p></div>
</div>
@@ -2341,7 +2402,7 @@ <h4 class="method-subtitle parameter-title">Return Value</h4>
<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
- <p>Performs a search using the values of the properties.</p><div class="note"><p><strong>Note:</strong> The <a href="#//api/name/sort">sort</a> descriptor will be ignored when returning requesting NSFReturnKeys.</p></div>
+ <p>Performs a search using the values of the properties.</p><div class="note"><p><strong>Note:</strong> The <a href="#//api/name/sort">sort</a> descriptor will be ignored when the return type is NSFReturnKeys.</p></div>
</div>
@@ -2380,7 +2441,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
6 vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoSortDescriptor.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -296,7 +296,7 @@ <h3 class="subsubtitle method-title">attribute</h3>
- <div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) NSString *attribute</code></div>
+ <div class="method-subsection method-declaration"><code>@property (nonatomic, copy, readonly) NSString *attribute</code></div>
@@ -610,7 +610,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
4 vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoStore.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -3620,7 +3620,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
4 vendor/Pods/Documentation/NanoStore/html/Classes/NSFOrderedDictionary.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -209,7 +209,7 @@ <h3 class="subsubtitle method-title">reverseKeyEnumerator</h3>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
4 vendor/Pods/Documentation/NanoStore/html/Protocols/NSFNanoObjectProtocol.html
@@ -12,7 +12,7 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="../index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="../index.html">Tito Ciuro</a>
</div>
@@ -548,7 +548,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
0  vendor/Pods/Documentation/NanoStore/html/css/styles.css 100755 → 100644
File mode changed
View
10 vendor/Pods/Documentation/NanoStore/html/hierarchy.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>NanoStore 2.5.2 Hierarchy</title>
+ <title>NanoStore 2.6.4 Hierarchy</title>
<link rel="stylesheet" type="text/css" href="css/styles.css" media="all" />
<link rel="stylesheet" type="text/css" media="print" href="css/stylesPrint.css" />
<meta name="generator" content="appledoc 2.0.5 (build 789)" />
@@ -10,12 +10,12 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="index.html">Tito Ciuro</a>
</div>
<div id="title" role="banner">
- <h1 class="hideInXcode">NanoStore 2.5.2 Hierarchy</h1>
+ <h1 class="hideInXcode">NanoStore 2.6.4 Hierarchy</h1>
</div>
<ul id="headerButtons" role="toolbar"></ul>
</header>
@@ -26,7 +26,7 @@ <h1 class="hideInXcode">NanoStore 2.5.2 Hierarchy</h1>
</div>
<div id="header">
<div class="section-header">
- <h1 class="title title-header">NanoStore 2.5.2 Hierarchy</h1>
+ <h1 class="title title-header">NanoStore 2.6.4 Hierarchy</h1>
</div>
</div>
<div id="container">
@@ -93,7 +93,7 @@ <h2 class="index-title">Protocol References</h2>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
10 vendor/Pods/Documentation/NanoStore/html/index.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>NanoStore 2.5.2 Reference</title>
+ <title>NanoStore 2.6.4 Reference</title>
<link rel="stylesheet" type="text/css" href="css/styles.css" media="all" />
<link rel="stylesheet" type="text/css" media="print" href="css/stylesPrint.css" />
<meta name="generator" content="appledoc 2.0.5 (build 789)" />
@@ -10,12 +10,12 @@
<body>
<header id="top_header">
<div id="library" class="hideInXcode">
- <h1><a id="libraryTitle" href="index.html">NanoStore 2.5.2 </a></h1>
+ <h1><a id="libraryTitle" href="index.html">NanoStore 2.6.4 </a></h1>
<a id="developerHome" href="index.html">Tito Ciuro</a>
</div>
<div id="title" role="banner">
- <h1 class="hideInXcode">NanoStore 2.5.2 Reference</h1>
+ <h1 class="hideInXcode">NanoStore 2.6.4 Reference</h1>
</div>
<ul id="headerButtons" role="toolbar"></ul>
</header>
@@ -26,7 +26,7 @@ <h1 class="hideInXcode">NanoStore 2.5.2 Reference</h1>
</div>
<div id="header">
<div class="section-header">
- <h1 class="title title-header">NanoStore 2.5.2 Reference</h1>
+ <h1 class="title title-header">NanoStore 2.6.4 Reference</h1>
</div>
</div>
<div id="container">
@@ -641,7 +641,7 @@ <h2 class="index-title">Protocol References</h2>
<div id="footer">
<hr />
<div class="footer-copyright">
- <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-01-22)</span><br />
+ <p><span class="copyright">&copy; 2013 Tito Ciuro. All rights reserved. (Last updated: 2013-03-08)</span><br />
<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.0.5 (build 789)</a>.</span></p>
View
89 vendor/Pods/NanoStore/Classes/Advanced/NSFNanoEngine.m
@@ -45,23 +45,19 @@
#pragma mark -
-@implementation NSFNanoEngine
-{
-@protected
- sqlite3 *sqlite;
- NSString *path;
- NSFCacheMethod cacheMethod;
-
- /** \cond */
- NSMutableDictionary *schema;
- BOOL willCommitChangeSchema;
- unsigned int busyTimeout;
- /** \endcond */
-}
+@interface NSFNanoEngine ()
+
+/** \cond */
+@property (nonatomic, assign, readwrite) sqlite3 *sqlite;
+@property (nonatomic, copy, readwrite) NSString *path;
+@property (nonatomic) NSMutableDictionary *schema;
+@property (nonatomic) BOOL willCommitChangeSchema;
+@property (nonatomic) unsigned int busyTimeout;
+/** \endcond */
+
+@end
-@synthesize sqlite;
-@synthesize path;
-@synthesize cacheMethod;
+@implementation NSFNanoEngine
#pragma mark -
@@ -87,7 +83,7 @@ - (id)initWithPath:(NSString *)thePath
userInfo:nil]raise];
if ((self = [self init])) {
- path = [thePath copy];
+ _path = thePath;
}
return self;
@@ -103,8 +99,8 @@ + (void)initialize
- (id)init
{
if ((self = [super init])) {
- path = nil;
- schema = nil;
+ _path = nil;
+ _schema = nil;
}
return self;
}
@@ -126,7 +122,7 @@ - (NSFOrderedDictionary *)dictionaryDescription
NSFOrderedDictionary *values = [NSFOrderedDictionary new];
values[@"SQLite address"] = [NSString stringWithFormat:@"%p", self.sqlite];
- values[@"Database path"] = path;
+ values[@"Database path"] = _path;
values[@"Cache method"] = [self NSFP_cacheMethodToString];
return values;
@@ -148,7 +144,7 @@ - (NSString *)JSONDescription
- (BOOL)openWithCacheMethod:(NSFCacheMethod)theCacheMethod useFastMode:(BOOL)useFastMode
{
- int status = sqlite3_open_v2( [path UTF8String], &sqlite,
+ int status = sqlite3_open_v2( [_path UTF8String], &_sqlite,
SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE | SQLITE_OPEN_AUTOPROXY | SQLITE_OPEN_FULLMUTEX, NULL);
// Set NanoStoreEngine's page size to match the system current page size
@@ -166,7 +162,7 @@ - (BOOL)openWithCacheMethod:(NSFCacheMethod)theCacheMethod useFastMode:(BOOL)use
if ((SQLITE_OK != status) || (sqlite3_extended_result_codes(self.sqlite, 1) != SQLITE_OK))
return NO;
- if ([[path lowercaseString]isEqualToString:NSFMemoryDatabase] == YES) {
+ if ([[_path lowercaseString]isEqualToString:NSFMemoryDatabase] == YES) {
sqlite3_exec(self.sqlite, "PRAGMA fullfsync = OFF;", NULL, NULL, NULL);
sqlite3_exec(self.sqlite, "PRAGMA temp_store = MEMORY", NULL, NULL, NULL);
@@ -192,7 +188,7 @@ - (BOOL)openWithCacheMethod:(NSFCacheMethod)theCacheMethod useFastMode:(BOOL)use
}
// Save whether we want data to be fetched lazily
- cacheMethod = theCacheMethod;
+ _cacheMethod = theCacheMethod;
[self setBusyTimeout:250];
@@ -229,7 +225,7 @@ - (BOOL)close
}
int status = sqlite3_close(self.sqlite);
- sqlite = NULL;
+ _sqlite = NULL;
// Since we're operating with extended result code support, extract the bits
// and obtain the regular result code
@@ -252,7 +248,7 @@ - (BOOL)beginTransaction
if (YES == [self isTransactionActive])
return NO;
- willCommitChangeSchema = NO;
+ _willCommitChangeSchema = NO;
return [self beginDeferredTransaction];
}
@@ -262,7 +258,7 @@ - (BOOL)beginDeferredTransaction
if (YES == [self isTransactionActive])
return NO;
- willCommitChangeSchema = NO;
+ _willCommitChangeSchema = NO;
return [self NSFP_beginTransactionMode:@"BEGIN DEFERRED TRANSACTION;"];
}
@@ -270,19 +266,19 @@ - (BOOL)beginDeferredTransaction
- (BOOL)commitTransaction
{
if (NO == [self isTransactionActive]) {
- willCommitChangeSchema = NO;
+ _willCommitChangeSchema = NO;
return NO;
}
- if (NO == willCommitChangeSchema)
+ if (NO == _willCommitChangeSchema)
[self NSFP_uninstallCommitCallback];
BOOL success = (nil == [[self executeSQL:@"COMMIT TRANSACTION;"]error]);
- if (NO == willCommitChangeSchema)
+ if (NO == _willCommitChangeSchema)
[self NSFP_installCommitCallback];
- willCommitChangeSchema = NO;
+ _willCommitChangeSchema = NO;
return success;
}
@@ -290,13 +286,13 @@ - (BOOL)commitTransaction
- (BOOL)rollbackTransaction
{
if ([self isTransactionActive] == NO) {
- willCommitChangeSchema = NO;
+ _willCommitChangeSchema = NO;
return NO;
}
BOOL success = (nil == [[self executeSQL:@"ROLLBACK TRANSACTION;"]error]);
- willCommitChangeSchema = NO;
+ _willCommitChangeSchema = NO;
return success;
}
@@ -717,14 +713,9 @@ - (void)setBusyTimeout:(unsigned int)theTimeout
theTimeout = 250;
}
- busyTimeout = theTimeout;
+ _busyTimeout = theTimeout;
- sqlite3_busy_timeout(self.sqlite, busyTimeout);
-}
-
-- (unsigned int)busyTimeout
-{
- return busyTimeout;
+ sqlite3_busy_timeout(self.sqlite, _busyTimeout);
}
+ (NSInteger)systemPageSize
@@ -1078,7 +1069,7 @@ + (NSArray *)NSFP_sharedROWIDKeywords
- (NSString *)NSFP_cacheMethodToString
{
- switch (cacheMethod) {
+ switch (_cacheMethod) {
case CacheAllData:
return @"Cache all data";
break;
@@ -1190,8 +1181,8 @@ - (NSFNanoDatatype)NSFP_datatypeForTable:(NSString *)table column:(NSString *)co
NSString *datatype = nil;
// Check to see if the schema has been cached; take advantage of it if possible...
- if (nil != schema) {
- datatype = [[schema objectForKey:table]objectForKey:column];
+ if (nil != _schema) {
+ datatype = [[_schema objectForKey:table]objectForKey:column];
if (nil == datatype) datatype = NSFStringFromNanoDataType(NSFNanoTypeUnknown);
} else {
NSString *theSQLStatement = [NSString stringWithFormat:@"SELECT %@ from %@ WHERE %@ = '%@' AND %@ = '%@';", NSFP_DatatypeIdentifier, NSFP_SchemaTable, NSFP_TableIdentifier, table, NSFP_ColumnIdentifier, column];
@@ -1202,14 +1193,14 @@ - (NSFNanoDatatype)NSFP_datatypeForTable:(NSString *)table column:(NSString *)co
if (nil == datatype) datatype = NSFStringFromNanoDataType(NSFNanoTypeUnknown);
- NSMutableDictionary *tempSchema = [schema objectForKey:table];
+ NSMutableDictionary *tempSchema = [_schema objectForKey:table];
if (nil != tempSchema)
tempSchema = [[NSMutableDictionary alloc]init];
else
;
[tempSchema setObject:datatype forKey:column];
- [schema setObject:tempSchema forKey:table];
+ [_schema setObject:tempSchema forKey:table];
tempSchema = nil;
}
@@ -1513,8 +1504,8 @@ - (BOOL)NSFP_removeColumn:(NSString *)column fromTable:(NSString *)table
- (void)NSFP_rebuildDatatypeCache
{
// Cleanup
- schema = nil;
- schema = [[NSMutableDictionary alloc]init];
+ _schema = nil;
+ _schema = [[NSMutableDictionary alloc]init];
NSArray *tables = [self NSFP_flattenAllTables];
if ([tables count] == 0)
@@ -1535,7 +1526,7 @@ - (void)NSFP_rebuildDatatypeCache
[tableDictionary setObject:[datatypes objectAtIndex:j] forKey:[columns objectAtIndex:j]];
}
- [schema setObject:tableDictionary forKey:table];
+ [_schema setObject:tableDictionary forKey:table];
}
}
@@ -1738,8 +1729,8 @@ - (BOOL)NSFP_isColumnROWIDAlias:(NSString *)column forTable:(NSString *)table
NSString *rowUIDDatatype = NSFStringFromNanoDataType(NSFNanoTypeRowUID);
- if (nil != schema)
- return [[[schema objectForKey:table]objectForKey:column]isEqualToString:rowUIDDatatype];
+ if (nil != _schema)
+ return [[[_schema objectForKey:table]objectForKey:column]isEqualToString:rowUIDDatatype];
NSString *theSQLStatement = [NSString stringWithFormat:@"SELECT %@ FROM %@ WHERE %@ = '%@' AND %@ = '%@';", NSFP_DatatypeIdentifier, NSFP_SchemaTable, NSFP_TableIdentifier, table, NSFP_ColumnIdentifier, column];
NSFNanoResult* result = [self executeSQL:theSQLStatement];
View
95 vendor/Pods/NanoStore/Classes/Advanced/NSFNanoResult.m
@@ -27,16 +27,17 @@
#import "NSFNanoResult.h"
#import "NanoStore_Private.h"
-@implementation NSFNanoResult
-{
-@protected
- /** \cond */
- NSDictionary *results;
- /** \endcond */
-}
+@interface NSFNanoResult ()
+
+/** \cond */
+@property (nonatomic, assign, readwrite) NSUInteger numberOfRows;
+@property (nonatomic, strong, readwrite) NSError *error;
+@property (nonatomic) NSDictionary *results;
+/** \endcond */
-@synthesize numberOfRows;
-@synthesize error;
+@end
+
+@implementation NSFNanoResult
/** \cond */
@@ -57,24 +58,24 @@ - (void)dealloc
- (NSString *)description
{
- NSUInteger numberOfColumns = [[results allKeys]count];
+ NSUInteger numberOfColumns = [[_results allKeys]count];
NSMutableString *description = [NSMutableString string];
[description appendString:@"\n"];
[description appendString:[NSString stringWithFormat:@"Result address : %p\n", self]];
[description appendString:[NSString stringWithFormat:@"Number of columns : %ld\n", numberOfColumns]];
- if (nil == error)
+ if (nil == _error)
if ([[self columns]count] > 0)
[description appendString:[NSString stringWithFormat:@"Columns : %@\n", [[self columns]componentsJoinedByString:@", "]]];
else
[description appendString:[NSString stringWithFormat:@"Columns : %@\n", @"()"]];
else
[description appendString:[NSString stringWithFormat:@"Columns : %@\n", @"<column info not available>"]];
- [description appendString:[NSString stringWithFormat:@"Number of rows : %ld\n", numberOfRows]];
- if (nil == error)
+ [description appendString:[NSString stringWithFormat:@"Number of rows : %ld\n", _numberOfRows]];
+ if (nil == _error)
[description appendString:[NSString stringWithFormat:@"Error : %@\n", @"<no error>"]];
else
- [description appendString:[NSString stringWithFormat:@"Error : %@\n", [error localizedDescription]]];
+ [description appendString:[NSString stringWithFormat:@"Error : %@\n", [_error localizedDescription]]];
// Print up to the first ten rows to help visualize the cursor
if (0 != numberOfColumns) {
@@ -105,11 +106,11 @@ - (NSString *)description
}
// Print the preview of the contents
- if (numberOfRows > 0) {
- NSInteger numberOfRowsToPrint = numberOfRows;
+ if (_numberOfRows > 0) {
+ NSInteger numberOfRowsToPrint = _numberOfRows;
NSUInteger j;
- if (numberOfRows > 100) {
+ if (_numberOfRows > 100) {
numberOfRowsToPrint = 100;
}
@@ -141,13 +142,13 @@ - (NSString *)description
- (NSFOrderedDictionary *)dictionaryDescription
{
- NSUInteger numberOfColumns = [[results allKeys]count];
+ NSUInteger numberOfColumns = [[_results allKeys]count];
NSFOrderedDictionary *values = [NSFOrderedDictionary new];
values[@"Result address"] = [NSString stringWithFormat:@"%p", self];
values[@"Number of columns"] = @(numberOfColumns);
- if (nil == error) {
+ if (nil == _error) {
if ([[self columns]count] > 0) {
values[@"Columns"] = [[self columns]componentsJoinedByString:@", "];
} else {
@@ -156,11 +157,11 @@ - (NSFOrderedDictionary *)dictionaryDescription
} else {
values[@"Columns"] = @"<column info not available>";
}
- values[@"Number of rows"] = @(numberOfRows);
- if (nil == error) {
+ values[@"Number of rows"] = @(_numberOfRows);
+ if (nil == _error) {
values[@"Error"] = @"<nil>";
} else {
- values[@"Error"] = [NSString stringWithFormat:@"%@", [error localizedDescription]];
+ values[@"Error"] = [NSString stringWithFormat:@"%@", [_error localizedDescription]];
}
// Print up to the first ten rows to help visualize the cursor
@@ -196,11 +197,11 @@ - (NSFOrderedDictionary *)dictionaryDescription
[printedContent addObject:[contentString copy]];
// Print the preview of the contents
- if (numberOfRows > 0) {
- NSInteger numberOfRowsToPrint = numberOfRows;
+ if (_numberOfRows > 0) {
+ NSInteger numberOfRowsToPrint = _numberOfRows;
NSUInteger j;
- if (numberOfRows > 100) {
+ if (_numberOfRows > 100) {
numberOfRowsToPrint = 100;
}
@@ -251,17 +252,17 @@ - (NSString *)JSONDescription
- (NSArray *)columns
{
- return [results allKeys];
+ return [_results allKeys];
}
- (NSString *)valueAtIndex:(NSUInteger)index forColumn:(NSString *)column
{
- return [[results objectForKey:column]objectAtIndex:index];
+ return [[_results objectForKey:column]objectAtIndex:index];
}
- (NSArray *)valuesForColumn:(NSString *)column
{
- NSArray *values = [results objectForKey:column];
+ NSArray *values = [_results objectForKey:column];
if (nil == values)
values = [NSArray array];
@@ -271,22 +272,17 @@ - (NSArray *)valuesForColumn:(NSString *)column
- (NSString *)firstValue
{
- NSArray *columns = [results allKeys];
- if (([columns count] > 0) && (numberOfRows > 0)) {
- return [[results objectForKey:[columns objectAtIndex:0]]objectAtIndex:0];
+ NSArray *columns = [_results allKeys];
+ if (([columns count] > 0) && (_numberOfRows > 0)) {
+ return [[_results objectForKey:[columns objectAtIndex:0]]objectAtIndex:0];
}
return nil;
}
-- (NSError *)error
-{
- return [error copy];
-}
-
- (void)writeToFile:(NSString *)path;
{
- [results writeToFile:[path stringByExpandingTildeInPath] atomically:YES];
+ [_results writeToFile:[path stringByExpandingTildeInPath] atomically:YES];
}
#pragma mark - Private Methods
@@ -316,7 +312,7 @@ - (id)_initWithDictionary:(NSDictionary *)theResults
userInfo:nil]raise];
if ((self = [self init])) {
- results = theResults;
+ _results = theResults;
[self _calculateNumberOfRows];
}
@@ -336,36 +332,29 @@ - (id)_initWithError:(NSError *)theError
userInfo:nil]raise];
if ((self = [self init])) {
- error = theError;
+ _error = theError;
[self _calculateNumberOfRows];
}
return self;
}
-- (void)_setError:(NSError *)theError
-{
- if (error != theError) {
- error = theError;
- }
-}
-
- (void)_reset
{
- numberOfRows = -1;
- results = nil;
- error = nil;
+ _numberOfRows = -1;
+ _results = nil;
+ _error = nil;
}
- (void)_calculateNumberOfRows
{