nano-store 0.6.1 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +4 -0
- data/Rakefile +1 -1
- data/lib/nano_store.rb +1 -1
- data/lib/nano_store/version.rb +1 -1
- data/nano-store.gemspec +2 -2
- data/vendor/Podfile.lock +3 -3
- data/vendor/Pods/BuildHeaders/NanoStore/NSFNanoGlobals.h +1 -3
- data/vendor/Pods/BuildHeaders/NanoStore/NSFNanoPredicate.h +5 -5
- data/vendor/Pods/BuildHeaders/NanoStore/NSFNanoSearch.h +3 -5
- data/vendor/Pods/BuildHeaders/NanoStore/NSFNanoSortDescriptor.h +1 -1
- data/vendor/Pods/BuildHeaders/NanoStore/NanoStore.h +0 -36
- data/vendor/Pods/Documentation/NanoStore/docset-installed.txt +2 -2
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Info.plist +3 -3
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoBag.html +1 -1
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoEngine.html +1 -1
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoExpression.html +1 -1
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoObject.html +1 -1
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoPredicate.html +6 -6
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoResult.html +1 -1
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoSearch.html +4 -65
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoSortDescriptor.html +2 -2
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoStore.html +1 -1
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFOrderedDictionary.html +1 -1
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Protocols/NSFNanoObjectProtocol.html +1 -1
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/hierarchy.html +4 -4
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/index.html +4 -4
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Nodes.xml +1 -1
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens5.xml +6 -6
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens7.xml +2 -24
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens8.xml +2 -2
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.dsidx +0 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.skidx +0 -0
- data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.toc +0 -0
- data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoBag.html +1 -1
- data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoEngine.html +1 -1
- data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoExpression.html +1 -1
- data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoObject.html +1 -1
- data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoPredicate.html +6 -6
- data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoResult.html +1 -1
- data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoSearch.html +4 -65
- data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoSortDescriptor.html +2 -2
- data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoStore.html +1 -1
- data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFOrderedDictionary.html +1 -1
- data/vendor/Pods/Documentation/NanoStore/html/Protocols/NSFNanoObjectProtocol.html +1 -1
- data/vendor/Pods/Documentation/NanoStore/html/hierarchy.html +4 -4
- data/vendor/Pods/Documentation/NanoStore/html/index.html +4 -4
- data/vendor/Pods/Headers/NanoStore/NSFNanoGlobals.h +1 -3
- data/vendor/Pods/Headers/NanoStore/NSFNanoPredicate.h +5 -5
- data/vendor/Pods/Headers/NanoStore/NSFNanoSearch.h +3 -5
- data/vendor/Pods/Headers/NanoStore/NSFNanoSortDescriptor.h +1 -1
- data/vendor/Pods/Headers/NanoStore/NanoStore.h +0 -36
- data/vendor/Pods/NanoStore/Classes/Advanced/NSFNanoEngine.m +49 -40
- data/vendor/Pods/NanoStore/Classes/Advanced/NSFNanoResult.m +53 -42
- data/vendor/Pods/NanoStore/Classes/Public/NSFNanoBag.m +89 -80
- data/vendor/Pods/NanoStore/Classes/Public/NSFNanoExpression.m +13 -11
- data/vendor/Pods/NanoStore/Classes/Public/NSFNanoGlobals.h +1 -3
- data/vendor/Pods/NanoStore/Classes/Public/NSFNanoGlobals.m +0 -1
- data/vendor/Pods/NanoStore/Classes/Public/NSFNanoObject.m +29 -34
- data/vendor/Pods/NanoStore/Classes/Public/NSFNanoPredicate.h +5 -5
- data/vendor/Pods/NanoStore/Classes/Public/NSFNanoPredicate.m +34 -43
- data/vendor/Pods/NanoStore/Classes/Public/NSFNanoSearch.h +3 -5
- data/vendor/Pods/NanoStore/Classes/Public/NSFNanoSearch.m +97 -171
- data/vendor/Pods/NanoStore/Classes/Public/NSFNanoSortDescriptor.h +1 -1
- data/vendor/Pods/NanoStore/Classes/Public/NSFNanoSortDescriptor.m +12 -13
- data/vendor/Pods/NanoStore/Classes/Public/NSFNanoStore.m +82 -83
- data/vendor/Pods/NanoStore/Classes/Public/NanoStore.h +0 -36
- data/vendor/Pods/Pods.bridgesupport +640 -648
- metadata +7 -7
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
# [0.6.2](https://github.com/siuying/NanoStoreInMotion/compare/v0.6.1%E2%80%A6v0.6.2)
|
|
2
|
+
|
|
3
|
+
- Revert to NanoStore 2.5.3
|
|
4
|
+
|
|
1
5
|
# [0.6.1](https://github.com/siuying/NanoStoreInMotion/compare/v0.6.0%E2%80%A6v0.6.1)
|
|
2
6
|
|
|
3
7
|
- ```attributes``` method to add multiple attributes in one line (thanks @gouravtiwari)
|
data/Rakefile
CHANGED
data/lib/nano_store.rb
CHANGED
data/lib/nano_store/version.rb
CHANGED
data/nano-store.gemspec
CHANGED
|
@@ -4,8 +4,8 @@ require File.expand_path('../lib/nano_store/version', __FILE__)
|
|
|
4
4
|
Gem::Specification.new do |gem|
|
|
5
5
|
gem.authors = ["Francis Chong"]
|
|
6
6
|
gem.email = ["francis@ignition.hk"]
|
|
7
|
-
gem.description = "
|
|
8
|
-
gem.summary = "
|
|
7
|
+
gem.description = "RubyMotion wrapper for NanoStore, a lightweight schema-less key-value document database based on sqlite."
|
|
8
|
+
gem.summary = "RubyMotion wrapper for NanoStore, a lightweight schema-less key-value document database based on sqlite."
|
|
9
9
|
gem.homepage = "https://github.com/siuying/NanoStoreInMotion"
|
|
10
10
|
|
|
11
11
|
gem.files = `git ls-files`.split($\)
|
data/vendor/Podfile.lock
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
PODS:
|
|
3
|
-
- NanoStore (2.5.
|
|
3
|
+
- NanoStore (2.5.2)
|
|
4
4
|
|
|
5
5
|
DEPENDENCIES:
|
|
6
|
-
- NanoStore (
|
|
6
|
+
- NanoStore (= 2.5.2)
|
|
7
7
|
|
|
8
8
|
SPEC CHECKSUMS:
|
|
9
|
-
NanoStore:
|
|
9
|
+
NanoStore: eb22a867411f5ecdf3c959ba58fecd8b8af90e2b
|
|
10
10
|
|
|
11
11
|
COCOAPODS: 0.16.1
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
/** * The comparison operator to be used. */
|
|
78
78
|
@property (nonatomic, assign, readonly) NSFMatchType match;
|
|
79
79
|
/** * The value to be used for comparison. */
|
|
80
|
-
@property (nonatomic, readonly)
|
|
80
|
+
@property (nonatomic, copy, readonly) NSString *value;
|
|
81
81
|
|
|
82
82
|
/** @name Creating and Initializing a Predicate
|
|
83
83
|
*/
|
|
@@ -87,22 +87,22 @@
|
|
|
87
87
|
/** * Creates and returns a predicate.
|
|
88
88
|
* @param theType is the column type. Can be \link Globals::NSFKeyColumn NSFKeyColumn \endlink, \link Globals::NSFAttributeColumn NSFAttributeColumn \endlink or \link Globals::NSFValueColumn NSFValueColumn \endlink.
|
|
89
89
|
* @param theMatch is the match operator.
|
|
90
|
-
* @param theValue
|
|
90
|
+
* @param theValue is the value.
|
|
91
91
|
* @return A predicate which can be used in an NSFNanoExpression.
|
|
92
92
|
* @see \link initWithColumn:matching:value: - (id)initWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(NSString *)theValue \endlink
|
|
93
93
|
*/
|
|
94
94
|
|
|
95
|
-
+ (NSFNanoPredicate*)predicateWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(
|
|
95
|
+
+ (NSFNanoPredicate*)predicateWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(NSString *)theValue;
|
|
96
96
|
|
|
97
97
|
/** * Initializes a newly allocated predicate.
|
|
98
98
|
* @param theType is the column type. Can be \link Globals::NSFKeyColumn NSFKeyColumn \endlink, \link Globals::NSFAttributeColumn NSFAttributeColumn \endlink or \link Globals::NSFValueColumn NSFValueColumn \endlink.
|
|
99
99
|
* @param theMatch is the match operator.
|
|
100
|
-
* @param theValue
|
|
100
|
+
* @param theValue is the value.
|
|
101
101
|
* @return A predicate which can be used in an NSFNanoExpression.
|
|
102
102
|
* @see \link predicateWithColumn:matching:value: + (NSFNanoPredicate*)predicateWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(NSString *)theValue \endlink
|
|
103
103
|
*/
|
|
104
104
|
|
|
105
|
-
- (id)initWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(
|
|
105
|
+
- (id)initWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(NSString *)theValue;
|
|
106
106
|
|
|
107
107
|
//@}
|
|
108
108
|
|
|
@@ -175,13 +175,11 @@
|
|
|
175
175
|
/** * The sort holds an array of one or more sort descriptors of type \link NSFNanoSortDescriptor NSFNanoSortDescriptor \endlink. */
|
|
176
176
|
@property (nonatomic, strong, readwrite) NSArray *sort;
|
|
177
177
|
/** * The filterClass allows to filter the results based on a specific object class. */
|
|
178
|
-
@property (nonatomic,
|
|
178
|
+
@property (nonatomic, strong, readwrite) NSString *filterClass;
|
|
179
179
|
/** * If an expression has an offset clause, then the first M rows are omitted from the result set returned by the search operation and the next N rows are returned, where M and N are the values that the offset and limit clauses evaluate to, respectively. Or, if the search would return less than M+N rows if it did not have a limit clause, then the first M rows are skipped and the remaining rows (if any) are returned. */
|
|
180
180
|
@property (nonatomic, assign, readwrite) NSUInteger offset;
|
|
181
181
|
/** * The limit clause is used to place an upper bound on the number of rows returned by a Search operation. */
|
|
182
182
|
@property (nonatomic, assign, readwrite) NSUInteger limit;
|
|
183
|
-
/** * limit a Search to a particular bag. */
|
|
184
|
-
@property (nonatomic, assign, readwrite) NSFNanoBag *bag;
|
|
185
183
|
|
|
186
184
|
/** @name Creating and Initializing a Search
|
|
187
185
|
*/
|
|
@@ -215,7 +213,7 @@
|
|
|
215
213
|
* @param theReturnType the type of object to be returned. Can be \link Globals::NSFReturnObjects NSFReturnObjects \endlink or \link Globals::NSFReturnKeys NSFReturnKeys \endlink.
|
|
216
214
|
* @param outError is used if an error occurs. May be NULL.
|
|
217
215
|
* @return An array is returned if: 1) the sort has been specified or 2) the return type is \link Globals::NSFReturnKeys NSFReturnKeys \endlink. Otherwise, a dictionary is returned.
|
|
218
|
-
* @note The sort descriptor will be ignored when
|
|
216
|
+
* @note The sort descriptor will be ignored when returning requesting NSFReturnKeys.
|
|
219
217
|
* @see \link searchObjectsAdded:date:returnType:error: - (id)searchObjectsAdded:(NSFDateMatchType)theDateMatch date:(NSDate *)theDate returnType:(NSFReturnType)theReturnType error:(out NSError **)outError \endlink
|
|
220
218
|
*/
|
|
221
219
|
|
|
@@ -227,7 +225,7 @@
|
|
|
227
225
|
* @param theReturnType the type of object to be returned. Can be \link Globals::NSFReturnObjects NSFReturnObjects \endlink or \link Globals::NSFReturnKeys NSFReturnKeys \endlink.
|
|
228
226
|
* @param outError is used if an error occurs. May be NULL.
|
|
229
227
|
* @return If theReturnType is \link Globals::NSFReturnObjects NSFReturnObjects \endlink, a dictionary is returned. Otherwise, an array is returned.
|
|
230
|
-
* @note The sort descriptor will be ignored when
|
|
228
|
+
* @note The sort descriptor will be ignored when returning requesting NSFReturnKeys.
|
|
231
229
|
* @see \link searchObjectsWithReturnType:error: - (id)searchObjectsWithReturnType:(NSFReturnType)theReturnType error:(out NSError **)outError \endlink
|
|
232
230
|
*/
|
|
233
231
|
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
@interface NSFNanoSortDescriptor : NSObject
|
|
76
76
|
|
|
77
77
|
/** * The property key to use when performing a comparison */
|
|
78
|
-
@property (nonatomic,
|
|
78
|
+
@property (nonatomic, readonly) NSString *attribute;
|
|
79
79
|
/** * The property to indicate whether the comparison should be performed in ascending mode */
|
|
80
80
|
@property (nonatomic, readonly) BOOL isAscending;
|
|
81
81
|
|
|
@@ -64,13 +64,6 @@
|
|
|
64
64
|
- iOS library runs on the device and simulator
|
|
65
65
|
- ARC compliant
|
|
66
66
|
|
|
67
|
-
@section latest_changes Latest changes
|
|
68
|
-
v2.5 - January 1, 2013
|
|
69
|
-
|
|
70
|
-
Starting with v2.5, the plist mechanism has been replaced with NSKeyedArchiver. There are several reasons for it: it's more compact, faster and uses less memory. Perhaps the most important reason is that it opens the possibility to store other data types.
|
|
71
|
-
|
|
72
|
-
NSNull is now supported. Big thanks to Wanny (https://github.com/mrwanny) for taking the time to improve this section of NanoStore.
|
|
73
|
-
|
|
74
67
|
@section installation_sec Installation
|
|
75
68
|
|
|
76
69
|
Building NanoStore is very easy. Just follow these steps:
|
|
@@ -430,35 +423,6 @@
|
|
|
430
423
|
[sortByLastName release];
|
|
431
424
|
@endcode
|
|
432
425
|
|
|
433
|
-
@section paging_limit_sec Paging using Limit and Offset
|
|
434
|
-
SQLite provides a really cool feature called OFFSET that is usually used with a LIMIT clause.
|
|
435
|
-
|
|
436
|
-
The LIMIT clause is used to limit the number of results returned in a SQL statement. So if you have 1000 rows in table, but only want to return the first 10, you would do something like this:
|
|
437
|
-
@code
|
|
438
|
-
SELECT column FROM table LIMIT 10
|
|
439
|
-
@endcode
|
|
440
|
-
Now suppose you wanted to show results 11-20. With the OFFSET keyword it's just as easy. The following query will do:
|
|
441
|
-
@code
|
|
442
|
-
SELECT column FROM table LIMIT 10 OFFSET 10
|
|
443
|
-
@endcode
|
|
444
|
-
Using pagination is also quite easy with NanoStore. This example based on one of the unit tests provided with the NanoStore distro:
|
|
445
|
-
@code
|
|
446
|
-
NSFNanoStore *nanoStore = [NSFNanoStore createAndOpenStoreWithType:NSFMemoryStoreType path:nil error:nil];
|
|
447
|
-
|
|
448
|
-
// Assume we have added objects to the store
|
|
449
|
-
|
|
450
|
-
NSFNanoSearch *search = [NSFNanoSearch searchWithStore:nanoStore];
|
|
451
|
-
search.value = @"Barcelona";
|
|
452
|
-
search.match = NSFEqualTo;
|
|
453
|
-
search.limit = 5;
|
|
454
|
-
search.offset = 3;
|
|
455
|
-
|
|
456
|
-
NSDictionary *searchResults = [search searchObjectsWithReturnType:NSFReturnObjects error:nil];
|
|
457
|
-
|
|
458
|
-
// Assuming the query matches some results, NanoStore should have retrieved
|
|
459
|
-
// the first 5 records right after the 3rd one from the result set.
|
|
460
|
-
@endcode
|
|
461
|
-
|
|
462
426
|
@section performancetips_sec Performance Tips
|
|
463
427
|
|
|
464
428
|
NanoStore by defaults saves every object to disk one by one. To speed up inserts and edited objects, increase NSFNanoStore's \link NSFNanoStore::saveInterval saveInterval \endlink property.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Documentation set was installed to Xcode!
|
|
2
2
|
|
|
3
|
-
Path: /Users/siuying/Library/Developer/Shared/Documentation/DocSets/org.cocoapods.NanoStore-2.5.
|
|
4
|
-
Time: 2013-01-22
|
|
3
|
+
Path: /Users/siuying/Library/Developer/Shared/Documentation/DocSets/org.cocoapods.NanoStore-2.5.2.docset
|
|
4
|
+
Time: 2013-01-22 09:31:56 +0000
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
<key>CFBundleDevelopmentRegion</key>
|
|
6
6
|
<string>en</string>
|
|
7
7
|
<key>CFBundleIdentifier</key>
|
|
8
|
-
<string>org.cocoapods.NanoStore-2.5.
|
|
8
|
+
<string>org.cocoapods.NanoStore-2.5.2</string>
|
|
9
9
|
<key>CFBundleName</key>
|
|
10
|
-
<string>NanoStore 2.5.
|
|
10
|
+
<string>NanoStore 2.5.2 Documentation</string>
|
|
11
11
|
<key>CFBundleShortVersionString</key>
|
|
12
12
|
<string>1.0</string>
|
|
13
13
|
<key>CFBundleVersion</key>
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<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>
|
|
19
19
|
|
|
20
20
|
<key>DocSetFeedName</key>
|
|
21
|
-
<string>NanoStore 2.5.
|
|
21
|
+
<string>NanoStore 2.5.2 Documentation</string>
|
|
22
22
|
|
|
23
23
|
<key>DocSetMinimumXcodeVersion</key>
|
|
24
24
|
<string>3.0</string>
|
data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoBag.html
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<body>
|
|
13
13
|
<header id="top_header">
|
|
14
14
|
<div id="library" class="hideInXcode">
|
|
15
|
-
<h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.
|
|
15
|
+
<h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
|
|
16
16
|
<a id="developerHome" href="../index.html">Tito Ciuro</a>
|
|
17
17
|
</div>
|
|
18
18
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<body>
|
|
13
13
|
<header id="top_header">
|
|
14
14
|
<div id="library" class="hideInXcode">
|
|
15
|
-
<h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.
|
|
15
|
+
<h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
|
|
16
16
|
<a id="developerHome" href="../index.html">Tito Ciuro</a>
|
|
17
17
|
</div>
|
|
18
18
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<body>
|
|
13
13
|
<header id="top_header">
|
|
14
14
|
<div id="library" class="hideInXcode">
|
|
15
|
-
<h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.
|
|
15
|
+
<h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
|
|
16
16
|
<a id="developerHome" href="../index.html">Tito Ciuro</a>
|
|
17
17
|
</div>
|
|
18
18
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<body>
|
|
13
13
|
<header id="top_header">
|
|
14
14
|
<div id="library" class="hideInXcode">
|
|
15
|
-
<h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.
|
|
15
|
+
<h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
|
|
16
16
|
<a id="developerHome" href="../index.html">Tito Ciuro</a>
|
|
17
17
|
</div>
|
|
18
18
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<body>
|
|
13
13
|
<header id="top_header">
|
|
14
14
|
<div id="library" class="hideInXcode">
|
|
15
|
-
<h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.
|
|
15
|
+
<h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
|
|
16
16
|
<a id="developerHome" href="../index.html">Tito Ciuro</a>
|
|
17
17
|
</div>
|
|
18
18
|
|
|
@@ -404,7 +404,7 @@ NSDictionary *searchResults = [search searchObjectsWithReturnType:NSFReturnObjec
|
|
|
404
404
|
|
|
405
405
|
|
|
406
406
|
|
|
407
|
-
<div class="method-subsection method-declaration"><code>@property (nonatomic, readonly)
|
|
407
|
+
<div class="method-subsection method-declaration"><code>@property (nonatomic, copy, readonly) NSString *value</code></div>
|
|
408
408
|
|
|
409
409
|
|
|
410
410
|
|
|
@@ -456,7 +456,7 @@ NSDictionary *searchResults = [search searchObjectsWithReturnType:NSFReturnObjec
|
|
|
456
456
|
|
|
457
457
|
|
|
458
458
|
|
|
459
|
-
<div class="method-subsection method-declaration"><code>+ (NSFNanoPredicate *)predicateWithColumn:(NSFTableColumnType)<em>theType</em> matching:(NSFMatchType)<em>theMatch</em> value:(
|
|
459
|
+
<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>
|
|
460
460
|
|
|
461
461
|
|
|
462
462
|
|
|
@@ -475,7 +475,7 @@ NSDictionary *searchResults = [search searchObjectsWithReturnType:NSFReturnObjec
|
|
|
475
475
|
|
|
476
476
|
<dl class="argument-def parameter-def">
|
|
477
477
|
<dt><em>theValue</em></dt>
|
|
478
|
-
<dd><p>
|
|
478
|
+
<dd><p>is the <a href="#//api/name/value">value</a>.</p></dd>
|
|
479
479
|
</dl>
|
|
480
480
|
|
|
481
481
|
</div>
|
|
@@ -621,7 +621,7 @@ NSDictionary *searchResults = [search searchObjectsWithReturnType:NSFReturnObjec
|
|
|
621
621
|
|
|
622
622
|
|
|
623
623
|
|
|
624
|
-
<div class="method-subsection method-declaration"><code>- (id)initWithColumn:(NSFTableColumnType)<em>theType</em> matching:(NSFMatchType)<em>theMatch</em> value:(
|
|
624
|
+
<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>
|
|
625
625
|
|
|
626
626
|
|
|
627
627
|
|
|
@@ -640,7 +640,7 @@ NSDictionary *searchResults = [search searchObjectsWithReturnType:NSFReturnObjec
|
|
|
640
640
|
|
|
641
641
|
<dl class="argument-def parameter-def">
|
|
642
642
|
<dt><em>theValue</em></dt>
|
|
643
|
-
<dd><p>
|
|
643
|
+
<dd><p>is the <a href="#//api/name/value">value</a>.</p></dd>
|
|
644
644
|
</dl>
|
|
645
645
|
|
|
646
646
|
</div>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<body>
|
|
13
13
|
<header id="top_header">
|
|
14
14
|
<div id="library" class="hideInXcode">
|
|
15
|
-
<h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.
|
|
15
|
+
<h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
|
|
16
16
|
<a id="developerHome" href="../index.html">Tito Ciuro</a>
|
|
17
17
|
</div>
|
|
18
18
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<body>
|
|
13
13
|
<header id="top_header">
|
|
14
14
|
<div id="library" class="hideInXcode">
|
|
15
|
-
<h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.
|
|
15
|
+
<h1><a id="libraryTitle" href="../index.html">NanoStore 2.5.2 </a></h1>
|
|
16
16
|
<a id="developerHome" href="../index.html">Tito Ciuro</a>
|
|
17
17
|
</div>
|
|
18
18
|
|
|
@@ -44,8 +44,6 @@
|
|
|
44
44
|
|
|
45
45
|
<option value="//api/name/attributesToBeReturned"> attributesToBeReturned</option>
|
|
46
46
|
|
|
47
|
-
<option value="//api/name/bag"> bag</option>
|
|
48
|
-
|
|
49
47
|
<option value="//api/name/expressions"> expressions</option>
|
|
50
48
|
|
|
51
49
|
<option value="//api/name/filterClass"> filterClass</option>
|
|
@@ -164,8 +162,6 @@
|
|
|
164
162
|
|
|
165
163
|
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/attributesToBeReturned">attributesToBeReturned</a></span></li>
|
|
166
164
|
|
|
167
|
-
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/bag">bag</a></span></li>
|
|
168
|
-
|
|
169
165
|
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/expressions">expressions</a></span></li>
|
|
170
166
|
|
|
171
167
|
<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/filterClass">filterClass</a></span></li>
|
|
@@ -556,16 +552,6 @@ NSDictionary *searchResults = [search searchObjectsWithReturnType:NSFReturnObjec
|
|
|
556
552
|
</span>
|
|
557
553
|
<span class="task-item-suffix">property</span>
|
|
558
554
|
|
|
559
|
-
</li><li>
|
|
560
|
-
<span class="tooltip">
|
|
561
|
-
<code><a href="#//api/name/bag"> bag</a></code>
|
|
562
|
-
<span class="tooltip"><ul>
|
|
563
|
-
<li><a href="#//api/name/limit">limit</a> a Search to a particular bag.</li>
|
|
564
|
-
</ul>
|
|
565
|
-
</span>
|
|
566
|
-
</span>
|
|
567
|
-
<span class="task-item-suffix">property</span>
|
|
568
|
-
|
|
569
555
|
</li>
|
|
570
556
|
</ul>
|
|
571
557
|
|
|
@@ -900,53 +886,6 @@ NSDictionary *searchResults = [search searchObjectsWithReturnType:NSFReturnObjec
|
|
|
900
886
|
|
|
901
887
|
|
|
902
888
|
|
|
903
|
-
<div class="method-subsection declared-in-section">
|
|
904
|
-
<h4 class="method-subtitle">Declared In</h4>
|
|
905
|
-
<code class="declared-in-ref">NSFNanoSearch.h</code><br />
|
|
906
|
-
</div>
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
</div>
|
|
910
|
-
|
|
911
|
-
<div class="section-method">
|
|
912
|
-
<a name="//api/name/bag" title="bag"></a>
|
|
913
|
-
<h3 class="subsubtitle method-title">bag</h3>
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
<div class="method-subsection brief-description">
|
|
918
|
-
<ul>
|
|
919
|
-
<li><a href="#//api/name/limit">limit</a> a Search to a particular bag.</li>
|
|
920
|
-
</ul>
|
|
921
|
-
|
|
922
|
-
</div>
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readwrite) NSFNanoBag *bag</code></div>
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
<div class="method-subsection discussion-section">
|
|
937
|
-
<h4 class="method-subtitle">Discussion</h4>
|
|
938
|
-
<ul>
|
|
939
|
-
<li><a href="#//api/name/limit">limit</a> a Search to a particular bag.</li>
|
|
940
|
-
</ul>
|
|
941
|
-
|
|
942
|
-
</div>
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
889
|
<div class="method-subsection declared-in-section">
|
|
951
890
|
<h4 class="method-subtitle">Declared In</h4>
|
|
952
891
|
<code class="declared-in-ref">NSFNanoSearch.h</code><br />
|
|
@@ -1017,7 +956,7 @@ NSDictionary *searchResults = [search searchObjectsWithReturnType:NSFReturnObjec
|
|
|
1017
956
|
|
|
1018
957
|
|
|
1019
958
|
|
|
1020
|
-
<div class="method-subsection method-declaration"><code>@property (nonatomic,
|
|
959
|
+
<div class="method-subsection method-declaration"><code>@property (nonatomic, strong, readwrite) NSString *filterClass</code></div>
|
|
1021
960
|
|
|
1022
961
|
|
|
1023
962
|
|
|
@@ -2332,7 +2271,7 @@ When invoked, it sets the values of search to its initial state. Resetting and p
|
|
|
2332
2271
|
|
|
2333
2272
|
<div class="method-subsection discussion-section">
|
|
2334
2273
|
<h4 class="method-subtitle">Discussion</h4>
|
|
2335
|
-
<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
|
|
2274
|
+
<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>
|
|
2336
2275
|
</div>
|
|
2337
2276
|
|
|
2338
2277
|
|
|
@@ -2402,7 +2341,7 @@ When invoked, it sets the values of search to its initial state. Resetting and p
|
|
|
2402
2341
|
|
|
2403
2342
|
<div class="method-subsection discussion-section">
|
|
2404
2343
|
<h4 class="method-subtitle">Discussion</h4>
|
|
2405
|
-
<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
|
|
2344
|
+
<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>
|
|
2406
2345
|
</div>
|
|
2407
2346
|
|
|
2408
2347
|
|