nano-store 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. data/CHANGELOG.md +5 -0
  2. data/README.md +3 -1
  3. data/Rakefile +1 -1
  4. data/lib/nano_store.rb +1 -1
  5. data/lib/nano_store/model.rb +11 -7
  6. data/lib/nano_store/version.rb +1 -1
  7. data/spec/model_spec.rb +2 -5
  8. data/vendor/Podfile.lock +4 -4
  9. data/vendor/Pods/BuildHeaders/NanoStore/NSFNanoGlobals.h +3 -1
  10. data/vendor/Pods/BuildHeaders/NanoStore/NSFNanoPredicate.h +5 -5
  11. data/vendor/Pods/BuildHeaders/NanoStore/NSFNanoSearch.h +4 -2
  12. data/vendor/Pods/Documentation/NanoStore/docset-installed.txt +4 -0
  13. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Info.plist +33 -0
  14. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoBag.html +2266 -0
  15. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoEngine.html +4708 -0
  16. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoExpression.html +818 -0
  17. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoObject.html +1781 -0
  18. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoPredicate.html +800 -0
  19. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoResult.html +1054 -0
  20. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoSearch.html +2544 -0
  21. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoSortDescriptor.html +713 -0
  22. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoStore.html +3723 -0
  23. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFOrderedDictionary.html +312 -0
  24. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Protocols/NSFNanoObjectProtocol.html +651 -0
  25. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/css/styles.css +584 -0
  26. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/css/stylesPrint.css +22 -0
  27. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/hierarchy.html +106 -0
  28. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/img/button_bar_background.png +0 -0
  29. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/img/disclosure.png +0 -0
  30. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/img/disclosure_open.png +0 -0
  31. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/img/library_background.png +0 -0
  32. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/img/title_background.png +0 -0
  33. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/index.html +654 -0
  34. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Nodes.xml +92 -0
  35. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens1.xml +596 -0
  36. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens10.xml +48 -0
  37. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens11.xml +118 -0
  38. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens2.xml +1209 -0
  39. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens3.xml +158 -0
  40. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens4.xml +455 -0
  41. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens5.xml +166 -0
  42. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens6.xml +246 -0
  43. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens7.xml +821 -0
  44. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens8.xml +125 -0
  45. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens9.xml +1082 -0
  46. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.dsidx +0 -0
  47. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.mom +0 -0
  48. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.skidx +0 -0
  49. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.toc +0 -0
  50. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoBag.html +2266 -0
  51. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoEngine.html +4708 -0
  52. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoExpression.html +818 -0
  53. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoObject.html +1781 -0
  54. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoPredicate.html +800 -0
  55. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoResult.html +1054 -0
  56. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoSearch.html +2544 -0
  57. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoSortDescriptor.html +713 -0
  58. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoStore.html +3723 -0
  59. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFOrderedDictionary.html +312 -0
  60. data/vendor/Pods/Documentation/NanoStore/html/Protocols/NSFNanoObjectProtocol.html +651 -0
  61. data/vendor/Pods/Documentation/NanoStore/html/css/styles.css +584 -0
  62. data/vendor/Pods/Documentation/NanoStore/html/css/stylesPrint.css +22 -0
  63. data/vendor/Pods/Documentation/NanoStore/html/hierarchy.html +106 -0
  64. data/vendor/Pods/Documentation/NanoStore/html/img/button_bar_background.png +0 -0
  65. data/vendor/Pods/Documentation/NanoStore/html/img/disclosure.png +0 -0
  66. data/vendor/Pods/Documentation/NanoStore/html/img/disclosure_open.png +0 -0
  67. data/vendor/Pods/Documentation/NanoStore/html/img/library_background.png +0 -0
  68. data/vendor/Pods/Documentation/NanoStore/html/img/title_background.png +0 -0
  69. data/vendor/Pods/Documentation/NanoStore/html/index.html +654 -0
  70. data/vendor/Pods/Headers/NanoStore/NSFNanoGlobals.h +3 -1
  71. data/vendor/Pods/Headers/NanoStore/NSFNanoPredicate.h +5 -5
  72. data/vendor/Pods/Headers/NanoStore/NSFNanoSearch.h +4 -2
  73. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoGlobals.h +3 -1
  74. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoGlobals.m +1 -0
  75. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoPredicate.h +5 -5
  76. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoPredicate.m +15 -14
  77. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoSearch.h +4 -2
  78. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoSearch.m +95 -20
  79. data/vendor/Pods/Pods.bridgesupport +708 -700
  80. data/vendor/Pods/Pods.xcconfig +3 -3
  81. metadata +62 -4
@@ -144,7 +144,9 @@ typedef enum {
144
144
  /** * Greater Ththanan */
145
145
  NSFGreaterThan,
146
146
  /** * Less than */
147
- NSFLessThan
147
+ NSFLessThan,
148
+ /** * Not Equal to from */
149
+ NSFNotEqualTo
148
150
  } NSFMatchType;
149
151
 
150
152
  /** * Column types for the Attributes table.
@@ -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, copy, readonly) NSString *value;
80
+ @property (nonatomic, readonly) id 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 is the value.
90
+ * @param theValue can be an NSString or [NSNull null]
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:(NSString *)theValue;
95
+ + (NSFNanoPredicate*)predicateWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(id)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 is the value.
100
+ * @param theValue can be an NSString or [NSNull null]
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:(NSString *)theValue;
105
+ - (id)initWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(id)theValue;
106
106
 
107
107
  //@}
108
108
 
@@ -180,6 +180,8 @@
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;
183
185
 
184
186
  /** @name Creating and Initializing a Search
185
187
  */
@@ -213,7 +215,7 @@
213
215
  * @param theReturnType the type of object to be returned. Can be \link Globals::NSFReturnObjects NSFReturnObjects \endlink or \link Globals::NSFReturnKeys NSFReturnKeys \endlink.
214
216
  * @param outError is used if an error occurs. May be NULL.
215
217
  * @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.
216
- * @note The sort descriptor will be ignored when returning requesting NSFReturnKeys.
218
+ * @note The sort descriptor will be ignored when the return type is NSFReturnKeys.
217
219
  * @see \link searchObjectsAdded:date:returnType:error: - (id)searchObjectsAdded:(NSFDateMatchType)theDateMatch date:(NSDate *)theDate returnType:(NSFReturnType)theReturnType error:(out NSError **)outError \endlink
218
220
  */
219
221
 
@@ -225,7 +227,7 @@
225
227
  * @param theReturnType the type of object to be returned. Can be \link Globals::NSFReturnObjects NSFReturnObjects \endlink or \link Globals::NSFReturnKeys NSFReturnKeys \endlink.
226
228
  * @param outError is used if an error occurs. May be NULL.
227
229
  * @return If theReturnType is \link Globals::NSFReturnObjects NSFReturnObjects \endlink, a dictionary is returned. Otherwise, an array is returned.
228
- * @note The sort descriptor will be ignored when returning requesting NSFReturnKeys.
230
+ * @note The sort descriptor will be ignored when the return type is NSFReturnKeys.
229
231
  * @see \link searchObjectsWithReturnType:error: - (id)searchObjectsWithReturnType:(NSFReturnType)theReturnType error:(out NSError **)outError \endlink
230
232
  */
231
233
 
@@ -144,7 +144,9 @@ typedef enum {
144
144
  /** * Greater Ththanan */
145
145
  NSFGreaterThan,
146
146
  /** * Less than */
147
- NSFLessThan
147
+ NSFLessThan,
148
+ /** * Not Equal to from */
149
+ NSFNotEqualTo
148
150
  } NSFMatchType;
149
151
 
150
152
  /** * Column types for the Attributes table.
@@ -85,6 +85,7 @@ NSString * NSFStringFromMatchType (NSFMatchType aMatchType)
85
85
  case NSFInsensitiveEndsWith: value = @"Ends with (case insensitive)"; break;
86
86
  case NSFGreaterThan: value = @"Greater than"; break;
87
87
  case NSFLessThan: value = @"Less than"; break;
88
+ case NSFNotEqualTo: value = @"Not equal to"; break;
88
89
  }
89
90
 
90
91
  return value;
@@ -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, copy, readonly) NSString *value;
80
+ @property (nonatomic, readonly) id 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 is the value.
90
+ * @param theValue can be an NSString or [NSNull null]
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:(NSString *)theValue;
95
+ + (NSFNanoPredicate*)predicateWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(id)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 is the value.
100
+ * @param theValue can be an NSString or [NSNull null]
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:(NSString *)theValue;
105
+ - (id)initWithColumn:(NSFTableColumnType)theType matching:(NSFMatchType)theMatch value:(id)theValue;
106
106
 
107
107
  //@}
108
108
 
@@ -33,7 +33,7 @@
33
33
  /** \cond */
34
34
  @property (nonatomic, assign, readwrite) NSFTableColumnType column;
35
35
  @property (nonatomic, assign, readwrite) NSFMatchType match;
36
- @property (nonatomic, copy, readwrite) NSString *value;
36
+ @property (nonatomic, readwrite) id value;
37
37
  /** \endcond */
38
38
 
39
39
  @end
@@ -44,23 +44,16 @@
44
44
  // Initialization / Cleanup
45
45
  // ----------------------------------------------
46
46
 
47
- + (NSFNanoPredicate*)predicateWithColumn:(NSFTableColumnType)type matching:(NSFMatchType)matching value:(NSString *)aValue
47
+ + (NSFNanoPredicate*)predicateWithColumn:(NSFTableColumnType)type matching:(NSFMatchType)matching value:(id)aValue
48
48
  {
49
- if (nil == aValue)
50
- [[NSException exceptionWithName:NSFUnexpectedParameterException
51
- reason:[NSString stringWithFormat:@"*** -[%@ %@]: value is nil.", [self class], NSStringFromSelector(_cmd)]
52
- userInfo:nil]raise];
53
-
54
49
  return [[self alloc]initWithColumn:type matching:matching value:aValue];
55
50
  }
56
51
 
57
- - (id)initWithColumn:(NSFTableColumnType)type matching:(NSFMatchType)matching value:(NSString *)aValue
52
+ - (id)initWithColumn:(NSFTableColumnType)type matching:(NSFMatchType)matching value:(id)aValue
58
53
  {
59
- if (nil == aValue)
60
- [[NSException exceptionWithName:NSFUnexpectedParameterException
61
- reason:[NSString stringWithFormat:@"*** -[%@ %@]: value is nil.", [self class], NSStringFromSelector(_cmd)]
62
- userInfo:nil]raise];
63
-
54
+ NSAssert(nil != aValue, @"*** -[%@ %@]: value is nil.", [self class], NSStringFromSelector(_cmd));
55
+ NSAssert([aValue isKindOfClass:[NSString class]] || [aValue isKindOfClass:[NSNull class]], @"*** -[%@ %@]: value must be of type NSString or NSNull.", [self class], NSStringFromSelector(_cmd));
56
+
64
57
  if ((self = [super init])) {
65
58
  _column = type;
66
59
  _match = matching;
@@ -96,7 +89,12 @@
96
89
  }
97
90
 
98
91
  // Make sure we escape quotes if present and the value is a string
99
- _value = [_value stringByReplacingOccurrencesOfString:@"'" withString:@"''"];
92
+ if (YES == [_value isKindOfClass:[NSString class]]) {
93
+ _value = [_value stringByReplacingOccurrencesOfString:@"'" withString:@"''"];
94
+ } else {
95
+ _value = NSFStringFromNanoDataType(NSFNanoTypeNULL);
96
+ columnValue = NSFDatatype;
97
+ }
100
98
 
101
99
  switch (_match) {
102
100
  case NSFEqualTo:
@@ -135,6 +133,9 @@
135
133
  case NSFLessThan:
136
134
  [values addObject:[NSString stringWithFormat:@"%@ < '%@'", columnValue, _value]];
137
135
  break;
136
+ case NSFNotEqualTo:
137
+ [values addObject:[NSString stringWithFormat:@"%@ <> '%@'", columnValue, _value]];
138
+ break;
138
139
  }
139
140
 
140
141
  return values;
@@ -180,6 +180,8 @@
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;
183
185
 
184
186
  /** @name Creating and Initializing a Search
185
187
  */
@@ -213,7 +215,7 @@
213
215
  * @param theReturnType the type of object to be returned. Can be \link Globals::NSFReturnObjects NSFReturnObjects \endlink or \link Globals::NSFReturnKeys NSFReturnKeys \endlink.
214
216
  * @param outError is used if an error occurs. May be NULL.
215
217
  * @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.
216
- * @note The sort descriptor will be ignored when returning requesting NSFReturnKeys.
218
+ * @note The sort descriptor will be ignored when the return type is NSFReturnKeys.
217
219
  * @see \link searchObjectsAdded:date:returnType:error: - (id)searchObjectsAdded:(NSFDateMatchType)theDateMatch date:(NSDate *)theDate returnType:(NSFReturnType)theReturnType error:(out NSError **)outError \endlink
218
220
  */
219
221
 
@@ -225,7 +227,7 @@
225
227
  * @param theReturnType the type of object to be returned. Can be \link Globals::NSFReturnObjects NSFReturnObjects \endlink or \link Globals::NSFReturnKeys NSFReturnKeys \endlink.
226
228
  * @param outError is used if an error occurs. May be NULL.
227
229
  * @return If theReturnType is \link Globals::NSFReturnObjects NSFReturnObjects \endlink, a dictionary is returned. Otherwise, an array is returned.
228
- * @note The sort descriptor will be ignored when returning requesting NSFReturnKeys.
230
+ * @note The sort descriptor will be ignored when the return type is NSFReturnKeys.
229
231
  * @see \link searchObjectsWithReturnType:error: - (id)searchObjectsWithReturnType:(NSFReturnType)theReturnType error:(out NSError **)outError \endlink
230
232
  */
231
233
 
@@ -569,11 +569,15 @@
569
569
  segment = [NSFNanoSearch _querySegmentForColumn:NSFAttribute value:anAttribute matching:NSFEqualTo];
570
570
  [theSQLStatement appendString:segment];
571
571
  [theSQLStatement appendString:@" AND "];
572
- segment = [NSFNanoSearch _querySegmentForColumn:NSFValue value:aValue matching:NSFEqualTo];
572
+ segment = [NSFNanoSearch _querySegmentForColumn:NSFValue value:aValue matching:aMatch];
573
573
  }
574
574
  }
575
575
 
576
576
  [theSQLStatement appendString:segment];
577
+ if (self.bag != nil) {
578
+ NSString *selectInABag = [NSString stringWithFormat:@" AND NSFKey IN (SELECT NSFValue FROM NSFVALUES WHERE NSFKey == '%@' AND NSFAttribute == '%@')",self.bag.key,NSF_Private_NSFNanoBag_NSFObjectKeys];
579
+ [theSQLStatement appendString:selectInABag];
580
+ }
577
581
  } else {
578
582
  if (nil != aValue) {
579
583
  if (YES == querySegmentWasAdded)
@@ -732,6 +736,10 @@
732
736
  value = [[NSMutableString alloc]initWithFormat:@"%@ < '%@'", aColumn, aValue];
733
737
  [segment appendString:value];
734
738
  break;
739
+ case NSFNotEqualTo:
740
+ value = [[NSMutableString alloc]initWithFormat:@"%@ <> '%@'", aColumn, aValue];
741
+ [segment appendString:value];
742
+ break;
735
743
  }
736
744
  } else if (YES == [aValue isKindOfClass:[NSArray class]]) {
737
745
  // Quote the parameters
@@ -749,6 +757,19 @@
749
757
  [segment appendString:value];
750
758
 
751
759
  // Free allocated resources
760
+ } else if (YES == [aValue isKindOfClass:[NSNull class]]){
761
+ switch (match) {
762
+ case NSFEqualTo:
763
+ value = [[NSMutableString alloc]initWithFormat:@"%@ IS NULL", aColumn];
764
+ [segment appendString:value];
765
+ break;
766
+ case NSFNotEqualTo:
767
+ value = [[NSMutableString alloc]initWithFormat:@"%@ IS NOT NULL", aColumn];
768
+ [segment appendString:value];
769
+ break;
770
+ default:
771
+ break;
772
+ }
752
773
  }
753
774
 
754
775
  return segment;
@@ -761,51 +782,56 @@
761
782
 
762
783
  if ((YES == [aValue isKindOfClass:[NSString class]]) || (nil == aValue)) {
763
784
  if (nil == aValue) {
764
- value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@') OR (%@ GLOB '%@.*') OR (%@ GLOB '*.%@.*') OR (%@ GLOB '*.%@')", NSFAttribute, anAttributeValue, NSFAttribute, anAttributeValue, NSFAttribute, anAttributeValue, NSFAttribute, anAttributeValue];
785
+ value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@') OR (%@ GLOB '%@.*') OR (%@ GLOB '*.%@.*') OR (%@ GLOB '*.%@'))", NSFAttribute, anAttributeValue, NSFAttribute, anAttributeValue, NSFAttribute, anAttributeValue, NSFAttribute, anAttributeValue];
765
786
  [segment appendString:value];
766
787
  } else {
767
788
  switch (match) {
768
789
  case NSFEqualTo:
769
- value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ = '%@') OR (%@ GLOB '%@.*' AND %@ = '%@') OR (%@ GLOB '*.%@.*' AND %@ = '%@') OR (%@ GLOB '*.%@' AND %@ = '%@')", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
790
+ value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@' AND %@ = '%@') OR (%@ GLOB '%@.*' AND %@ = '%@') OR (%@ GLOB '*.%@.*' AND %@ = '%@') OR (%@ GLOB '*.%@' AND %@ = '%@'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
770
791
  [segment appendString:value];
771
792
  break;
772
793
  case NSFBeginsWith:
773
- value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ GLOB '%@*') OR (%@ GLOB '%@.*' AND %@ GLOB '%@*') OR (%@ GLOB '*.%@.*' AND %@ GLOB '%@*') OR (%@ GLOB '*.%@' AND %@ GLOB '%@*')", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
794
+ value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@' AND %@ GLOB '%@*') OR (%@ GLOB '%@.*' AND %@ GLOB '%@*') OR (%@ GLOB '*.%@.*' AND %@ GLOB '%@*') OR (%@ GLOB '*.%@' AND %@ GLOB '%@*'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
774
795
  [segment appendString:value];
775
796
  break;
776
797
  case NSFContains:
777
- value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ GLOB '%@') OR (%@ GLOB '%@.*' AND %@ GLOB '%@') OR (%@ GLOB '*.%@.*' AND %@ GLOB '%@') OR (%@ GLOB '*.%@' AND %@ GLOB '%@')", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
798
+ value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@' AND %@ GLOB '%@') OR (%@ GLOB '%@.*' AND %@ GLOB '%@') OR (%@ GLOB '*.%@.*' AND %@ GLOB '%@') OR (%@ GLOB '*.%@' AND %@ GLOB '%@'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
778
799
  [segment appendString:value];
779
800
  break;
780
801
  case NSFEndsWith:
781
- value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ GLOB '*%@') OR (%@ GLOB '%@.*' AND %@ GLOB '*%@') OR (%@ GLOB '*.%@.*' AND %@ GLOB '*%@') OR (%@ GLOB '*.%@' AND %@ GLOB '*%@')", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
802
+ value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@' AND %@ GLOB '*%@') OR (%@ GLOB '%@.*' AND %@ GLOB '*%@') OR (%@ GLOB '*.%@.*' AND %@ GLOB '*%@') OR (%@ GLOB '*.%@' AND %@ GLOB '*%@'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
782
803
  [segment appendString:value];
783
804
  break;
784
805
  case NSFInsensitiveEqualTo:
785
806
  aValue = [aValue uppercaseString];
786
- value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND upper(%@) = '%@') OR (%@ GLOB '%@.*' AND upper(%@) = '%@') OR (%@ GLOB '*.%@.*' AND upper(%@) = '%@') OR (%@ GLOB '*.%@' AND upper(%@) = '%@')", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
807
+ value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@' AND upper(%@) = '%@') OR (%@ GLOB '%@.*' AND upper(%@) = '%@') OR (%@ GLOB '*.%@.*' AND upper(%@) = '%@') OR (%@ GLOB '*.%@' AND upper(%@) = '%@'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
787
808
  [segment appendString:value];
788
809
  break;
789
810
  case NSFInsensitiveBeginsWith:
790
811
  aValue = [aValue uppercaseString];
791
- value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND upper(%@) GLOB '%@*') OR (%@ GLOB '%@.*' AND upper(%@) GLOB '%@*') OR (%@ GLOB '*.%@.*' AND upper(%@) GLOB '%@*') OR (%@ GLOB '*.%@' AND upper(%@) GLOB '%@*')", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
812
+ value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@' AND upper(%@) GLOB '%@*') OR (%@ GLOB '%@.*' AND upper(%@) GLOB '%@*') OR (%@ GLOB '*.%@.*' AND upper(%@) GLOB '%@*') OR (%@ GLOB '*.%@' AND upper(%@) GLOB '%@*'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
792
813
  [segment appendString:value];
793
814
  break;
794
815
  case NSFInsensitiveContains:
795
- value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ LIKE '%@') OR (%@ GLOB '%@.*' AND %@ LIKE '%@') OR (%@ GLOB '*.%@.*' AND %@ LIKE '%@') OR (%@ GLOB '*.%@' AND %@ LIKE '%@')", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
816
+ value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@' AND %@ LIKE '%@') OR (%@ GLOB '%@.*' AND %@ LIKE '%@') OR (%@ GLOB '*.%@.*' AND %@ LIKE '%@') OR (%@ GLOB '*.%@' AND %@ LIKE '%@'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
796
817
  [segment appendString:value];
797
818
  break;
798
819
  case NSFInsensitiveEndsWith:
799
- value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ LIKE '%%%@') OR (%@ GLOB '%@.*' AND %@ LIKE '%%%@') OR (%@ GLOB '*.%@.*' AND %@ LIKE '%%%@') OR (%@ GLOB '*.%@' AND %@ LIKE '%%%@')", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
820
+ value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@' AND %@ LIKE '%%%@') OR (%@ GLOB '%@.*' AND %@ LIKE '%%%@') OR (%@ GLOB '*.%@.*' AND %@ LIKE '%%%@') OR (%@ GLOB '*.%@' AND %@ LIKE '%%%@'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
800
821
  [segment appendString:value];
801
822
  break;
802
823
  case NSFGreaterThan:
803
- value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ > '%@') OR (%@ GLOB '%@.*' AND %@ > '%@') OR (%@ GLOB '*.%@.*' AND %@ > '%@') OR (%@ GLOB '*.%@' AND %@ > '%@')", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
824
+ value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@' AND %@ > '%@') OR (%@ GLOB '%@.*' AND %@ > '%@') OR (%@ GLOB '*.%@.*' AND %@ > '%@') OR (%@ GLOB '*.%@' AND %@ > '%@'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
804
825
  [segment appendString:value];
805
826
  break;
806
827
  case NSFLessThan:
807
- value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ < '%@') OR (%@ GLOB '%@.*' AND %@ < '%@') OR (%@ GLOB '*.%@.*' AND %@ < '%@') OR (%@ GLOB '*.%@' AND %@ < '%@')", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
828
+ value = [[NSMutableString alloc]initWithFormat:@"((%@ = '%@' AND %@ < '%@') OR (%@ GLOB '%@.*' AND %@ < '%@') OR (%@ GLOB '*.%@.*' AND %@ < '%@') OR (%@ GLOB '*.%@' AND %@ < '%@'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
808
829
  [segment appendString:value];
830
+ break;
831
+ case NSFNotEqualTo:
832
+ value = [[NSMutableString alloc]initWithFormat:@"((%@ <> '%@' AND %@ <> '%@') OR (%@ GLOB '%@.*' AND %@ <> '%@') OR (%@ GLOB '*.%@.*' AND %@ <> '%@') OR (%@ GLOB '*.%@' AND %@ <> '%@'))", NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue, NSFAttribute, anAttributeValue, NSFValue, aValue];
833
+ [segment appendString:value];
834
+
809
835
  break;
810
836
  }
811
837
  }
@@ -825,6 +851,56 @@
825
851
  [segment appendString:value];
826
852
 
827
853
  // Free allocated resources
854
+ } else if (YES == [aValue isKindOfClass:[NSNull class]]) {
855
+ NSString *NULLStringValue = NSFStringFromNanoDataType (NSFNanoTypeNULL);
856
+ switch (match) {
857
+ case NSFEqualTo:
858
+ value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ = '%@') OR (%@ GLOB '%@.*' AND %@ = '%@') OR (%@ GLOB '*.%@.*' AND %@ = '%@') OR (%@ GLOB '*.%@' AND %@ = '%@')", NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
859
+ [segment appendString:value];
860
+ break;
861
+ case NSFNotEqualTo:
862
+ value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ <> '%@') OR (%@ GLOB '%@.*' AND %@ <> '%@') OR (%@ GLOB '*.%@.*' AND %@ <> '%@') OR (%@ GLOB '*.%@' AND %@ <> '%@')", NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
863
+ [segment appendString:value];
864
+ break;
865
+ case NSFBeginsWith:
866
+ value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ GLOB '%@*') OR (%@ GLOB '%@.*' AND %@ GLOB '%@*') OR (%@ GLOB '*.%@.*' AND %@ GLOB '%@*') OR (%@ GLOB '*.%@' AND %@ GLOB '%@*')", NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
867
+ [segment appendString:value];
868
+ break;
869
+ case NSFContains:
870
+ value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ GLOB '%@') OR (%@ GLOB '%@.*' AND %@ GLOB '%@') OR (%@ GLOB '*.%@.*' AND %@ GLOB '%@') OR (%@ GLOB '*.%@' AND %@ GLOB '%@')", NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
871
+ [segment appendString:value];
872
+ break;
873
+ case NSFEndsWith:
874
+ value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ GLOB '*%@') OR (%@ GLOB '%@.*' AND %@ GLOB '*%@') OR (%@ GLOB '*.%@.*' AND %@ GLOB '*%@') OR (%@ GLOB '*.%@' AND %@ GLOB '*%@')", NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
875
+ [segment appendString:value];
876
+ break;
877
+ case NSFInsensitiveEqualTo:
878
+ aValue = [aValue uppercaseString];
879
+ value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND upper(%@) = '%@') OR (%@ GLOB '%@.*' AND upper(%@) = '%@') OR (%@ GLOB '*.%@.*' AND upper(%@) = '%@') OR (%@ GLOB '*.%@' AND upper(%@) = '%@')", NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
880
+ [segment appendString:value];
881
+ break;
882
+ case NSFInsensitiveBeginsWith:
883
+ aValue = [aValue uppercaseString];
884
+ value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND upper(%@) GLOB '%@*') OR (%@ GLOB '%@.*' AND upper(%@) GLOB '%@*') OR (%@ GLOB '*.%@.*' AND upper(%@) GLOB '%@*') OR (%@ GLOB '*.%@' AND upper(%@) GLOB '%@*')", NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
885
+ [segment appendString:value];
886
+ break;
887
+ case NSFInsensitiveContains:
888
+ value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ LIKE '%@') OR (%@ GLOB '%@.*' AND %@ LIKE '%@') OR (%@ GLOB '*.%@.*' AND %@ LIKE '%@') OR (%@ GLOB '*.%@' AND %@ LIKE '%@')", NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
889
+ [segment appendString:value];
890
+ break;
891
+ case NSFInsensitiveEndsWith:
892
+ value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ LIKE '%%%@') OR (%@ GLOB '%@.*' AND %@ LIKE '%%%@') OR (%@ GLOB '*.%@.*' AND %@ LIKE '%%%@') OR (%@ GLOB '*.%@' AND %@ LIKE '%%%@')", NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
893
+ [segment appendString:value];
894
+ break;
895
+ case NSFGreaterThan:
896
+ value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ > '%@') OR (%@ GLOB '%@.*' AND %@ > '%@') OR (%@ GLOB '*.%@.*' AND %@ > '%@') OR (%@ GLOB '*.%@' AND %@ > '%@')", NSFAttribute, NSFDatatype, NULLStringValue, aValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
897
+ [segment appendString:value];
898
+ break;
899
+ case NSFLessThan:
900
+ value = [[NSMutableString alloc]initWithFormat:@"(%@ = '%@' AND %@ < '%@') OR (%@ GLOB '%@.*' AND %@ < '%@') OR (%@ GLOB '*.%@.*' AND %@ < '%@') OR (%@ GLOB '*.%@' AND %@ < '%@')", NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue, NSFAttribute, anAttributeValue, NSFDatatype, NULLStringValue];
901
+ [segment appendString:value];
902
+ break;
903
+ }
828
904
  }
829
905
 
830
906
  return segment;
@@ -872,15 +948,14 @@
872
948
  id theResults = results;
873
949
 
874
950
  if ([_sort count] > 0) {
875
- NSMutableArray *cocoaSortDescriptors = [NSMutableArray new];
876
-
877
- for (NSFNanoSortDescriptor *descriptor in _sort) {
878
- NSString *targetKeyPath = [[NSString alloc]initWithFormat:@"rootObject.%@", descriptor.attribute];
879
- NSSortDescriptor *cocoaSort = [[NSSortDescriptor alloc]initWithKey:targetKeyPath ascending:descriptor.isAscending];
880
- [cocoaSortDescriptors addObject:cocoaSort];
881
- }
882
-
883
951
  if (NSFReturnObjects == theReturnType) {
952
+ NSMutableArray *cocoaSortDescriptors = [NSMutableArray new];
953
+
954
+ for (NSFNanoSortDescriptor *descriptor in _sort) {
955
+ NSString *targetKeyPath = [[NSString alloc]initWithFormat:@"rootObject.%@", descriptor.attribute];
956
+ NSSortDescriptor *cocoaSort = [[NSSortDescriptor alloc]initWithKey:targetKeyPath ascending:descriptor.isAscending];
957
+ [cocoaSortDescriptors addObject:cocoaSort];
958
+ }
884
959
  theResults = [[results allValues]sortedArrayUsingDescriptors:cocoaSortDescriptors];
885
960
  } else {
886
961
  theResults = [results allKeys];
@@ -1,1349 +1,1357 @@
1
1
  <?xml version='1.0'?>
2
2
  <signatures version='1.0'>
3
- <constant type='@' declared_type='NSString*' name='NSFAttribute' const='true'/>
4
- <constant type='@' declared_type='NSString*' name='NSFCalendarDate' const='true'/>
5
- <constant type='@' declared_type='NSString*' name='NSFDatatype' const='true'/>
6
- <constant type='@' declared_type='NSString*' name='NSFDomainKey' const='true'/>
7
- <constant type='@' declared_type='NSString*' name='NSFKey' const='true'/>
8
- <constant type='@' declared_type='NSString*' name='NSFKeyedArchive' const='true'/>
9
- <constant type='@' declared_type='NSString*' name='NSFKeys' const='true'/>
10
- <constant type='@' declared_type='NSString*' name='NSFMemoryDatabase' const='true'/>
11
- <constant type='@' declared_type='NSString*' name='NSFNanoObjectBehaviorException' const='true'/>
12
- <constant type='i' declared_type='NSInteger' name='NSFNanoStoreErrorKey' const='true'/>
13
- <constant type='@' declared_type='NSString*' name='NSFNanoStoreUnableToManipulateStoreException' const='true'/>
14
- <constant type='@' declared_type='NSString*' name='NSFNonConformingNanoObjectProtocolException' const='true'/>
15
- <constant type='@' declared_type='NSString*' name='NSFObjectClass' const='true'/>
16
- <constant type='@' declared_type='NSString*' name='NSFP_ColumnIdentifier' const='true'/>
17
- <constant type='@' declared_type='NSString*' name='NSFP_DatatypeIdentifier' const='true'/>
18
- <constant type='@' declared_type='NSString*' name='NSFP_FullDatatypeIdentifier' const='true'/>
19
- <constant type='@' declared_type='NSString*' name='NSFP_SchemaTable' const='true'/>
20
- <constant type='@' declared_type='NSString*' name='NSFP_TableIdentifier' const='true'/>
21
- <constant type='@' declared_type='NSString*' name='NSFRowIDColumnName' const='true'/>
22
- <constant type='@' declared_type='NSString*' name='NSFTemporaryDatabase' const='true'/>
23
- <constant type='@' declared_type='NSString*' name='NSFUnexpectedParameterException' const='true'/>
24
- <constant type='@' declared_type='NSString*' name='NSFValue' const='true'/>
25
- <constant type='@' declared_type='NSString*' name='NSFValues' const='true'/>
26
- <constant type='@' declared_type='NSString*' name='NSFVersionKey' const='true'/>
27
- <constant type='i' declared_type='NSInteger' name='NSF_Private_InvalidParameterDataCodeKey' const='true'/>
28
- <constant type='i' declared_type='NSInteger' name='NSF_Private_MacOSXErrorCodeKey' const='true'/>
29
- <constant type='@' declared_type='NSString*' name='NSF_Private_NSFKeys_NSFKey' const='true'/>
30
- <constant type='@' declared_type='NSString*' name='NSF_Private_NSFKeys_NSFKeyedArchive' const='true'/>
31
- <constant type='@' declared_type='NSString*' name='NSF_Private_NSFNanoBag_NSFKey' const='true'/>
32
- <constant type='@' declared_type='NSString*' name='NSF_Private_NSFNanoBag_NSFObjectKeys' const='true'/>
33
- <constant type='@' declared_type='NSString*' name='NSF_Private_NSFNanoBag_Name' const='true'/>
34
- <constant type='@' declared_type='NSString*' name='NSF_Private_NSFValues_NSFAttribute' const='true'/>
35
- <constant type='@' declared_type='NSString*' name='NSF_Private_NSFValues_NSFKey' const='true'/>
36
- <constant type='@' declared_type='NSString*' name='NSF_Private_NSFValues_NSFValue' const='true'/>
37
- <constant type='@' declared_type='NSString*' name='NSF_Private_ToDeleteTableKey' const='true'/>
38
- <enum name='CacheAllData' value='1'/>
39
- <enum name='CacheDataOnDemand' value='2'/>
40
- <enum name='DoNotCacheData' value='3'/>
41
- <enum name='JournalModeDelete' value='0'/>
42
- <enum name='JournalModeMemory' value='3'/>
43
- <enum name='JournalModeOFF' value='5'/>
44
- <enum name='JournalModePersist' value='2'/>
45
- <enum name='JournalModeTruncate' value='1'/>
46
- <enum name='JournalModeWAL' value='4'/>
47
- <enum name='NSFAfterDate' value='3'/>
48
- <enum name='NSFAnd' value='1'/>
49
- <enum name='NSFAttributeColumn' value='2'/>
50
- <enum name='NSFAverage' value='1'/>
51
- <enum name='NSFBeforeDate' value='1'/>
52
- <enum name='NSFBeginsWith' value='1'/>
53
- <enum name='NSFContains' value='2'/>
54
- <enum name='NSFCount' value='2'/>
55
- <enum name='NSFEncodingUTF16' value='2'/>
56
- <enum name='NSFEncodingUTF8' value='1'/>
57
- <enum name='NSFEncodingUnknown' value='3'/>
58
- <enum name='NSFEndsWith' value='3'/>
59
- <enum name='NSFEngineProcessingDefaultMode' value='1'/>
60
- <enum name='NSFEngineProcessingFastMode' value='2'/>
61
- <enum name='NSFEqualTo' value='0'/>
62
- <enum name='NSFGreaterThan' value='8'/>
63
- <enum name='NSFInsensitiveBeginsWith' value='5'/>
64
- <enum name='NSFInsensitiveContains' value='6'/>
65
- <enum name='NSFInsensitiveEndsWith' value='7'/>
66
- <enum name='NSFInsensitiveEqualTo' value='4'/>
67
- <enum name='NSFKeyColumn' value='1'/>
68
- <enum name='NSFLessThan' value='9'/>
69
- <enum name='NSFMax' value='3'/>
70
- <enum name='NSFMemoryStoreType' value='1'/>
71
- <enum name='NSFMin' value='4'/>
72
- <enum name='NSFNanoTypeData' value='1'/>
73
- <enum name='NSFNanoTypeDate' value='3'/>
74
- <enum name='NSFNanoTypeNULL' value='5'/>
75
- <enum name='NSFNanoTypeNumber' value='4'/>
76
- <enum name='NSFNanoTypeRowUID' value='0'/>
77
- <enum name='NSFNanoTypeString' value='2'/>
78
- <enum name='NSFNanoTypeURL' value='6'/>
79
- <enum name='NSFNanoTypeUnknown' value='-1'/>
80
- <enum name='NSFOnDate' value='2'/>
81
- <enum name='NSFOr' value='2'/>
82
- <enum name='NSFPersistentStoreType' value='3'/>
83
- <enum name='NSFReturnKeys' value='2'/>
84
- <enum name='NSFReturnObjects' value='1'/>
85
- <enum name='NSFTemporaryStoreType' value='2'/>
86
- <enum name='NSFTotal' value='5'/>
87
- <enum name='NSFValueColumn' value='3'/>
88
- <enum name='SynchronousModeFull' value='2'/>
89
- <enum name='SynchronousModeNormal' value='1'/>
90
- <enum name='SynchronousModeOff' value='0'/>
91
- <enum name='TempStoreModeDefault' value='0'/>
92
- <enum name='TempStoreModeFile' value='1'/>
93
- <enum name='TempStoreModeMemory' value='2'/>
3
+ <constant const='true' name='NSFAttribute' declared_type='NSString*' type='@'/>
4
+ <constant const='true' name='NSFCalendarDate' declared_type='NSString*' type='@'/>
5
+ <constant const='true' name='NSFDatatype' declared_type='NSString*' type='@'/>
6
+ <constant const='true' name='NSFDomainKey' declared_type='NSString*' type='@'/>
7
+ <constant const='true' name='NSFKey' declared_type='NSString*' type='@'/>
8
+ <constant const='true' name='NSFKeyedArchive' declared_type='NSString*' type='@'/>
9
+ <constant const='true' name='NSFKeys' declared_type='NSString*' type='@'/>
10
+ <constant const='true' name='NSFMemoryDatabase' declared_type='NSString*' type='@'/>
11
+ <constant const='true' name='NSFNanoObjectBehaviorException' declared_type='NSString*' type='@'/>
12
+ <constant const='true' name='NSFNanoStoreErrorKey' declared_type='NSInteger' type='i'/>
13
+ <constant const='true' name='NSFNanoStoreUnableToManipulateStoreException' declared_type='NSString*' type='@'/>
14
+ <constant const='true' name='NSFNonConformingNanoObjectProtocolException' declared_type='NSString*' type='@'/>
15
+ <constant const='true' name='NSFObjectClass' declared_type='NSString*' type='@'/>
16
+ <constant const='true' name='NSFP_ColumnIdentifier' declared_type='NSString*' type='@'/>
17
+ <constant const='true' name='NSFP_DatatypeIdentifier' declared_type='NSString*' type='@'/>
18
+ <constant const='true' name='NSFP_FullDatatypeIdentifier' declared_type='NSString*' type='@'/>
19
+ <constant const='true' name='NSFP_SchemaTable' declared_type='NSString*' type='@'/>
20
+ <constant const='true' name='NSFP_TableIdentifier' declared_type='NSString*' type='@'/>
21
+ <constant const='true' name='NSFRowIDColumnName' declared_type='NSString*' type='@'/>
22
+ <constant const='true' name='NSFTemporaryDatabase' declared_type='NSString*' type='@'/>
23
+ <constant const='true' name='NSFUnexpectedParameterException' declared_type='NSString*' type='@'/>
24
+ <constant const='true' name='NSFValue' declared_type='NSString*' type='@'/>
25
+ <constant const='true' name='NSFValues' declared_type='NSString*' type='@'/>
26
+ <constant const='true' name='NSFVersionKey' declared_type='NSString*' type='@'/>
27
+ <constant const='true' name='NSF_Private_InvalidParameterDataCodeKey' declared_type='NSInteger' type='i'/>
28
+ <constant const='true' name='NSF_Private_MacOSXErrorCodeKey' declared_type='NSInteger' type='i'/>
29
+ <constant const='true' name='NSF_Private_NSFKeys_NSFKey' declared_type='NSString*' type='@'/>
30
+ <constant const='true' name='NSF_Private_NSFKeys_NSFKeyedArchive' declared_type='NSString*' type='@'/>
31
+ <constant const='true' name='NSF_Private_NSFNanoBag_NSFKey' declared_type='NSString*' type='@'/>
32
+ <constant const='true' name='NSF_Private_NSFNanoBag_NSFObjectKeys' declared_type='NSString*' type='@'/>
33
+ <constant const='true' name='NSF_Private_NSFNanoBag_Name' declared_type='NSString*' type='@'/>
34
+ <constant const='true' name='NSF_Private_NSFValues_NSFAttribute' declared_type='NSString*' type='@'/>
35
+ <constant const='true' name='NSF_Private_NSFValues_NSFKey' declared_type='NSString*' type='@'/>
36
+ <constant const='true' name='NSF_Private_NSFValues_NSFValue' declared_type='NSString*' type='@'/>
37
+ <constant const='true' name='NSF_Private_ToDeleteTableKey' declared_type='NSString*' type='@'/>
38
+ <enum value='1' name='CacheAllData'/>
39
+ <enum value='2' name='CacheDataOnDemand'/>
40
+ <enum value='3' name='DoNotCacheData'/>
41
+ <enum value='0' name='JournalModeDelete'/>
42
+ <enum value='3' name='JournalModeMemory'/>
43
+ <enum value='5' name='JournalModeOFF'/>
44
+ <enum value='2' name='JournalModePersist'/>
45
+ <enum value='1' name='JournalModeTruncate'/>
46
+ <enum value='4' name='JournalModeWAL'/>
47
+ <enum value='3' name='NSFAfterDate'/>
48
+ <enum value='1' name='NSFAnd'/>
49
+ <enum value='2' name='NSFAttributeColumn'/>
50
+ <enum value='1' name='NSFAverage'/>
51
+ <enum value='1' name='NSFBeforeDate'/>
52
+ <enum value='1' name='NSFBeginsWith'/>
53
+ <enum value='2' name='NSFContains'/>
54
+ <enum value='2' name='NSFCount'/>
55
+ <enum value='2' name='NSFEncodingUTF16'/>
56
+ <enum value='1' name='NSFEncodingUTF8'/>
57
+ <enum value='3' name='NSFEncodingUnknown'/>
58
+ <enum value='3' name='NSFEndsWith'/>
59
+ <enum value='1' name='NSFEngineProcessingDefaultMode'/>
60
+ <enum value='2' name='NSFEngineProcessingFastMode'/>
61
+ <enum value='0' name='NSFEqualTo'/>
62
+ <enum value='8' name='NSFGreaterThan'/>
63
+ <enum value='5' name='NSFInsensitiveBeginsWith'/>
64
+ <enum value='6' name='NSFInsensitiveContains'/>
65
+ <enum value='7' name='NSFInsensitiveEndsWith'/>
66
+ <enum value='4' name='NSFInsensitiveEqualTo'/>
67
+ <enum value='1' name='NSFKeyColumn'/>
68
+ <enum value='9' name='NSFLessThan'/>
69
+ <enum value='3' name='NSFMax'/>
70
+ <enum value='1' name='NSFMemoryStoreType'/>
71
+ <enum value='4' name='NSFMin'/>
72
+ <enum value='1' name='NSFNanoTypeData'/>
73
+ <enum value='3' name='NSFNanoTypeDate'/>
74
+ <enum value='5' name='NSFNanoTypeNULL'/>
75
+ <enum value='4' name='NSFNanoTypeNumber'/>
76
+ <enum value='0' name='NSFNanoTypeRowUID'/>
77
+ <enum value='2' name='NSFNanoTypeString'/>
78
+ <enum value='6' name='NSFNanoTypeURL'/>
79
+ <enum value='-1' name='NSFNanoTypeUnknown'/>
80
+ <enum value='10' name='NSFNotEqualTo'/>
81
+ <enum value='2' name='NSFOnDate'/>
82
+ <enum value='2' name='NSFOr'/>
83
+ <enum value='3' name='NSFPersistentStoreType'/>
84
+ <enum value='2' name='NSFReturnKeys'/>
85
+ <enum value='1' name='NSFReturnObjects'/>
86
+ <enum value='2' name='NSFTemporaryStoreType'/>
87
+ <enum value='5' name='NSFTotal'/>
88
+ <enum value='3' name='NSFValueColumn'/>
89
+ <enum value='2' name='SynchronousModeFull'/>
90
+ <enum value='1' name='SynchronousModeNormal'/>
91
+ <enum value='0' name='SynchronousModeOff'/>
92
+ <enum value='0' name='TempStoreModeDefault'/>
93
+ <enum value='1' name='TempStoreModeFile'/>
94
+ <enum value='2' name='TempStoreModeMemory'/>
94
95
  <function name='NSFIsDebugOn'>
95
- <retval type='B' declared_type='BOOL'/>
96
+ <retval declared_type='BOOL' type='B'/>
96
97
  </function>
97
98
  <function name='NSFNanoDatatypeFromString'>
98
- <arg type='@' declared_type='NSString*' name='aNanoDatatype'/>
99
- <retval type='i' declared_type='NSFNanoDatatype'/>
99
+ <arg name='aNanoDatatype' declared_type='NSString*' type='@'/>
100
+ <retval declared_type='NSFNanoDatatype' type='i'/>
100
101
  </function>
101
102
  <function name='NSFSetIsDebugOn'>
102
- <arg type='B' declared_type='BOOL' name='flag'/>
103
- <retval type='v' declared_type='void'/>
103
+ <arg name='flag' declared_type='BOOL' type='B'/>
104
+ <retval declared_type='void' type='v'/>
104
105
  </function>
105
106
  <function name='NSFStringFromMatchType'>
106
- <arg type='i' declared_type='NSFMatchType' name='aMatchType'/>
107
- <retval type='@' declared_type='NSString*'/>
107
+ <arg name='aMatchType' declared_type='NSFMatchType' type='i'/>
108
+ <retval declared_type='NSString*' type='@'/>
108
109
  </function>
109
110
  <function name='NSFStringFromNanoDataType'>
110
- <arg type='i' declared_type='NSFNanoDatatype' name='aNanoDatatype'/>
111
- <retval type='@' declared_type='NSString*'/>
111
+ <arg name='aNanoDatatype' declared_type='NSFNanoDatatype' type='i'/>
112
+ <retval declared_type='NSString*' type='@'/>
112
113
  </function>
113
114
  <function name='safeJSONArrayFromArray'>
114
- <arg type='@' declared_type='NSArray*' name='array'/>
115
- <retval type='@' declared_type='NSArray*'/>
115
+ <arg name='array' declared_type='NSArray*' type='@'/>
116
+ <retval declared_type='NSArray*' type='@'/>
116
117
  </function>
117
118
  <function name='safeJSONDictionaryFromDictionary'>
118
- <arg type='@' declared_type='NSDictionary*' name='dictionary'/>
119
- <retval type='@' declared_type='NSDictionary*'/>
119
+ <arg name='dictionary' declared_type='NSDictionary*' type='@'/>
120
+ <retval declared_type='NSDictionary*' type='@'/>
120
121
  </function>
121
122
  <function name='safeJSONObjectFromObject'>
122
- <arg type='@' declared_type='id' name='object'/>
123
- <retval type='@' declared_type='id'/>
123
+ <arg name='object' declared_type='id' type='@'/>
124
+ <retval declared_type='id' type='@'/>
124
125
  </function>
125
126
  <class name='NSFNanoBag'>
126
127
  <method selector='JSONDescription'>
127
- <retval type='@' declared_type='NSString*'/>
128
+ <retval declared_type='NSString*' type='@'/>
128
129
  </method>
129
130
  <method selector='_inflateObjectsWithKeys:'>
130
- <arg type='@' index='0' declared_type='NSArray*' name='someKeys'/>
131
- <retval type='v' declared_type='void'/>
131
+ <arg index='0' name='someKeys' declared_type='NSArray*' type='@'/>
132
+ <retval declared_type='void' type='v'/>
132
133
  </method>
133
134
  <method selector='_saveInStore:error:'>
134
- <arg type='@' index='0' declared_type='NSFNanoStore*' name='someStore'/>
135
- <arg type='^@' index='1' type_modifier='o' declared_type='NSError**' name='outError'/>
136
- <retval type='B' declared_type='BOOL'/>
135
+ <arg index='0' name='someStore' declared_type='NSFNanoStore*' type='@'/>
136
+ <arg index='1' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
137
+ <retval declared_type='BOOL' type='B'/>
137
138
  </method>
138
139
  <method selector='_setStore:'>
139
- <arg type='@' index='0' declared_type='NSFNanoStore*' name='aStore'/>
140
- <retval type='v' declared_type='void'/>
140
+ <arg index='0' name='aStore' declared_type='NSFNanoStore*' type='@'/>
141
+ <retval declared_type='void' type='v'/>
141
142
  </method>
142
143
  <method selector='addObject:error:'>
143
- <arg type='@' index='0' declared_type='id' name='theObject'/>
144
- <arg type='^@' index='1' type_modifier='o' declared_type='NSError**' name='outError'/>
145
- <retval type='B' declared_type='BOOL'/>
144
+ <arg index='0' name='theObject' declared_type='id' type='@'/>
145
+ <arg index='1' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
146
+ <retval declared_type='BOOL' type='B'/>
146
147
  </method>
147
148
  <method selector='addObjectsFromArray:error:'>
148
- <arg type='@' index='0' declared_type='NSArray*' name='theObjects'/>
149
- <arg type='^@' index='1' type_modifier='o' declared_type='NSError**' name='outError'/>
150
- <retval type='B' declared_type='BOOL'/>
149
+ <arg index='0' name='theObjects' declared_type='NSArray*' type='@'/>
150
+ <arg index='1' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
151
+ <retval declared_type='BOOL' type='B'/>
151
152
  </method>
152
153
  <method selector='bag' class_method='true'>
153
- <retval type='@' declared_type='NSFNanoBag*'/>
154
+ <retval declared_type='NSFNanoBag*' type='@'/>
154
155
  </method>
155
156
  <method selector='bagWithName:' class_method='true'>
156
- <arg type='@' index='0' declared_type='NSString*' name='theName'/>
157
- <retval type='@' declared_type='id'/>
157
+ <arg index='0' name='theName' declared_type='NSString*' type='@'/>
158
+ <retval declared_type='id' type='@'/>
158
159
  </method>
159
160
  <method selector='bagWithName:andObjects:' class_method='true'>
160
- <arg type='@' index='0' declared_type='NSString*' name='theName'/>
161
- <arg type='@' index='1' declared_type='NSArray*' name='theObjects'/>
162
- <retval type='@' declared_type='id'/>
161
+ <arg index='0' name='theName' declared_type='NSString*' type='@'/>
162
+ <arg index='1' name='theObjects' declared_type='NSArray*' type='@'/>
163
+ <retval declared_type='id' type='@'/>
163
164
  </method>
164
165
  <method selector='bagWithObjects:' class_method='true'>
165
- <arg type='@' index='0' declared_type='NSArray*' name='theObjects'/>
166
- <retval type='@' declared_type='NSFNanoBag*'/>
166
+ <arg index='0' name='theObjects' declared_type='NSArray*' type='@'/>
167
+ <retval declared_type='NSFNanoBag*' type='@'/>
167
168
  </method>
168
169
  <method selector='count'>
169
- <retval type='I' declared_type='NSUInteger'/>
170
+ <retval declared_type='NSUInteger' type='I'/>
170
171
  </method>
171
172
  <method selector='deflateBag'>
172
- <retval type='v' declared_type='void'/>
173
+ <retval declared_type='void' type='v'/>
173
174
  </method>
174
175
  <method selector='description'>
175
- <retval type='@' declared_type='NSString*'/>
176
+ <retval declared_type='NSString*' type='@'/>
176
177
  </method>
177
178
  <method selector='dictionaryRepresentation'>
178
- <retval type='@' declared_type='NSDictionary*'/>
179
+ <retval declared_type='NSDictionary*' type='@'/>
179
180
  </method>
180
181
  <method selector='hasUnsavedChanges'>
181
- <retval type='B' declared_type='BOOL'/>
182
+ <retval declared_type='BOOL' type='B'/>
182
183
  </method>
183
184
  <method selector='inflateBag'>
184
- <retval type='v' declared_type='void'/>
185
+ <retval declared_type='void' type='v'/>
185
186
  </method>
186
187
  <method selector='initBagWithName:andObjects:'>
187
- <arg type='@' index='0' declared_type='NSString*' name='theName'/>
188
- <arg type='@' index='1' declared_type='NSArray*' name='someObjects'/>
189
- <retval type='@' declared_type='id'/>
188
+ <arg index='0' name='theName' declared_type='NSString*' type='@'/>
189
+ <arg index='1' name='someObjects' declared_type='NSArray*' type='@'/>
190
+ <retval declared_type='id' type='@'/>
190
191
  </method>
191
192
  <method selector='isEqualToNanoBag:'>
192
- <arg type='@' index='0' declared_type='NSFNanoBag*' name='otherNanoBag'/>
193
- <retval type='B' declared_type='BOOL'/>
193
+ <arg index='0' name='otherNanoBag' declared_type='NSFNanoBag*' type='@'/>
194
+ <retval declared_type='BOOL' type='B'/>
194
195
  </method>
195
196
  <method selector='key'>
196
- <retval type='@' declared_type='NSString*'/>
197
+ <retval declared_type='NSString*' type='@'/>
197
198
  </method>
198
199
  <method selector='name'>
199
- <retval type='@' declared_type='NSString*'/>
200
+ <retval declared_type='NSString*' type='@'/>
200
201
  </method>
201
202
  <method selector='reloadBagWithError:'>
202
- <arg type='^@' index='0' type_modifier='o' declared_type='NSError**' name='outError'/>
203
- <retval type='B' declared_type='BOOL'/>
203
+ <arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
204
+ <retval declared_type='BOOL' type='B'/>
204
205
  </method>
205
206
  <method selector='removeAllObjects'>
206
- <retval type='v' declared_type='void'/>
207
+ <retval declared_type='void' type='v'/>
207
208
  </method>
208
209
  <method selector='removeObject:'>
209
- <arg type='@' index='0' declared_type='id' name='theObject'/>
210
- <retval type='v' declared_type='void'/>
210
+ <arg index='0' name='theObject' declared_type='id' type='@'/>
211
+ <retval declared_type='void' type='v'/>
211
212
  </method>
212
213
  <method selector='removeObjectWithKey:'>
213
- <arg type='@' index='0' declared_type='NSString*' name='theObjectKey'/>
214
- <retval type='v' declared_type='void'/>
214
+ <arg index='0' name='theObjectKey' declared_type='NSString*' type='@'/>
215
+ <retval declared_type='void' type='v'/>
215
216
  </method>
216
217
  <method selector='removeObjectsInArray:'>
217
- <arg type='@' index='0' declared_type='NSArray*' name='theObjects'/>
218
- <retval type='v' declared_type='void'/>
218
+ <arg index='0' name='theObjects' declared_type='NSArray*' type='@'/>
219
+ <retval declared_type='void' type='v'/>
219
220
  </method>
220
221
  <method selector='removeObjectsWithKeysInArray:'>
221
- <arg type='@' index='0' declared_type='NSArray*' name='theKeys'/>
222
- <retval type='v' declared_type='void'/>
222
+ <arg index='0' name='theKeys' declared_type='NSArray*' type='@'/>
223
+ <retval declared_type='void' type='v'/>
223
224
  </method>
224
225
  <method selector='removedObjects'>
225
- <retval type='@' declared_type='NSDictionary*'/>
226
+ <retval declared_type='NSDictionary*' type='@'/>
226
227
  </method>
227
228
  <method selector='saveAndReturnError:'>
228
- <arg type='^@' index='0' type_modifier='o' declared_type='NSError**' name='outError'/>
229
- <retval type='B' declared_type='BOOL'/>
229
+ <arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
230
+ <retval declared_type='BOOL' type='B'/>
230
231
  </method>
231
232
  <method selector='savedObjects'>
232
- <retval type='@' declared_type='NSDictionary*'/>
233
+ <retval declared_type='NSDictionary*' type='@'/>
233
234
  </method>
234
235
  <method selector='setName:'>
235
- <arg type='@' index='0' declared_type='NSString*' name='name'/>
236
- <retval type='v' declared_type='void'/>
236
+ <arg index='0' name='name' declared_type='NSString*' type='@'/>
237
+ <retval declared_type='void' type='v'/>
237
238
  </method>
238
239
  <method selector='setStore:'>
239
- <arg type='@' index='0' declared_type='NSFNanoStore*' name='store'/>
240
- <retval type='v' declared_type='void'/>
240
+ <arg index='0' name='store' declared_type='NSFNanoStore*' type='@'/>
241
+ <retval declared_type='void' type='v'/>
241
242
  </method>
242
243
  <method selector='store'>
243
- <retval type='@' declared_type='NSFNanoStore*'/>
244
+ <retval declared_type='NSFNanoStore*' type='@'/>
244
245
  </method>
245
246
  <method selector='undoChangesWithError:'>
246
- <arg type='^@' index='0' type_modifier='o' declared_type='NSError**' name='outError'/>
247
- <retval type='B' declared_type='BOOL'/>
247
+ <arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
248
+ <retval declared_type='BOOL' type='B'/>
248
249
  </method>
249
250
  <method selector='unsavedObjects'>
250
- <retval type='@' declared_type='NSDictionary*'/>
251
+ <retval declared_type='NSDictionary*' type='@'/>
251
252
  </method>
252
253
  </class>
253
254
  <class name='NSFNanoEngine'>
254
255
  <method selector='JSONDescription'>
255
- <retval type='@' declared_type='NSString*'/>
256
+ <retval declared_type='NSString*' type='@'/>
256
257
  </method>
257
258
  <method selector='NSFEncodingTypeToNSString:' class_method='true'>
258
- <arg type='i' index='0' declared_type='NSFEncodingType' name='value'/>
259
- <retval type='@' declared_type='NSString*'/>
259
+ <arg index='0' name='value' declared_type='NSFEncodingType' type='i'/>
260
+ <retval declared_type='NSString*' type='@'/>
260
261
  </method>
261
262
  <method selector='NSFP_ROWIDPresenceLocation:datatypes:'>
262
- <arg type='@' index='0' declared_type='NSArray*' name='tableColumns'/>
263
- <arg type='@' index='1' declared_type='NSArray*' name='datatypes'/>
264
- <retval type='i' declared_type='NSInteger'/>
263
+ <arg index='0' name='tableColumns' declared_type='NSArray*' type='@'/>
264
+ <arg index='1' name='datatypes' declared_type='NSArray*' type='@'/>
265
+ <retval declared_type='NSInteger' type='i'/>
265
266
  </method>
266
267
  <method selector='NSFP_beginTransactionMode:'>
267
- <arg type='@' index='0' declared_type='NSString*' name='theSQLStatement'/>
268
- <retval type='B' declared_type='BOOL'/>
268
+ <arg index='0' name='theSQLStatement' declared_type='NSString*' type='@'/>
269
+ <retval declared_type='BOOL' type='B'/>
269
270
  </method>
270
271
  <method selector='NSFP_cacheMethodToString'>
271
- <retval type='@' declared_type='NSString*'/>
272
+ <retval declared_type='NSString*' type='@'/>
272
273
  </method>
273
274
  <method selector='NSFP_createTable:withColumns:datatypes:isTemporary:'>
274
- <arg type='@' index='0' declared_type='NSString*' name='table'/>
275
- <arg type='@' index='1' declared_type='NSArray*' name='tableColumns'/>
276
- <arg type='@' index='2' declared_type='NSArray*' name='tableDatatypes'/>
277
- <arg type='B' index='3' declared_type='BOOL' name='isTemporaryFlag'/>
278
- <retval type='B' declared_type='BOOL'/>
275
+ <arg index='0' name='table' declared_type='NSString*' type='@'/>
276
+ <arg index='1' name='tableColumns' declared_type='NSArray*' type='@'/>
277
+ <arg index='2' name='tableDatatypes' declared_type='NSArray*' type='@'/>
278
+ <arg index='3' name='isTemporaryFlag' declared_type='BOOL' type='B'/>
279
+ <retval declared_type='BOOL' type='B'/>
279
280
  </method>
280
281
  <method selector='NSFP_datatypeForColumn:'>
281
- <arg type='@' index='0' declared_type='NSString*' name='tableAndColumn'/>
282
- <retval type='i' declared_type='NSFNanoDatatype'/>
282
+ <arg index='0' name='tableAndColumn' declared_type='NSString*' type='@'/>
283
+ <retval declared_type='NSFNanoDatatype' type='i'/>
283
284
  </method>
284
285
  <method selector='NSFP_datatypeForTable:column:'>
285
- <arg type='@' index='0' declared_type='NSString*' name='table'/>
286
- <arg type='@' index='1' declared_type='NSString*' name='column'/>
287
- <retval type='i' declared_type='NSFNanoDatatype'/>
286
+ <arg index='0' name='table' declared_type='NSString*' type='@'/>
287
+ <arg index='1' name='column' declared_type='NSString*' type='@'/>
288
+ <retval declared_type='NSFNanoDatatype' type='i'/>
288
289
  </method>
289
290
  <method selector='NSFP_decodeQuantum:andSource:' class_method='true'>
290
- <arg type='*' index='0' declared_type='unsigned char*' name='dest'/>
291
- <arg type='*' index='1' declared_type='char*' name='src' const='true'/>
292
- <retval type='v' declared_type='void'/>
291
+ <arg index='0' name='dest' declared_type='unsigned char*' type='*'/>
292
+ <arg const='true' index='1' name='src' declared_type='char*' type='*'/>
293
+ <retval declared_type='void' type='v'/>
293
294
  </method>
294
295
  <method selector='NSFP_flattenAllTables'>
295
- <retval type='@' declared_type='NSArray*'/>
296
+ <retval declared_type='NSArray*' type='@'/>
296
297
  </method>
297
298
  <method selector='NSFP_insertStringValues:forColumns:table:'>
298
- <arg type='@' index='0' declared_type='NSArray*' name='values'/>
299
- <arg type='@' index='1' declared_type='NSArray*' name='columns'/>
300
- <arg type='@' index='2' declared_type='NSString*' name='table'/>
301
- <retval type='B' declared_type='BOOL'/>
299
+ <arg index='0' name='values' declared_type='NSArray*' type='@'/>
300
+ <arg index='1' name='columns' declared_type='NSArray*' type='@'/>
301
+ <arg index='2' name='table' declared_type='NSString*' type='@'/>
302
+ <retval declared_type='BOOL' type='B'/>
302
303
  </method>
303
304
  <method selector='NSFP_installCommitCallback'>
304
- <retval type='v' declared_type='void'/>
305
+ <retval declared_type='void' type='v'/>
305
306
  </method>
306
307
  <method selector='NSFP_isColumnROWIDAlias:forTable:'>
307
- <arg type='@' index='0' declared_type='NSString*' name='column'/>
308
- <arg type='@' index='1' declared_type='NSString*' name='table'/>
309
- <retval type='B' declared_type='BOOL'/>
308
+ <arg index='0' name='column' declared_type='NSString*' type='@'/>
309
+ <arg index='1' name='table' declared_type='NSString*' type='@'/>
310
+ <retval declared_type='BOOL' type='B'/>
310
311
  </method>
311
312
  <method selector='NSFP_nestedDescriptionWithPrefixedSpace:'>
312
- <arg type='@' index='0' declared_type='NSString*' name='prefixedSpace'/>
313
- <retval type='@' declared_type='NSString*'/>
313
+ <arg index='0' name='prefixedSpace' declared_type='NSString*' type='@'/>
314
+ <retval declared_type='NSString*' type='@'/>
314
315
  </method>
315
316
  <method selector='NSFP_prefixWithDotDelimiter:'>
316
- <arg type='@' index='0' declared_type='NSString*' name='tableAndColumn'/>
317
- <retval type='@' declared_type='NSString*'/>
317
+ <arg index='0' name='tableAndColumn' declared_type='NSString*' type='@'/>
318
+ <retval declared_type='NSString*' type='@'/>
318
319
  </method>
319
320
  <method selector='NSFP_prepareSQLite3Statement:theSQLStatement:'>
320
- <arg type='^^{sqlite3_stmt}' index='0' declared_type='sqlite3_stmt**' name='aStatement'/>
321
- <arg type='@' index='1' declared_type='NSString*' name='aSQLQuery'/>
322
- <retval type='i' declared_type='NSInteger'/>
321
+ <arg index='0' name='aStatement' declared_type='sqlite3_stmt**' type='^^{sqlite3_stmt}'/>
322
+ <arg index='1' name='aSQLQuery' declared_type='NSString*' type='@'/>
323
+ <retval declared_type='NSInteger' type='i'/>
323
324
  </method>
324
325
  <method selector='NSFP_rebuildDatatypeCache'>
325
- <retval type='v' declared_type='void'/>
326
+ <retval declared_type='void' type='v'/>
326
327
  </method>
327
328
  <method selector='NSFP_removeColumn:fromTable:'>
328
- <arg type='@' index='0' declared_type='NSString*' name='column'/>
329
- <arg type='@' index='1' declared_type='NSString*' name='table'/>
330
- <retval type='B' declared_type='BOOL'/>
329
+ <arg index='0' name='column' declared_type='NSString*' type='@'/>
330
+ <arg index='1' name='table' declared_type='NSString*' type='@'/>
331
+ <retval declared_type='BOOL' type='B'/>
331
332
  </method>
332
333
  <method selector='NSFP_setFullColumnNamesEnabled'>
333
- <retval type='v' declared_type='void'/>
334
+ <retval declared_type='void' type='v'/>
334
335
  </method>
335
336
  <method selector='NSFP_sharedROWIDKeywords' class_method='true'>
336
- <retval type='@' declared_type='NSArray*'/>
337
+ <retval declared_type='NSArray*' type='@'/>
337
338
  </method>
338
339
  <method selector='NSFP_sqlString:appendingTags:'>
339
- <arg type='@' index='0' declared_type='NSMutableString*' name='theSQLStatement'/>
340
- <arg type='@' index='1' declared_type='NSArray*' name='columns'/>
341
- <retval type='v' declared_type='void'/>
340
+ <arg index='0' name='theSQLStatement' declared_type='NSMutableString*' type='@'/>
341
+ <arg index='1' name='columns' declared_type='NSArray*' type='@'/>
342
+ <retval declared_type='void' type='v'/>
342
343
  </method>
343
344
  <method selector='NSFP_sqlString:appendingTags:quoteTags:'>
344
- <arg type='@' index='0' declared_type='NSMutableString*' name='theSQLStatement'/>
345
- <arg type='@' index='1' declared_type='NSArray*' name='tags'/>
346
- <arg type='B' index='2' declared_type='BOOL' name='flag'/>
347
- <retval type='v' declared_type='void'/>
345
+ <arg index='0' name='theSQLStatement' declared_type='NSMutableString*' type='@'/>
346
+ <arg index='1' name='tags' declared_type='NSArray*' type='@'/>
347
+ <arg index='2' name='flag' declared_type='BOOL' type='B'/>
348
+ <retval declared_type='void' type='v'/>
348
349
  </method>
349
350
  <method selector='NSFP_sqlString:forTable:withColumns:datatypes:'>
350
- <arg type='@' index='0' declared_type='NSMutableString*' name='theSQLStatement'/>
351
- <arg type='@' index='1' declared_type='NSString*' name='table'/>
352
- <arg type='@' index='2' declared_type='NSArray*' name='columns'/>
353
- <arg type='@' index='3' declared_type='NSArray*' name='datatypes'/>
354
- <retval type='B' declared_type='BOOL'/>
351
+ <arg index='0' name='theSQLStatement' declared_type='NSMutableString*' type='@'/>
352
+ <arg index='1' name='table' declared_type='NSString*' type='@'/>
353
+ <arg index='2' name='columns' declared_type='NSArray*' type='@'/>
354
+ <arg index='3' name='datatypes' declared_type='NSArray*' type='@'/>
355
+ <retval declared_type='BOOL' type='B'/>
355
356
  </method>
356
357
  <method selector='NSFP_stripBitsFromExtendedResultCode:' class_method='true'>
357
- <arg type='i' index='0' declared_type='int' name='extendedResult'/>
358
- <retval type='i' declared_type='int'/>
358
+ <arg index='0' name='extendedResult' declared_type='int' type='i'/>
359
+ <retval declared_type='int' type='i'/>
359
360
  </method>
360
361
  <method selector='NSFP_suffixWithDotDelimiter:'>
361
- <arg type='@' index='0' declared_type='NSString*' name='tableAndColumn'/>
362
- <retval type='@' declared_type='NSString*'/>
362
+ <arg index='0' name='tableAndColumn' declared_type='NSString*' type='@'/>
363
+ <retval declared_type='NSString*' type='@'/>
363
364
  </method>
364
365
  <method selector='NSFP_uninstallCommitCallback'>
365
- <retval type='v' declared_type='void'/>
366
+ <retval declared_type='void' type='v'/>
366
367
  </method>
367
368
  <method selector='NSStringToNSFEncodingType:' class_method='true'>
368
- <arg type='@' index='0' declared_type='NSString*' name='value'/>
369
- <retval type='i' declared_type='NSFEncodingType'/>
369
+ <arg index='0' name='value' declared_type='NSString*' type='@'/>
370
+ <retval declared_type='NSFEncodingType' type='i'/>
370
371
  </method>
371
372
  <method selector='_plistToDictionary:' class_method='true'>
372
- <arg type='@' index='0' declared_type='NSString*' name='aPlist'/>
373
- <retval type='@' declared_type='NSDictionary*'/>
373
+ <arg index='0' name='aPlist' declared_type='NSString*' type='@'/>
374
+ <retval declared_type='NSDictionary*' type='@'/>
374
375
  </method>
375
376
  <method selector='allTables'>
376
- <retval type='@' declared_type='NSDictionary*'/>
377
+ <retval declared_type='NSDictionary*' type='@'/>
377
378
  </method>
378
379
  <method selector='beginDeferredTransaction'>
379
- <retval type='B' declared_type='BOOL'/>
380
+ <retval declared_type='BOOL' type='B'/>
380
381
  </method>
381
382
  <method selector='beginTransaction'>
382
- <retval type='B' declared_type='BOOL'/>
383
+ <retval declared_type='BOOL' type='B'/>
383
384
  </method>
384
385
  <method selector='busyTimeout'>
385
- <retval type='I' declared_type='unsigned int'/>
386
+ <retval declared_type='unsigned int' type='I'/>
386
387
  </method>
387
388
  <method selector='cacheMethod'>
388
- <retval type='i' declared_type='NSFCacheMethod'/>
389
+ <retval declared_type='NSFCacheMethod' type='i'/>
389
390
  </method>
390
391
  <method selector='cacheSize'>
391
- <retval type='I' declared_type='NSUInteger'/>
392
+ <retval declared_type='NSUInteger' type='I'/>
392
393
  </method>
393
394
  <method selector='close'>
394
- <retval type='B' declared_type='BOOL'/>
395
+ <retval declared_type='BOOL' type='B'/>
395
396
  </method>
396
397
  <method selector='columnsForTable:'>
397
- <arg type='@' index='0' declared_type='NSString*' name='theTable'/>
398
- <retval type='@' declared_type='NSArray*'/>
398
+ <arg index='0' name='theTable' declared_type='NSString*' type='@'/>
399
+ <retval declared_type='NSArray*' type='@'/>
399
400
  </method>
400
401
  <method selector='commitTransaction'>
401
- <retval type='B' declared_type='BOOL'/>
402
+ <retval declared_type='BOOL' type='B'/>
402
403
  </method>
403
404
  <method selector='compact'>
404
- <retval type='B' declared_type='BOOL'/>
405
+ <retval declared_type='BOOL' type='B'/>
405
406
  </method>
406
407
  <method selector='createIndexForColumn:table:isUnique:'>
407
- <arg type='@' index='0' declared_type='NSString*' name='theColumn'/>
408
- <arg type='@' index='1' declared_type='NSString*' name='theTable'/>
409
- <arg type='B' index='2' declared_type='BOOL' name='isUnique'/>
410
- <retval type='B' declared_type='BOOL'/>
408
+ <arg index='0' name='theColumn' declared_type='NSString*' type='@'/>
409
+ <arg index='1' name='theTable' declared_type='NSString*' type='@'/>
410
+ <arg index='2' name='isUnique' declared_type='BOOL' type='B'/>
411
+ <retval declared_type='BOOL' type='B'/>
411
412
  </method>
412
413
  <method selector='createTable:withColumns:datatypes:'>
413
- <arg type='@' index='0' declared_type='NSString*' name='theTable'/>
414
- <arg type='@' index='1' declared_type='NSArray*' name='theColumns'/>
415
- <arg type='@' index='2' declared_type='NSArray*' name='theDatatypes'/>
416
- <retval type='B' declared_type='BOOL'/>
414
+ <arg index='0' name='theTable' declared_type='NSString*' type='@'/>
415
+ <arg index='1' name='theColumns' declared_type='NSArray*' type='@'/>
416
+ <arg index='2' name='theDatatypes' declared_type='NSArray*' type='@'/>
417
+ <retval declared_type='BOOL' type='B'/>
417
418
  </method>
418
419
  <method selector='databaseWithPath:' class_method='true'>
419
- <arg type='@' index='0' declared_type='NSString*' name='thePath'/>
420
- <retval type='@' declared_type='id'/>
420
+ <arg index='0' name='thePath' declared_type='NSString*' type='@'/>
421
+ <retval declared_type='id' type='@'/>
421
422
  </method>
422
423
  <method selector='datatypesForTable:'>
423
- <arg type='@' index='0' declared_type='NSString*' name='theTable'/>
424
- <retval type='@' declared_type='NSArray*'/>
424
+ <arg index='0' name='theTable' declared_type='NSString*' type='@'/>
425
+ <retval declared_type='NSArray*' type='@'/>
425
426
  </method>
426
427
  <method selector='decodeDataFromBase64:' class_method='true'>
427
- <arg type='@' index='0' declared_type='NSString*' name='theEncodedData'/>
428
- <retval type='@' declared_type='NSData*'/>
428
+ <arg index='0' name='theEncodedData' declared_type='NSString*' type='@'/>
429
+ <retval declared_type='NSData*' type='@'/>
429
430
  </method>
430
431
  <method selector='description'>
431
- <retval type='@' declared_type='NSString*'/>
432
+ <retval declared_type='NSString*' type='@'/>
432
433
  </method>
433
434
  <method selector='dictionaryDescription'>
434
- <retval type='@' declared_type='NSFOrderedDictionary*'/>
435
+ <retval declared_type='NSFOrderedDictionary*' type='@'/>
435
436
  </method>
436
437
  <method selector='dropIndex:'>
437
- <arg type='@' index='0' declared_type='NSString*' name='theIndex'/>
438
- <retval type='v' declared_type='void'/>
438
+ <arg index='0' name='theIndex' declared_type='NSString*' type='@'/>
439
+ <retval declared_type='void' type='v'/>
439
440
  </method>
440
441
  <method selector='dropTable:'>
441
- <arg type='@' index='0' declared_type='NSString*' name='theTable'/>
442
- <retval type='B' declared_type='BOOL'/>
442
+ <arg index='0' name='theTable' declared_type='NSString*' type='@'/>
443
+ <retval declared_type='BOOL' type='B'/>
443
444
  </method>
444
445
  <method selector='encodeDataToBase64:' class_method='true'>
445
- <arg type='@' index='0' declared_type='NSData*' name='theData'/>
446
- <retval type='@' declared_type='NSString*'/>
446
+ <arg index='0' name='theData' declared_type='NSData*' type='@'/>
447
+ <retval declared_type='NSString*' type='@'/>
447
448
  </method>
448
449
  <method selector='encoding'>
449
- <retval type='i' declared_type='NSFEncodingType'/>
450
+ <retval declared_type='NSFEncodingType' type='i'/>
450
451
  </method>
451
452
  <method selector='executeSQL:'>
452
- <arg type='@' index='0' declared_type='NSString*' name='theSQLStatement'/>
453
- <retval type='@' declared_type='NSFNanoResult*'/>
453
+ <arg index='0' name='theSQLStatement' declared_type='NSString*' type='@'/>
454
+ <retval declared_type='NSFNanoResult*' type='@'/>
454
455
  </method>
455
456
  <method selector='indexedColumnsForTable:'>
456
- <arg type='@' index='0' declared_type='NSString*' name='theTable'/>
457
- <retval type='@' declared_type='NSArray*'/>
457
+ <arg index='0' name='theTable' declared_type='NSString*' type='@'/>
458
+ <retval declared_type='NSArray*' type='@'/>
458
459
  </method>
459
460
  <method selector='indexes'>
460
- <retval type='@' declared_type='NSArray*'/>
461
+ <retval declared_type='NSArray*' type='@'/>
461
462
  </method>
462
463
  <method selector='initWithPath:'>
463
- <arg type='@' index='0' declared_type='NSString*' name='thePath'/>
464
- <retval type='@' declared_type='id'/>
464
+ <arg index='0' name='thePath' declared_type='NSString*' type='@'/>
465
+ <retval declared_type='id' type='@'/>
465
466
  </method>
466
467
  <method selector='integrityCheck'>
467
- <retval type='B' declared_type='BOOL'/>
468
+ <retval declared_type='BOOL' type='B'/>
468
469
  </method>
469
470
  <method selector='isDatabaseOpen'>
470
- <retval type='B' declared_type='BOOL'/>
471
+ <retval declared_type='BOOL' type='B'/>
471
472
  </method>
472
473
  <method selector='isTransactionActive'>
473
- <retval type='B' declared_type='BOOL'/>
474
+ <retval declared_type='BOOL' type='B'/>
474
475
  </method>
475
476
  <method selector='journalModeAndReturnError:'>
476
- <arg type='^@' index='0' type_modifier='o' declared_type='NSError**' name='outError'/>
477
- <retval type='i' declared_type='NSFJournalModeMode'/>
477
+ <arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
478
+ <retval declared_type='NSFJournalModeMode' type='i'/>
478
479
  </method>
479
480
  <method selector='maxRowUIDForTable:'>
480
- <arg type='@' index='0' declared_type='NSString*' name='theTable'/>
481
- <retval type='q' declared_type='long long'/>
481
+ <arg index='0' name='theTable' declared_type='NSString*' type='@'/>
482
+ <retval declared_type='long long' type='q'/>
482
483
  </method>
483
484
  <method selector='nanoStoreEngineVersion' class_method='true'>
484
- <retval type='@' declared_type='NSString*'/>
485
+ <retval declared_type='NSString*' type='@'/>
485
486
  </method>
486
487
  <method selector='openWithCacheMethod:useFastMode:'>
487
- <arg type='i' index='0' declared_type='NSFCacheMethod' name='theCacheMethod'/>
488
- <arg type='B' index='1' declared_type='BOOL' name='useFastMode'/>
489
- <retval type='B' declared_type='BOOL'/>
488
+ <arg index='0' name='theCacheMethod' declared_type='NSFCacheMethod' type='i'/>
489
+ <arg index='1' name='useFastMode' declared_type='BOOL' type='B'/>
490
+ <retval declared_type='BOOL' type='B'/>
490
491
  </method>
491
492
  <method selector='pageSize'>
492
- <retval type='I' declared_type='NSUInteger'/>
493
+ <retval declared_type='NSUInteger' type='I'/>
493
494
  </method>
494
495
  <method selector='path'>
495
- <retval type='@' declared_type='NSString*'/>
496
+ <retval declared_type='NSString*' type='@'/>
496
497
  </method>
497
498
  <method selector='recommendedCacheSize' class_method='true'>
498
- <retval type='I' declared_type='NSUInteger'/>
499
+ <retval declared_type='NSUInteger' type='I'/>
499
500
  </method>
500
501
  <method selector='rollbackTransaction'>
501
- <retval type='B' declared_type='BOOL'/>
502
+ <retval declared_type='BOOL' type='B'/>
502
503
  </method>
503
504
  <method selector='setBusyTimeout:'>
504
- <arg type='I' index='0' declared_type='unsigned int' name='theTimeout'/>
505
- <retval type='v' declared_type='void'/>
505
+ <arg index='0' name='theTimeout' declared_type='unsigned int' type='I'/>
506
+ <retval declared_type='void' type='v'/>
506
507
  </method>
507
508
  <method selector='setCacheMethod:'>
508
- <arg type='i' index='0' declared_type='NSFCacheMethod' name='cacheMethod'/>
509
- <retval type='v' declared_type='void'/>
509
+ <arg index='0' name='cacheMethod' declared_type='NSFCacheMethod' type='i'/>
510
+ <retval declared_type='void' type='v'/>
510
511
  </method>
511
512
  <method selector='setCacheSize:'>
512
- <arg type='I' index='0' declared_type='NSUInteger' name='numberOfPages'/>
513
- <retval type='B' declared_type='BOOL'/>
513
+ <arg index='0' name='numberOfPages' declared_type='NSUInteger' type='I'/>
514
+ <retval declared_type='BOOL' type='B'/>
514
515
  </method>
515
516
  <method selector='setEncodingType:'>
516
- <arg type='i' index='0' declared_type='NSFEncodingType' name='theEncodingType'/>
517
- <retval type='B' declared_type='BOOL'/>
517
+ <arg index='0' name='theEncodingType' declared_type='NSFEncodingType' type='i'/>
518
+ <retval declared_type='BOOL' type='B'/>
518
519
  </method>
519
520
  <method selector='setJournalMode:'>
520
- <arg type='i' index='0' declared_type='NSFJournalModeMode' name='theMode'/>
521
- <retval type='B' declared_type='BOOL'/>
521
+ <arg index='0' name='theMode' declared_type='NSFJournalModeMode' type='i'/>
522
+ <retval declared_type='BOOL' type='B'/>
522
523
  </method>
523
524
  <method selector='setPageSize:'>
524
- <arg type='I' index='0' declared_type='NSUInteger' name='numberOfBytes'/>
525
- <retval type='B' declared_type='BOOL'/>
525
+ <arg index='0' name='numberOfBytes' declared_type='NSUInteger' type='I'/>
526
+ <retval declared_type='BOOL' type='B'/>
526
527
  </method>
527
528
  <method selector='setSynchronousMode:'>
528
- <arg type='i' index='0' declared_type='NSFSynchronousMode' name='theSynchronousMode'/>
529
- <retval type='v' declared_type='void'/>
529
+ <arg index='0' name='theSynchronousMode' declared_type='NSFSynchronousMode' type='i'/>
530
+ <retval declared_type='void' type='v'/>
530
531
  </method>
531
532
  <method selector='setTempStoreMode:'>
532
- <arg type='i' index='0' declared_type='NSFTempStoreMode' name='theTempStoreMode'/>
533
- <retval type='v' declared_type='void'/>
533
+ <arg index='0' name='theTempStoreMode' declared_type='NSFTempStoreMode' type='i'/>
534
+ <retval declared_type='void' type='v'/>
534
535
  </method>
535
536
  <method selector='sharedNanoStoreEngineDatatypes' class_method='true'>
536
- <retval type='@' declared_type='NSSet*'/>
537
+ <retval declared_type='NSSet*' type='@'/>
537
538
  </method>
538
539
  <method selector='sqlite'>
539
- <retval type='^{sqlite3=}' declared_type='sqlite3*'/>
540
+ <retval declared_type='sqlite3*' type='^{sqlite3=}'/>
540
541
  </method>
541
542
  <method selector='sqliteVersion' class_method='true'>
542
- <retval type='@' declared_type='NSString*'/>
543
+ <retval declared_type='NSString*' type='@'/>
543
544
  </method>
544
545
  <method selector='stringWithUUID' class_method='true'>
545
- <retval type='@' declared_type='NSString*'/>
546
+ <retval declared_type='NSString*' type='@'/>
546
547
  </method>
547
548
  <method selector='synchronousMode'>
548
- <retval type='i' declared_type='NSFSynchronousMode'/>
549
+ <retval declared_type='NSFSynchronousMode' type='i'/>
549
550
  </method>
550
551
  <method selector='systemPageSize' class_method='true'>
551
- <retval type='i' declared_type='NSInteger'/>
552
+ <retval declared_type='NSInteger' type='i'/>
552
553
  </method>
553
554
  <method selector='tables'>
554
- <retval type='@' declared_type='NSArray*'/>
555
+ <retval declared_type='NSArray*' type='@'/>
555
556
  </method>
556
557
  <method selector='tempStoreMode'>
557
- <retval type='i' declared_type='NSFTempStoreMode'/>
558
+ <retval declared_type='NSFTempStoreMode' type='i'/>
558
559
  </method>
559
560
  <method selector='temporaryTables'>
560
- <retval type='@' declared_type='NSArray*'/>
561
+ <retval declared_type='NSArray*' type='@'/>
561
562
  </method>
562
563
  </class>
563
564
  <class name='NSFNanoExpression'>
564
565
  <method selector='JSONDescription'>
565
- <retval type='@' declared_type='NSString*'/>
566
+ <retval declared_type='NSString*' type='@'/>
566
567
  </method>
567
568
  <method selector='addPredicate:withOperator:'>
568
- <arg type='@' index='0' declared_type='NSFNanoPredicate*' name='thePredicate'/>
569
- <arg type='i' index='1' declared_type='NSFOperator' name='theOperator'/>
570
- <retval type='v' declared_type='void'/>
569
+ <arg index='0' name='thePredicate' declared_type='NSFNanoPredicate*' type='@'/>
570
+ <arg index='1' name='theOperator' declared_type='NSFOperator' type='i'/>
571
+ <retval declared_type='void' type='v'/>
571
572
  </method>
572
573
  <method selector='arrayDescription'>
573
- <retval type='@' declared_type='NSArray*'/>
574
+ <retval declared_type='NSArray*' type='@'/>
574
575
  </method>
575
576
  <method selector='description'>
576
- <retval type='@' declared_type='NSString*'/>
577
+ <retval declared_type='NSString*' type='@'/>
577
578
  </method>
578
579
  <method selector='expressionWithPredicate:' class_method='true'>
579
- <arg type='@' index='0' declared_type='NSFNanoPredicate*' name='thePredicate'/>
580
- <retval type='@' declared_type='NSFNanoExpression*'/>
580
+ <arg index='0' name='thePredicate' declared_type='NSFNanoPredicate*' type='@'/>
581
+ <retval declared_type='NSFNanoExpression*' type='@'/>
581
582
  </method>
582
583
  <method selector='initWithPredicate:'>
583
- <arg type='@' index='0' declared_type='NSFNanoPredicate*' name='thePredicate'/>
584
- <retval type='@' declared_type='id'/>
584
+ <arg index='0' name='thePredicate' declared_type='NSFNanoPredicate*' type='@'/>
585
+ <retval declared_type='id' type='@'/>
585
586
  </method>
586
587
  <method selector='operators'>
587
- <retval type='@' declared_type='NSArray*'/>
588
+ <retval declared_type='NSArray*' type='@'/>
588
589
  </method>
589
590
  <method selector='predicates'>
590
- <retval type='@' declared_type='NSArray*'/>
591
+ <retval declared_type='NSArray*' type='@'/>
591
592
  </method>
592
593
  </class>
593
594
  <class name='NSFNanoObject'>
594
595
  <method selector='JSONDescription'>
595
- <retval type='@' declared_type='NSString*'/>
596
+ <retval declared_type='NSString*' type='@'/>
596
597
  </method>
597
598
  <method selector='_NSObjectToJSONString:error:' class_method='true'>
598
- <arg type='@' index='0' declared_type='id' name='object'/>
599
- <arg type='^@' index='1' declared_type='NSError**' name='error'/>
600
- <retval type='@' declared_type='NSString*'/>
599
+ <arg index='0' name='object' declared_type='id' type='@'/>
600
+ <arg index='1' name='error' declared_type='NSError**' type='^@'/>
601
+ <retval declared_type='NSString*' type='@'/>
601
602
  </method>
602
603
  <method selector='_safeArrayFromArray:' class_method='true'>
603
- <arg type='@' index='0' declared_type='NSArray*' name='array'/>
604
- <retval type='@' declared_type='NSArray*'/>
604
+ <arg index='0' name='array' declared_type='NSArray*' type='@'/>
605
+ <retval declared_type='NSArray*' type='@'/>
605
606
  </method>
606
607
  <method selector='_safeDictionaryFromDictionary:' class_method='true'>
607
- <arg type='@' index='0' declared_type='NSDictionary*' name='dictionary'/>
608
- <retval type='@' declared_type='NSDictionary*'/>
608
+ <arg index='0' name='dictionary' declared_type='NSDictionary*' type='@'/>
609
+ <retval declared_type='NSDictionary*' type='@'/>
609
610
  </method>
610
611
  <method selector='_safeObjectFromObject:' class_method='true'>
611
- <arg type='@' index='0' declared_type='id' name='object'/>
612
- <retval type='@' declared_type='id'/>
612
+ <arg index='0' name='object' declared_type='id' type='@'/>
613
+ <retval declared_type='id' type='@'/>
613
614
  </method>
614
615
  <method selector='_setOriginalClassString:'>
615
- <arg type='@' index='0' declared_type='NSString*' name='theClassString'/>
616
- <retval type='v' declared_type='void'/>
616
+ <arg index='0' name='theClassString' declared_type='NSString*' type='@'/>
617
+ <retval declared_type='void' type='v'/>
617
618
  </method>
618
619
  <method selector='addEntriesFromDictionary:'>
619
- <arg type='@' index='0' declared_type='NSDictionary*' name='otherDictionary'/>
620
- <retval type='v' declared_type='void'/>
620
+ <arg index='0' name='otherDictionary' declared_type='NSDictionary*' type='@'/>
621
+ <retval declared_type='void' type='v'/>
621
622
  </method>
622
623
  <method selector='description'>
623
- <retval type='@' declared_type='NSString*'/>
624
+ <retval declared_type='NSString*' type='@'/>
624
625
  </method>
625
626
  <method selector='dictionaryRepresentation'>
626
- <retval type='@' declared_type='NSDictionary*'/>
627
+ <retval declared_type='NSDictionary*' type='@'/>
627
628
  </method>
628
629
  <method selector='info'>
629
- <retval type='@' declared_type='NSDictionary*'/>
630
+ <retval declared_type='NSDictionary*' type='@'/>
630
631
  </method>
631
632
  <method selector='initFromDictionaryRepresentation:'>
632
- <arg type='@' index='0' declared_type='NSDictionary*' name='theDictionary'/>
633
- <retval type='@' declared_type='id'/>
633
+ <arg index='0' name='theDictionary' declared_type='NSDictionary*' type='@'/>
634
+ <retval declared_type='id' type='@'/>
634
635
  </method>
635
636
  <method selector='initFromDictionaryRepresentation:key:'>
636
- <arg type='@' index='0' declared_type='NSDictionary*' name='theDictionary'/>
637
- <arg type='@' index='1' declared_type='NSString*' name='theKey'/>
638
- <retval type='@' declared_type='id'/>
637
+ <arg index='0' name='theDictionary' declared_type='NSDictionary*' type='@'/>
638
+ <arg index='1' name='theKey' declared_type='NSString*' type='@'/>
639
+ <retval declared_type='id' type='@'/>
639
640
  </method>
640
641
  <method selector='isEqualToNanoObject:'>
641
- <arg type='@' index='0' declared_type='NSFNanoObject*' name='otherNanoObject'/>
642
- <retval type='B' declared_type='BOOL'/>
642
+ <arg index='0' name='otherNanoObject' declared_type='NSFNanoObject*' type='@'/>
643
+ <retval declared_type='BOOL' type='B'/>
643
644
  </method>
644
645
  <method selector='key'>
645
- <retval type='@' declared_type='NSString*'/>
646
+ <retval declared_type='NSString*' type='@'/>
646
647
  </method>
647
648
  <method selector='nanoObject' class_method='true'>
648
- <retval type='@' declared_type='NSFNanoObject*'/>
649
+ <retval declared_type='NSFNanoObject*' type='@'/>
649
650
  </method>
650
651
  <method selector='nanoObjectWithDictionary:' class_method='true'>
651
- <arg type='@' index='0' declared_type='NSDictionary*' name='theDictionary'/>
652
- <retval type='@' declared_type='NSFNanoObject*'/>
652
+ <arg index='0' name='theDictionary' declared_type='NSDictionary*' type='@'/>
653
+ <retval declared_type='NSFNanoObject*' type='@'/>
653
654
  </method>
654
655
  <method selector='nanoObjectWithDictionary:key:' class_method='true'>
655
- <arg type='@' index='0' declared_type='NSDictionary*' name='theDictionary'/>
656
- <arg type='@' index='1' declared_type='NSString*' name='theKey'/>
657
- <retval type='@' declared_type='NSFNanoObject*'/>
656
+ <arg index='0' name='theDictionary' declared_type='NSDictionary*' type='@'/>
657
+ <arg index='1' name='theKey' declared_type='NSString*' type='@'/>
658
+ <retval declared_type='NSFNanoObject*' type='@'/>
658
659
  </method>
659
660
  <method selector='objectForKey:'>
660
- <arg type='@' index='0' declared_type='NSString*' name='aKey'/>
661
- <retval type='@' declared_type='id'/>
661
+ <arg index='0' name='aKey' declared_type='NSString*' type='@'/>
662
+ <retval declared_type='id' type='@'/>
662
663
  </method>
663
664
  <method selector='originalClassString'>
664
- <retval type='@' declared_type='NSString*'/>
665
+ <retval declared_type='NSString*' type='@'/>
665
666
  </method>
666
667
  <method selector='removeAllObjects'>
667
- <retval type='v' declared_type='void'/>
668
+ <retval declared_type='void' type='v'/>
668
669
  </method>
669
670
  <method selector='removeObjectForKey:'>
670
- <arg type='@' index='0' declared_type='NSString*' name='aKey'/>
671
- <retval type='v' declared_type='void'/>
671
+ <arg index='0' name='aKey' declared_type='NSString*' type='@'/>
672
+ <retval declared_type='void' type='v'/>
672
673
  </method>
673
674
  <method selector='removeObjectsForKeys:'>
674
- <arg type='@' index='0' declared_type='NSArray*' name='keyArray'/>
675
- <retval type='v' declared_type='void'/>
675
+ <arg index='0' name='keyArray' declared_type='NSArray*' type='@'/>
676
+ <retval declared_type='void' type='v'/>
676
677
  </method>
677
678
  <method selector='saveStoreAndReturnError:'>
678
- <arg type='^@' index='0' type_modifier='o' declared_type='NSError**' name='outError'/>
679
- <retval type='B' declared_type='BOOL'/>
679
+ <arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
680
+ <retval declared_type='BOOL' type='B'/>
680
681
  </method>
681
682
  <method selector='setObject:forKey:'>
682
- <arg type='@' index='0' declared_type='id' name='anObject'/>
683
- <arg type='@' index='1' declared_type='NSString*' name='aKey'/>
684
- <retval type='v' declared_type='void'/>
683
+ <arg index='0' name='anObject' declared_type='id' type='@'/>
684
+ <arg index='1' name='aKey' declared_type='NSString*' type='@'/>
685
+ <retval declared_type='void' type='v'/>
685
686
  </method>
686
687
  <method selector='setStore:'>
687
- <arg type='@' index='0' declared_type='NSFNanoStore*' name='store'/>
688
- <retval type='v' declared_type='void'/>
688
+ <arg index='0' name='store' declared_type='NSFNanoStore*' type='@'/>
689
+ <retval declared_type='void' type='v'/>
689
690
  </method>
690
691
  <method selector='store'>
691
- <retval type='@' declared_type='NSFNanoStore*'/>
692
+ <retval declared_type='NSFNanoStore*' type='@'/>
692
693
  </method>
693
694
  </class>
694
695
  <class name='NSFNanoPredicate'>
695
696
  <method selector='JSONDescription'>
696
- <retval type='@' declared_type='NSString*'/>
697
+ <retval declared_type='NSString*' type='@'/>
697
698
  </method>
698
699
  <method selector='column'>
699
- <retval type='i' declared_type='NSFTableColumnType'/>
700
+ <retval declared_type='NSFTableColumnType' type='i'/>
700
701
  </method>
701
702
  <method selector='description'>
702
- <retval type='@' declared_type='NSString*'/>
703
+ <retval declared_type='NSString*' type='@'/>
703
704
  </method>
704
705
  <method selector='initWithColumn:matching:value:'>
705
- <arg type='i' index='0' declared_type='NSFTableColumnType' name='theType'/>
706
- <arg type='i' index='1' declared_type='NSFMatchType' name='theMatch'/>
707
- <arg type='@' index='2' declared_type='NSString*' name='theValue'/>
708
- <retval type='@' declared_type='id'/>
706
+ <arg index='0' name='theType' declared_type='NSFTableColumnType' type='i'/>
707
+ <arg index='1' name='theMatch' declared_type='NSFMatchType' type='i'/>
708
+ <arg index='2' name='theValue' declared_type='id' type='@'/>
709
+ <retval declared_type='id' type='@'/>
709
710
  </method>
710
711
  <method selector='match'>
711
- <retval type='i' declared_type='NSFMatchType'/>
712
+ <retval declared_type='NSFMatchType' type='i'/>
712
713
  </method>
713
714
  <method selector='predicateWithColumn:matching:value:' class_method='true'>
714
- <arg type='i' index='0' declared_type='NSFTableColumnType' name='theType'/>
715
- <arg type='i' index='1' declared_type='NSFMatchType' name='theMatch'/>
716
- <arg type='@' index='2' declared_type='NSString*' name='theValue'/>
717
- <retval type='@' declared_type='NSFNanoPredicate*'/>
715
+ <arg index='0' name='theType' declared_type='NSFTableColumnType' type='i'/>
716
+ <arg index='1' name='theMatch' declared_type='NSFMatchType' type='i'/>
717
+ <arg index='2' name='theValue' declared_type='id' type='@'/>
718
+ <retval declared_type='NSFNanoPredicate*' type='@'/>
718
719
  </method>
719
720
  <method selector='value'>
720
- <retval type='@' declared_type='NSString*'/>
721
+ <retval declared_type='id' type='@'/>
721
722
  </method>
722
723
  </class>
723
724
  <class name='NSFNanoResult'>
724
725
  <method selector='JSONDescription'>
725
- <retval type='@' declared_type='NSString*'/>
726
+ <retval declared_type='NSString*' type='@'/>
726
727
  </method>
727
728
  <method selector='_calculateNumberOfRows'>
728
- <retval type='v' declared_type='void'/>
729
+ <retval declared_type='void' type='v'/>
729
730
  </method>
730
731
  <method selector='_initWithDictionary:'>
731
- <arg type='@' index='0' declared_type='NSDictionary*' name='results'/>
732
- <retval type='@' declared_type='id'/>
732
+ <arg index='0' name='results' declared_type='NSDictionary*' type='@'/>
733
+ <retval declared_type='id' type='@'/>
733
734
  </method>
734
735
  <method selector='_initWithError:'>
735
- <arg type='@' index='0' declared_type='NSError*' name='error'/>
736
- <retval type='@' declared_type='id'/>
736
+ <arg index='0' name='error' declared_type='NSError*' type='@'/>
737
+ <retval declared_type='id' type='@'/>
737
738
  </method>
738
739
  <method selector='_reset'>
739
- <retval type='v' declared_type='void'/>
740
+ <retval declared_type='void' type='v'/>
740
741
  </method>
741
742
  <method selector='_resultWithDictionary:' class_method='true'>
742
- <arg type='@' index='0' declared_type='NSDictionary*' name='results'/>
743
- <retval type='@' declared_type='NSFNanoResult*'/>
743
+ <arg index='0' name='results' declared_type='NSDictionary*' type='@'/>
744
+ <retval declared_type='NSFNanoResult*' type='@'/>
744
745
  </method>
745
746
  <method selector='_resultWithError:' class_method='true'>
746
- <arg type='@' index='0' declared_type='NSError*' name='error'/>
747
- <retval type='@' declared_type='NSFNanoResult*'/>
747
+ <arg index='0' name='error' declared_type='NSError*' type='@'/>
748
+ <retval declared_type='NSFNanoResult*' type='@'/>
748
749
  </method>
749
750
  <method selector='_setError:'>
750
- <arg type='@' index='0' declared_type='NSError*' name='error'/>
751
- <retval type='v' declared_type='void'/>
751
+ <arg index='0' name='error' declared_type='NSError*' type='@'/>
752
+ <retval declared_type='void' type='v'/>
752
753
  </method>
753
754
  <method selector='columns'>
754
- <retval type='@' declared_type='NSArray*'/>
755
+ <retval declared_type='NSArray*' type='@'/>
755
756
  </method>
756
757
  <method selector='description'>
757
- <retval type='@' declared_type='NSString*'/>
758
+ <retval declared_type='NSString*' type='@'/>
758
759
  </method>
759
760
  <method selector='error'>
760
- <retval type='@' declared_type='NSError*'/>
761
+ <retval declared_type='NSError*' type='@'/>
761
762
  </method>
762
763
  <method selector='firstValue'>
763
- <retval type='@' declared_type='NSString*'/>
764
+ <retval declared_type='NSString*' type='@'/>
764
765
  </method>
765
766
  <method selector='numberOfRows'>
766
- <retval type='I' declared_type='NSUInteger'/>
767
+ <retval declared_type='NSUInteger' type='I'/>
767
768
  </method>
768
769
  <method selector='setError:'>
769
- <arg type='@' index='0' declared_type='NSError*' name='error'/>
770
- <retval type='v' declared_type='void'/>
770
+ <arg index='0' name='error' declared_type='NSError*' type='@'/>
771
+ <retval declared_type='void' type='v'/>
771
772
  </method>
772
773
  <method selector='valueAtIndex:forColumn:'>
773
- <arg type='I' index='0' declared_type='NSUInteger' name='theIndex'/>
774
- <arg type='@' index='1' declared_type='NSString*' name='theColumn'/>
775
- <retval type='@' declared_type='NSString*'/>
774
+ <arg index='0' name='theIndex' declared_type='NSUInteger' type='I'/>
775
+ <arg index='1' name='theColumn' declared_type='NSString*' type='@'/>
776
+ <retval declared_type='NSString*' type='@'/>
776
777
  </method>
777
778
  <method selector='valuesForColumn:'>
778
- <arg type='@' index='0' declared_type='NSString*' name='theColumn'/>
779
- <retval type='@' declared_type='NSArray*'/>
779
+ <arg index='0' name='theColumn' declared_type='NSString*' type='@'/>
780
+ <retval declared_type='NSArray*' type='@'/>
780
781
  </method>
781
782
  <method selector='writeToFile:'>
782
- <arg type='@' index='0' declared_type='NSString*' name='thePath'/>
783
- <retval type='v' declared_type='void'/>
783
+ <arg index='0' name='thePath' declared_type='NSString*' type='@'/>
784
+ <retval declared_type='void' type='v'/>
784
785
  </method>
785
786
  </class>
786
787
  <class name='NSFNanoSearch'>
787
788
  <method selector='JSONDescription'>
788
- <retval type='@' declared_type='NSString*'/>
789
+ <retval declared_type='NSString*' type='@'/>
789
790
  </method>
790
791
  <method selector='_dataWithKey:attribute:value:matching:'>
791
- <arg type='@' index='0' declared_type='NSString*' name='aKey'/>
792
- <arg type='@' index='1' declared_type='NSString*' name='anAttribute'/>
793
- <arg type='@' index='2' declared_type='NSString*' name='aValue'/>
794
- <arg type='i' index='3' declared_type='NSFMatchType' name='match'/>
795
- <retval type='@' declared_type='NSArray*'/>
792
+ <arg index='0' name='aKey' declared_type='NSString*' type='@'/>
793
+ <arg index='1' name='anAttribute' declared_type='NSString*' type='@'/>
794
+ <arg index='2' name='aValue' declared_type='NSString*' type='@'/>
795
+ <arg index='3' name='match' declared_type='NSFMatchType' type='i'/>
796
+ <retval declared_type='NSArray*' type='@'/>
796
797
  </method>
797
798
  <method selector='_dataWithKey:attribute:value:matching:returning:'>
798
- <arg type='@' index='0' declared_type='NSString*' name='aKey'/>
799
- <arg type='@' index='1' declared_type='NSString*' name='anAttribute'/>
800
- <arg type='@' index='2' declared_type='NSString*' name='aValue'/>
801
- <arg type='i' index='3' declared_type='NSFMatchType' name='match'/>
802
- <arg type='i' index='4' declared_type='NSFReturnType' name='returnedObjectType'/>
803
- <retval type='@' declared_type='NSArray*'/>
799
+ <arg index='0' name='aKey' declared_type='NSString*' type='@'/>
800
+ <arg index='1' name='anAttribute' declared_type='NSString*' type='@'/>
801
+ <arg index='2' name='aValue' declared_type='NSString*' type='@'/>
802
+ <arg index='3' name='match' declared_type='NSFMatchType' type='i'/>
803
+ <arg index='4' name='returnedObjectType' declared_type='NSFReturnType' type='i'/>
804
+ <retval declared_type='NSArray*' type='@'/>
804
805
  </method>
805
806
  <method selector='_dictionaryForKeyPath:value:'>
806
- <arg type='@' index='0' declared_type='NSString*' name='keyPath'/>
807
- <arg type='@' index='1' declared_type='id' name='value'/>
808
- <retval type='@' declared_type='NSDictionary*'/>
807
+ <arg index='0' name='keyPath' declared_type='NSString*' type='@'/>
808
+ <arg index='1' name='value' declared_type='id' type='@'/>
809
+ <retval declared_type='NSDictionary*' type='@'/>
809
810
  </method>
810
811
  <method selector='_prepareSQLQueryStringWithExpressions:'>
811
- <arg type='@' index='0' declared_type='NSArray*' name='someExpressions'/>
812
- <retval type='@' declared_type='NSString*'/>
812
+ <arg index='0' name='someExpressions' declared_type='NSArray*' type='@'/>
813
+ <retval declared_type='NSString*' type='@'/>
813
814
  </method>
814
815
  <method selector='_prepareSQLQueryStringWithKey:attribute:value:matching:'>
815
- <arg type='@' index='0' declared_type='NSString*' name='aKey'/>
816
- <arg type='@' index='1' declared_type='NSString*' name='anAttribute'/>
817
- <arg type='@' index='2' declared_type='id' name='aValue'/>
818
- <arg type='i' index='3' declared_type='NSFMatchType' name='match'/>
819
- <retval type='@' declared_type='NSString*'/>
816
+ <arg index='0' name='aKey' declared_type='NSString*' type='@'/>
817
+ <arg index='1' name='anAttribute' declared_type='NSString*' type='@'/>
818
+ <arg index='2' name='aValue' declared_type='id' type='@'/>
819
+ <arg index='3' name='match' declared_type='NSFMatchType' type='i'/>
820
+ <retval declared_type='NSString*' type='@'/>
820
821
  </method>
821
822
  <method selector='_prepareSQLQueryStringWithKeys:' class_method='true'>
822
- <arg type='@' index='0' declared_type='NSArray*' name='someKeys'/>
823
- <retval type='@' declared_type='NSString*'/>
823
+ <arg index='0' name='someKeys' declared_type='NSArray*' type='@'/>
824
+ <retval declared_type='NSString*' type='@'/>
824
825
  </method>
825
826
  <method selector='_preparedSQL'>
826
- <retval type='@' declared_type='NSString*'/>
827
+ <retval declared_type='NSString*' type='@'/>
827
828
  </method>
828
829
  <method selector='_querySegmentForAttributeColumnWithValue:matching:valueColumnWithValue:' class_method='true'>
829
- <arg type='@' index='0' declared_type='id' name='anAttributeValue'/>
830
- <arg type='i' index='1' declared_type='NSFMatchType' name='match'/>
831
- <arg type='@' index='2' declared_type='id' name='aValue'/>
832
- <retval type='@' declared_type='NSString*'/>
830
+ <arg index='0' name='anAttributeValue' declared_type='id' type='@'/>
831
+ <arg index='1' name='match' declared_type='NSFMatchType' type='i'/>
832
+ <arg index='2' name='aValue' declared_type='id' type='@'/>
833
+ <retval declared_type='NSString*' type='@'/>
833
834
  </method>
834
835
  <method selector='_querySegmentForColumn:value:matching:' class_method='true'>
835
- <arg type='@' index='0' declared_type='NSString*' name='aColumn'/>
836
- <arg type='@' index='1' declared_type='id' name='aValue'/>
837
- <arg type='i' index='2' declared_type='NSFMatchType' name='match'/>
838
- <retval type='@' declared_type='NSString*'/>
836
+ <arg index='0' name='aColumn' declared_type='NSString*' type='@'/>
837
+ <arg index='1' name='aValue' declared_type='id' type='@'/>
838
+ <arg index='2' name='match' declared_type='NSFMatchType' type='i'/>
839
+ <retval declared_type='NSString*' type='@'/>
839
840
  </method>
840
841
  <method selector='_quoteStrings:joiningWithDelimiter:' class_method='true'>
841
- <arg type='@' index='0' declared_type='NSArray*' name='strings'/>
842
- <arg type='@' index='1' declared_type='NSString*' name='delimiter'/>
843
- <retval type='@' declared_type='NSString*'/>
842
+ <arg index='0' name='strings' declared_type='NSArray*' type='@'/>
843
+ <arg index='1' name='delimiter' declared_type='NSString*' type='@'/>
844
+ <retval declared_type='NSString*' type='@'/>
844
845
  </method>
845
846
  <method selector='_resultsFromSQLQuery:'>
846
- <arg type='@' index='0' declared_type='NSString*' name='theSQLStatement'/>
847
- <retval type='@' declared_type='NSArray*'/>
847
+ <arg index='0' name='theSQLStatement' declared_type='NSString*' type='@'/>
848
+ <retval declared_type='NSArray*' type='@'/>
848
849
  </method>
849
850
  <method selector='_retrieveDataAdded:calendarDate:error:'>
850
- <arg type='i' index='0' declared_type='NSFDateMatchType' name='aDateMatch'/>
851
- <arg type='@' index='1' declared_type='NSDate*' name='aDate'/>
852
- <arg type='^@' index='2' type_modifier='o' declared_type='NSError**' name='outError'/>
853
- <retval type='@' declared_type='NSDictionary*'/>
851
+ <arg index='0' name='aDateMatch' declared_type='NSFDateMatchType' type='i'/>
852
+ <arg index='1' name='aDate' declared_type='NSDate*' type='@'/>
853
+ <arg index='2' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
854
+ <retval declared_type='NSDictionary*' type='@'/>
854
855
  </method>
855
856
  <method selector='_retrieveDataWithError:'>
856
- <arg type='^@' index='0' type_modifier='o' declared_type='NSError**' name='outError'/>
857
- <retval type='@' declared_type='NSDictionary*'/>
857
+ <arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
858
+ <retval declared_type='NSDictionary*' type='@'/>
858
859
  </method>
859
860
  <method selector='_sortResultsIfApplicable:returnType:'>
860
- <arg type='@' index='0' declared_type='NSDictionary*' name='results'/>
861
- <arg type='i' index='1' declared_type='NSFReturnType' name='theReturnType'/>
862
- <retval type='@' declared_type='id'/>
861
+ <arg index='0' name='results' declared_type='NSDictionary*' type='@'/>
862
+ <arg index='1' name='theReturnType' declared_type='NSFReturnType' type='i'/>
863
+ <retval declared_type='id' type='@'/>
863
864
  </method>
864
865
  <method selector='aggregateOperation:onAttribute:'>
865
- <arg type='i' index='0' declared_type='NSFAggregateFunctionType' name='theFunctionType'/>
866
- <arg type='@' index='1' declared_type='NSString*' name='theAttribute'/>
867
- <retval type='@' declared_type='NSNumber*'/>
866
+ <arg index='0' name='theFunctionType' declared_type='NSFAggregateFunctionType' type='i'/>
867
+ <arg index='1' name='theAttribute' declared_type='NSString*' type='@'/>
868
+ <retval declared_type='NSNumber*' type='@'/>
868
869
  </method>
869
870
  <method selector='attribute'>
870
- <retval type='@' declared_type='NSString*'/>
871
+ <retval declared_type='NSString*' type='@'/>
871
872
  </method>
872
873
  <method selector='attributesToBeReturned'>
873
- <retval type='@' declared_type='NSArray*'/>
874
+ <retval declared_type='NSArray*' type='@'/>
875
+ </method>
876
+ <method selector='bag'>
877
+ <retval declared_type='NSFNanoBag*' type='@'/>
874
878
  </method>
875
879
  <method selector='description'>
876
- <retval type='@' declared_type='NSString*'/>
880
+ <retval declared_type='NSString*' type='@'/>
877
881
  </method>
878
882
  <method selector='executeSQL:'>
879
- <arg type='@' index='0' declared_type='NSString*' name='theSQLStatement'/>
880
- <retval type='@' declared_type='NSFNanoResult*'/>
883
+ <arg index='0' name='theSQLStatement' declared_type='NSString*' type='@'/>
884
+ <retval declared_type='NSFNanoResult*' type='@'/>
881
885
  </method>
882
886
  <method selector='executeSQL:returnType:error:'>
883
- <arg type='@' index='0' declared_type='NSString*' name='theSQLStatement'/>
884
- <arg type='i' index='1' declared_type='NSFReturnType' name='theReturnType'/>
885
- <arg type='^@' index='2' type_modifier='o' declared_type='NSError**' name='outError'/>
886
- <retval type='@' declared_type='id'/>
887
+ <arg index='0' name='theSQLStatement' declared_type='NSString*' type='@'/>
888
+ <arg index='1' name='theReturnType' declared_type='NSFReturnType' type='i'/>
889
+ <arg index='2' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
890
+ <retval declared_type='id' type='@'/>
887
891
  </method>
888
892
  <method selector='explainSQL:'>
889
- <arg type='@' index='0' declared_type='NSString*' name='theSQLStatement'/>
890
- <retval type='@' declared_type='NSFNanoResult*'/>
893
+ <arg index='0' name='theSQLStatement' declared_type='NSString*' type='@'/>
894
+ <retval declared_type='NSFNanoResult*' type='@'/>
891
895
  </method>
892
896
  <method selector='expressions'>
893
- <retval type='@' declared_type='NSArray*'/>
897
+ <retval declared_type='NSArray*' type='@'/>
894
898
  </method>
895
899
  <method selector='filterClass'>
896
- <retval type='@' declared_type='NSString*'/>
900
+ <retval declared_type='NSString*' type='@'/>
897
901
  </method>
898
902
  <method selector='groupValues'>
899
- <retval type='B' declared_type='BOOL'/>
903
+ <retval declared_type='BOOL' type='B'/>
900
904
  </method>
901
905
  <method selector='initWithStore:'>
902
- <arg type='@' index='0' declared_type='NSFNanoStore*' name='theNanoStore'/>
903
- <retval type='@' declared_type='id'/>
906
+ <arg index='0' name='theNanoStore' declared_type='NSFNanoStore*' type='@'/>
907
+ <retval declared_type='id' type='@'/>
904
908
  </method>
905
909
  <method selector='key'>
906
- <retval type='@' declared_type='NSString*'/>
910
+ <retval declared_type='NSString*' type='@'/>
907
911
  </method>
908
912
  <method selector='limit'>
909
- <retval type='I' declared_type='NSUInteger'/>
913
+ <retval declared_type='NSUInteger' type='I'/>
910
914
  </method>
911
915
  <method selector='match'>
912
- <retval type='i' declared_type='NSFMatchType'/>
916
+ <retval declared_type='NSFMatchType' type='i'/>
913
917
  </method>
914
918
  <method selector='nanoStore'>
915
- <retval type='@' declared_type='NSFNanoStore*'/>
919
+ <retval declared_type='NSFNanoStore*' type='@'/>
916
920
  </method>
917
921
  <method selector='offset'>
918
- <retval type='I' declared_type='NSUInteger'/>
922
+ <retval declared_type='NSUInteger' type='I'/>
919
923
  </method>
920
924
  <method selector='reset'>
921
- <retval type='v' declared_type='void'/>
925
+ <retval declared_type='void' type='v'/>
922
926
  </method>
923
927
  <method selector='searchObjectsAdded:date:returnType:error:'>
924
- <arg type='i' index='0' declared_type='NSFDateMatchType' name='theDateMatch'/>
925
- <arg type='@' index='1' declared_type='NSDate*' name='theDate'/>
926
- <arg type='i' index='2' declared_type='NSFReturnType' name='theReturnType'/>
927
- <arg type='^@' index='3' type_modifier='o' declared_type='NSError**' name='outError'/>
928
- <retval type='@' declared_type='id'/>
928
+ <arg index='0' name='theDateMatch' declared_type='NSFDateMatchType' type='i'/>
929
+ <arg index='1' name='theDate' declared_type='NSDate*' type='@'/>
930
+ <arg index='2' name='theReturnType' declared_type='NSFReturnType' type='i'/>
931
+ <arg index='3' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
932
+ <retval declared_type='id' type='@'/>
929
933
  </method>
930
934
  <method selector='searchObjectsWithReturnType:error:'>
931
- <arg type='i' index='0' declared_type='NSFReturnType' name='theReturnType'/>
932
- <arg type='^@' index='1' type_modifier='o' declared_type='NSError**' name='outError'/>
933
- <retval type='@' declared_type='id'/>
935
+ <arg index='0' name='theReturnType' declared_type='NSFReturnType' type='i'/>
936
+ <arg index='1' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
937
+ <retval declared_type='id' type='@'/>
934
938
  </method>
935
939
  <method selector='searchWithStore:' class_method='true'>
936
- <arg type='@' index='0' declared_type='NSFNanoStore*' name='theNanoStore'/>
937
- <retval type='@' declared_type='NSFNanoSearch*'/>
940
+ <arg index='0' name='theNanoStore' declared_type='NSFNanoStore*' type='@'/>
941
+ <retval declared_type='NSFNanoSearch*' type='@'/>
938
942
  </method>
939
943
  <method selector='setAttribute:'>
940
- <arg type='@' index='0' declared_type='NSString*' name='attribute'/>
941
- <retval type='v' declared_type='void'/>
944
+ <arg index='0' name='attribute' declared_type='NSString*' type='@'/>
945
+ <retval declared_type='void' type='v'/>
942
946
  </method>
943
947
  <method selector='setAttributesToBeReturned:'>
944
- <arg type='@' index='0' declared_type='NSArray*' name='attributesToBeReturned'/>
945
- <retval type='v' declared_type='void'/>
948
+ <arg index='0' name='attributesToBeReturned' declared_type='NSArray*' type='@'/>
949
+ <retval declared_type='void' type='v'/>
950
+ </method>
951
+ <method selector='setBag:'>
952
+ <arg index='0' name='bag' declared_type='NSFNanoBag*' type='@'/>
953
+ <retval declared_type='void' type='v'/>
946
954
  </method>
947
955
  <method selector='setExpressions:'>
948
- <arg type='@' index='0' declared_type='NSArray*' name='expressions'/>
949
- <retval type='v' declared_type='void'/>
956
+ <arg index='0' name='expressions' declared_type='NSArray*' type='@'/>
957
+ <retval declared_type='void' type='v'/>
950
958
  </method>
951
959
  <method selector='setFilterClass:'>
952
- <arg type='@' index='0' declared_type='NSString*' name='filterClass'/>
953
- <retval type='v' declared_type='void'/>
960
+ <arg index='0' name='filterClass' declared_type='NSString*' type='@'/>
961
+ <retval declared_type='void' type='v'/>
954
962
  </method>
955
963
  <method selector='setGroupValues:'>
956
- <arg type='B' index='0' declared_type='BOOL' name='groupValues'/>
957
- <retval type='v' declared_type='void'/>
964
+ <arg index='0' name='groupValues' declared_type='BOOL' type='B'/>
965
+ <retval declared_type='void' type='v'/>
958
966
  </method>
959
967
  <method selector='setKey:'>
960
- <arg type='@' index='0' declared_type='NSString*' name='key'/>
961
- <retval type='v' declared_type='void'/>
968
+ <arg index='0' name='key' declared_type='NSString*' type='@'/>
969
+ <retval declared_type='void' type='v'/>
962
970
  </method>
963
971
  <method selector='setLimit:'>
964
- <arg type='I' index='0' declared_type='NSUInteger' name='limit'/>
965
- <retval type='v' declared_type='void'/>
972
+ <arg index='0' name='limit' declared_type='NSUInteger' type='I'/>
973
+ <retval declared_type='void' type='v'/>
966
974
  </method>
967
975
  <method selector='setMatch:'>
968
- <arg type='i' index='0' declared_type='NSFMatchType' name='match'/>
969
- <retval type='v' declared_type='void'/>
976
+ <arg index='0' name='match' declared_type='NSFMatchType' type='i'/>
977
+ <retval declared_type='void' type='v'/>
970
978
  </method>
971
979
  <method selector='setNanoStore:'>
972
- <arg type='@' index='0' declared_type='NSFNanoStore*' name='nanoStore'/>
973
- <retval type='v' declared_type='void'/>
980
+ <arg index='0' name='nanoStore' declared_type='NSFNanoStore*' type='@'/>
981
+ <retval declared_type='void' type='v'/>
974
982
  </method>
975
983
  <method selector='setOffset:'>
976
- <arg type='I' index='0' declared_type='NSUInteger' name='offset'/>
977
- <retval type='v' declared_type='void'/>
984
+ <arg index='0' name='offset' declared_type='NSUInteger' type='I'/>
985
+ <retval declared_type='void' type='v'/>
978
986
  </method>
979
987
  <method selector='setSort:'>
980
- <arg type='@' index='0' declared_type='NSArray*' name='sort'/>
981
- <retval type='v' declared_type='void'/>
988
+ <arg index='0' name='sort' declared_type='NSArray*' type='@'/>
989
+ <retval declared_type='void' type='v'/>
982
990
  </method>
983
991
  <method selector='setValue:'>
984
- <arg type='@' index='0' declared_type='id' name='value'/>
985
- <retval type='v' declared_type='void'/>
992
+ <arg index='0' name='value' declared_type='id' type='@'/>
993
+ <retval declared_type='void' type='v'/>
986
994
  </method>
987
995
  <method selector='sort'>
988
- <retval type='@' declared_type='NSArray*'/>
996
+ <retval declared_type='NSArray*' type='@'/>
989
997
  </method>
990
998
  <method selector='sql'>
991
- <retval type='@' declared_type='NSString*'/>
999
+ <retval declared_type='NSString*' type='@'/>
992
1000
  </method>
993
1001
  <method selector='value'>
994
- <retval type='@' declared_type='id'/>
1002
+ <retval declared_type='id' type='@'/>
995
1003
  </method>
996
1004
  </class>
997
1005
  <class name='NSFNanoSortDescriptor'>
998
1006
  <method selector='JSONDescription'>
999
- <retval type='@' declared_type='NSString*'/>
1007
+ <retval declared_type='NSString*' type='@'/>
1000
1008
  </method>
1001
1009
  <method selector='attribute'>
1002
- <retval type='@' declared_type='NSString*'/>
1010
+ <retval declared_type='NSString*' type='@'/>
1003
1011
  </method>
1004
1012
  <method selector='description'>
1005
- <retval type='@' declared_type='NSString*'/>
1013
+ <retval declared_type='NSString*' type='@'/>
1006
1014
  </method>
1007
1015
  <method selector='initWithAttribute:ascending:'>
1008
- <arg type='@' index='0' declared_type='NSString*' name='theAttribute'/>
1009
- <arg type='B' index='1' declared_type='BOOL' name='ascending'/>
1010
- <retval type='@' declared_type='id'/>
1016
+ <arg index='0' name='theAttribute' declared_type='NSString*' type='@'/>
1017
+ <arg index='1' name='ascending' declared_type='BOOL' type='B'/>
1018
+ <retval declared_type='id' type='@'/>
1011
1019
  </method>
1012
1020
  <method selector='isAscending'>
1013
- <retval type='B' declared_type='BOOL'/>
1021
+ <retval declared_type='BOOL' type='B'/>
1014
1022
  </method>
1015
1023
  <method selector='sortDescriptorWithAttribute:ascending:' class_method='true'>
1016
- <arg type='@' index='0' declared_type='NSString*' name='theAttribute'/>
1017
- <arg type='B' index='1' declared_type='BOOL' name='ascending'/>
1018
- <retval type='@' declared_type='NSFNanoSortDescriptor*'/>
1024
+ <arg index='0' name='theAttribute' declared_type='NSString*' type='@'/>
1025
+ <arg index='1' name='ascending' declared_type='BOOL' type='B'/>
1026
+ <retval declared_type='NSFNanoSortDescriptor*' type='@'/>
1019
1027
  </method>
1020
1028
  </class>
1021
1029
  <class name='NSFNanoStore'>
1022
1030
  <method selector='JSONDescription'>
1023
- <retval type='@' declared_type='NSString*'/>
1031
+ <retval declared_type='NSString*' type='@'/>
1024
1032
  </method>
1025
1033
  <method selector='_NSFDatatypeOfObject:'>
1026
- <arg type='@' index='0' declared_type='id' name='value'/>
1027
- <retval type='i' declared_type='NSFNanoDatatype'/>
1034
+ <arg index='0' name='value' declared_type='id' type='@'/>
1035
+ <retval declared_type='NSFNanoDatatype' type='i'/>
1028
1036
  </method>
1029
1037
  <method selector='__storeDictionaries:forKeys:error:'>
1030
- <arg type='@' index='0' declared_type='NSArray*' name='someObjects'/>
1031
- <arg type='@' index='1' declared_type='NSArray*' name='someKeys'/>
1032
- <arg type='^@' index='2' type_modifier='o' declared_type='NSError**' name='outError'/>
1033
- <retval type='B' declared_type='BOOL'/>
1038
+ <arg index='0' name='someObjects' declared_type='NSArray*' type='@'/>
1039
+ <arg index='1' name='someKeys' declared_type='NSArray*' type='@'/>
1040
+ <arg index='2' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1041
+ <retval declared_type='BOOL' type='B'/>
1034
1042
  </method>
1035
1043
  <method selector='_addObjectsFromArray:forceSave:error:'>
1036
- <arg type='@' index='0' declared_type='NSArray*' name='someObjects'/>
1037
- <arg type='B' index='1' declared_type='BOOL' name='forceSave'/>
1038
- <arg type='^@' index='2' type_modifier='o' declared_type='NSError**' name='outError'/>
1039
- <retval type='B' declared_type='BOOL'/>
1044
+ <arg index='0' name='someObjects' declared_type='NSArray*' type='@'/>
1045
+ <arg index='1' name='forceSave' declared_type='BOOL' type='B'/>
1046
+ <arg index='2' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1047
+ <retval declared_type='BOOL' type='B'/>
1040
1048
  </method>
1041
1049
  <method selector='_backupFileStoreToDirectoryAtPath:extension:compact:error:'>
1042
- <arg type='@' index='0' declared_type='NSString*' name='aPath'/>
1043
- <arg type='@' index='1' declared_type='NSString*' name='anExtension'/>
1044
- <arg type='B' index='2' declared_type='BOOL' name='flag'/>
1045
- <arg type='^@' index='3' type_modifier='o' declared_type='NSError**' name='outError'/>
1046
- <retval type='B' declared_type='BOOL'/>
1050
+ <arg index='0' name='aPath' declared_type='NSString*' type='@'/>
1051
+ <arg index='1' name='anExtension' declared_type='NSString*' type='@'/>
1052
+ <arg index='2' name='flag' declared_type='BOOL' type='B'/>
1053
+ <arg index='3' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1054
+ <retval declared_type='BOOL' type='B'/>
1047
1055
  </method>
1048
1056
  <method selector='_backupMemoryStoreToDirectoryAtPath:extension:compact:error:'>
1049
- <arg type='@' index='0' declared_type='NSString*' name='aPath'/>
1050
- <arg type='@' index='1' declared_type='NSString*' name='anExtension'/>
1051
- <arg type='B' index='2' declared_type='BOOL' name='flag'/>
1052
- <arg type='^@' index='3' type_modifier='o' declared_type='NSError**' name='outError'/>
1053
- <retval type='B' declared_type='BOOL'/>
1057
+ <arg index='0' name='aPath' declared_type='NSString*' type='@'/>
1058
+ <arg index='1' name='anExtension' declared_type='NSString*' type='@'/>
1059
+ <arg index='2' name='flag' declared_type='BOOL' type='B'/>
1060
+ <arg index='3' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1061
+ <retval declared_type='BOOL' type='B'/>
1054
1062
  </method>
1055
1063
  <method selector='_bindValue:forAttribute:parameterNumber:usingSQLite3Statement:'>
1056
- <arg type='@' index='0' declared_type='id' name='aValue'/>
1057
- <arg type='@' index='1' declared_type='NSString*' name='anAttribute'/>
1058
- <arg type='i' index='2' declared_type='NSInteger' name='aParamNumber'/>
1059
- <arg type='^{sqlite3_stmt=}' index='3' declared_type='sqlite3_stmt*' name='aStatement'/>
1060
- <retval type='B' declared_type='BOOL'/>
1064
+ <arg index='0' name='aValue' declared_type='id' type='@'/>
1065
+ <arg index='1' name='anAttribute' declared_type='NSString*' type='@'/>
1066
+ <arg index='2' name='aParamNumber' declared_type='NSInteger' type='i'/>
1067
+ <arg index='3' name='aStatement' declared_type='sqlite3_stmt*' type='^{sqlite3_stmt=}'/>
1068
+ <retval declared_type='BOOL' type='B'/>
1061
1069
  </method>
1062
1070
  <method selector='_calendarDateToString:' class_method='true'>
1063
- <arg type='@' index='0' declared_type='NSDate*' name='aDate'/>
1064
- <retval type='@' declared_type='NSString*'/>
1071
+ <arg index='0' name='aDate' declared_type='NSDate*' type='@'/>
1072
+ <retval declared_type='NSString*' type='@'/>
1065
1073
  </method>
1066
1074
  <method selector='_checkNanoStoreIsReadyAndReturnError:'>
1067
- <arg type='^@' index='0' type_modifier='o' declared_type='NSError**' name='outError'/>
1068
- <retval type='B' declared_type='BOOL'/>
1075
+ <arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1076
+ <retval declared_type='BOOL' type='B'/>
1069
1077
  </method>
1070
1078
  <method selector='_createAndOpenDebugDatabase' class_method='true'>
1071
- <retval type='@' declared_type='NSFNanoStore*'/>
1079
+ <retval declared_type='NSFNanoStore*' type='@'/>
1072
1080
  </method>
1073
1081
  <method selector='_defaultTestData' class_method='true'>
1074
- <retval type='@' declared_type='NSDictionary*'/>
1082
+ <retval declared_type='NSDictionary*' type='@'/>
1075
1083
  </method>
1076
1084
  <method selector='_executeSQL:'>
1077
- <arg type='@' index='0' declared_type='NSString*' name='theSQLStatement'/>
1078
- <retval type='@' declared_type='NSFNanoResult*'/>
1085
+ <arg index='0' name='theSQLStatement' declared_type='NSString*' type='@'/>
1086
+ <retval declared_type='NSFNanoResult*' type='@'/>
1079
1087
  </method>
1080
1088
  <method selector='_executeSQLite3StepUsingSQLite3Statement:'>
1081
- <arg type='^{sqlite3_stmt=}' index='0' declared_type='sqlite3_stmt*' name='aStatement'/>
1082
- <retval type='v' declared_type='void'/>
1089
+ <arg index='0' name='aStatement' declared_type='sqlite3_stmt*' type='^{sqlite3_stmt=}'/>
1090
+ <retval declared_type='void' type='v'/>
1083
1091
  </method>
1084
1092
  <method selector='_flattenCollection:keyPath:keys:values:'>
1085
- <arg type='@' index='0' declared_type='id' name='someObject'/>
1086
- <arg type='^@' index='1' declared_type='NSMutableArray**' name='aKeyPath'/>
1087
- <arg type='^@' index='2' declared_type='NSMutableArray**' name='someKeys'/>
1088
- <arg type='^@' index='3' declared_type='NSMutableArray**' name='someValues'/>
1089
- <retval type='v' declared_type='void'/>
1093
+ <arg index='0' name='someObject' declared_type='id' type='@'/>
1094
+ <arg index='1' name='aKeyPath' declared_type='NSMutableArray**' type='^@'/>
1095
+ <arg index='2' name='someKeys' declared_type='NSMutableArray**' type='^@'/>
1096
+ <arg index='3' name='someValues' declared_type='NSMutableArray**' type='^@'/>
1097
+ <retval declared_type='void' type='v'/>
1090
1098
  </method>
1091
1099
  <method selector='_flattenCollection:keys:values:'>
1092
- <arg type='@' index='0' declared_type='NSDictionary*' name='info'/>
1093
- <arg type='^@' index='1' declared_type='NSMutableArray**' name='flattenedKeys'/>
1094
- <arg type='^@' index='2' declared_type='NSMutableArray**' name='flattenedValues'/>
1095
- <retval type='v' declared_type='void'/>
1100
+ <arg index='0' name='info' declared_type='NSDictionary*' type='@'/>
1101
+ <arg index='1' name='flattenedKeys' declared_type='NSMutableArray**' type='^@'/>
1102
+ <arg index='2' name='flattenedValues' declared_type='NSMutableArray**' type='^@'/>
1103
+ <retval declared_type='void' type='v'/>
1096
1104
  </method>
1097
1105
  <method selector='_initializePreparedStatementsWithError:'>
1098
- <arg type='^@' index='0' type_modifier='o' declared_type='NSError**' name='outError'/>
1099
- <retval type='B' declared_type='BOOL'/>
1106
+ <arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1107
+ <retval declared_type='BOOL' type='B'/>
1100
1108
  </method>
1101
1109
  <method selector='_isOurTransaction'>
1102
- <retval type='B' declared_type='BOOL'/>
1110
+ <retval declared_type='BOOL' type='B'/>
1103
1111
  </method>
1104
1112
  <method selector='_nestedDescriptionWithPrefixedSpace:'>
1105
- <arg type='@' index='0' declared_type='NSString*' name='prefixedSpace'/>
1106
- <retval type='@' declared_type='NSString*'/>
1113
+ <arg index='0' name='prefixedSpace' declared_type='NSString*' type='@'/>
1114
+ <retval declared_type='NSString*' type='@'/>
1107
1115
  </method>
1108
1116
  <method selector='_prepareSQLite3Statement:theSQLStatement:'>
1109
- <arg type='^^{sqlite3_stmt}' index='0' declared_type='sqlite3_stmt**' name='aStatement'/>
1110
- <arg type='@' index='1' declared_type='NSString*' name='aSQLQuery'/>
1111
- <retval type='B' declared_type='BOOL'/>
1117
+ <arg index='0' name='aStatement' declared_type='sqlite3_stmt**' type='^^{sqlite3_stmt}'/>
1118
+ <arg index='1' name='aSQLQuery' declared_type='NSString*' type='@'/>
1119
+ <retval declared_type='BOOL' type='B'/>
1112
1120
  </method>
1113
1121
  <method selector='_releasePreparedStatements'>
1114
- <retval type='v' declared_type='void'/>
1122
+ <retval declared_type='void' type='v'/>
1115
1123
  </method>
1116
1124
  <method selector='_setIsOurTransaction:'>
1117
- <arg type='B' index='0' declared_type='BOOL' name='value'/>
1118
- <retval type='v' declared_type='void'/>
1125
+ <arg index='0' name='value' declared_type='BOOL' type='B'/>
1126
+ <retval declared_type='void' type='v'/>
1119
1127
  </method>
1120
1128
  <method selector='_setupCachingSchema'>
1121
- <retval type='B' declared_type='BOOL'/>
1129
+ <retval declared_type='BOOL' type='B'/>
1122
1130
  </method>
1123
1131
  <method selector='_storeDictionary:forKey:forClassNamed:error:'>
1124
- <arg type='@' index='0' declared_type='NSDictionary*' name='someInfo'/>
1125
- <arg type='@' index='1' declared_type='NSString*' name='aKey'/>
1126
- <arg type='@' index='2' declared_type='NSString*' name='classType'/>
1127
- <arg type='^@' index='3' type_modifier='o' declared_type='NSError**' name='outError'/>
1128
- <retval type='B' declared_type='BOOL'/>
1132
+ <arg index='0' name='someInfo' declared_type='NSDictionary*' type='@'/>
1133
+ <arg index='1' name='aKey' declared_type='NSString*' type='@'/>
1134
+ <arg index='2' name='classType' declared_type='NSString*' type='@'/>
1135
+ <arg index='3' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1136
+ <retval declared_type='BOOL' type='B'/>
1129
1137
  </method>
1130
1138
  <method selector='_stringFromValue:'>
1131
- <arg type='@' index='0' declared_type='id' name='aValue'/>
1132
- <retval type='@' declared_type='NSString*'/>
1139
+ <arg index='0' name='aValue' declared_type='id' type='@'/>
1140
+ <retval declared_type='NSString*' type='@'/>
1133
1141
  </method>
1134
1142
  <method selector='addObject:error:'>
1135
- <arg type='@' index='0' declared_type='id' name='theObject'/>
1136
- <arg type='^@' index='1' type_modifier='o' declared_type='NSError**' name='outError'/>
1137
- <retval type='B' declared_type='BOOL'/>
1143
+ <arg index='0' name='theObject' declared_type='id' type='@'/>
1144
+ <arg index='1' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1145
+ <retval declared_type='BOOL' type='B'/>
1138
1146
  </method>
1139
1147
  <method selector='addObjectsFromArray:error:'>
1140
- <arg type='@' index='0' declared_type='NSArray*' name='theObjects'/>
1141
- <arg type='^@' index='1' type_modifier='o' declared_type='NSError**' name='outError'/>
1142
- <retval type='B' declared_type='BOOL'/>
1148
+ <arg index='0' name='theObjects' declared_type='NSArray*' type='@'/>
1149
+ <arg index='1' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1150
+ <retval declared_type='BOOL' type='B'/>
1143
1151
  </method>
1144
1152
  <method selector='allObjectClasses'>
1145
- <retval type='@' declared_type='NSArray*'/>
1153
+ <retval declared_type='NSArray*' type='@'/>
1146
1154
  </method>
1147
1155
  <method selector='bagWithName:'>
1148
- <arg type='@' index='0' declared_type='NSString*' name='theName'/>
1149
- <retval type='@' declared_type='NSFNanoBag*'/>
1156
+ <arg index='0' name='theName' declared_type='NSString*' type='@'/>
1157
+ <retval declared_type='NSFNanoBag*' type='@'/>
1150
1158
  </method>
1151
1159
  <method selector='bags'>
1152
- <retval type='@' declared_type='NSArray*'/>
1160
+ <retval declared_type='NSArray*' type='@'/>
1153
1161
  </method>
1154
1162
  <method selector='bagsContainingObjectWithKey:'>
1155
- <arg type='@' index='0' declared_type='NSString*' name='theKey'/>
1156
- <retval type='@' declared_type='NSArray*'/>
1163
+ <arg index='0' name='theKey' declared_type='NSString*' type='@'/>
1164
+ <retval declared_type='NSArray*' type='@'/>
1157
1165
  </method>
1158
1166
  <method selector='bagsWithKeysInArray:'>
1159
- <arg type='@' index='0' declared_type='NSArray*' name='theKeys'/>
1160
- <retval type='@' declared_type='NSArray*'/>
1167
+ <arg index='0' name='theKeys' declared_type='NSArray*' type='@'/>
1168
+ <retval declared_type='NSArray*' type='@'/>
1161
1169
  </method>
1162
1170
  <method selector='bagsWithName:'>
1163
- <arg type='@' index='0' declared_type='NSString*' name='theName'/>
1164
- <retval type='@' declared_type='NSArray*'/>
1171
+ <arg index='0' name='theName' declared_type='NSString*' type='@'/>
1172
+ <retval declared_type='NSArray*' type='@'/>
1165
1173
  </method>
1166
1174
  <method selector='beginTransactionAndReturnError:'>
1167
- <arg type='^@' index='0' type_modifier='o' declared_type='NSError**' name='outError'/>
1168
- <retval type='B' declared_type='BOOL'/>
1175
+ <arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1176
+ <retval declared_type='BOOL' type='B'/>
1169
1177
  </method>
1170
1178
  <method selector='clearIndexesAndReturnError:'>
1171
- <arg type='^@' index='0' type_modifier='o' declared_type='NSError**' name='outError'/>
1172
- <retval type='B' declared_type='BOOL'/>
1179
+ <arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1180
+ <retval declared_type='BOOL' type='B'/>
1173
1181
  </method>
1174
1182
  <method selector='closeWithError:'>
1175
- <arg type='^@' index='0' type_modifier='o' declared_type='NSError**' name='outError'/>
1176
- <retval type='B' declared_type='BOOL'/>
1183
+ <arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1184
+ <retval declared_type='BOOL' type='B'/>
1177
1185
  </method>
1178
1186
  <method selector='commitTransactionAndReturnError:'>
1179
- <arg type='^@' index='0' type_modifier='o' declared_type='NSError**' name='outError'/>
1180
- <retval type='B' declared_type='BOOL'/>
1187
+ <arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1188
+ <retval declared_type='BOOL' type='B'/>
1181
1189
  </method>
1182
1190
  <method selector='compactStoreAndReturnError:'>
1183
- <arg type='^@' index='0' type_modifier='o' declared_type='NSError**' name='outError'/>
1184
- <retval type='B' declared_type='BOOL'/>
1191
+ <arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1192
+ <retval declared_type='BOOL' type='B'/>
1185
1193
  </method>
1186
1194
  <method selector='countOfObjectsOfClassNamed:'>
1187
- <arg type='@' index='0' declared_type='NSString*' name='theClassName'/>
1188
- <retval type='q' declared_type='long long'/>
1195
+ <arg index='0' name='theClassName' declared_type='NSString*' type='@'/>
1196
+ <retval declared_type='long long' type='q'/>
1189
1197
  </method>
1190
1198
  <method selector='createAndOpenStoreWithType:path:error:' class_method='true'>
1191
- <arg type='i' index='0' declared_type='NSFNanoStoreType' name='theType'/>
1192
- <arg type='@' index='1' declared_type='NSString*' name='thePath'/>
1193
- <arg type='^@' index='2' type_modifier='o' declared_type='NSError**' name='outError'/>
1194
- <retval type='@' declared_type='NSFNanoStore*'/>
1199
+ <arg index='0' name='theType' declared_type='NSFNanoStoreType' type='i'/>
1200
+ <arg index='1' name='thePath' declared_type='NSString*' type='@'/>
1201
+ <arg index='2' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1202
+ <retval declared_type='NSFNanoStore*' type='@'/>
1195
1203
  </method>
1196
1204
  <method selector='createStoreWithType:path:' class_method='true'>
1197
- <arg type='i' index='0' declared_type='NSFNanoStoreType' name='theType'/>
1198
- <arg type='@' index='1' declared_type='NSString*' name='thePath'/>
1199
- <retval type='@' declared_type='NSFNanoStore*'/>
1205
+ <arg index='0' name='theType' declared_type='NSFNanoStoreType' type='i'/>
1206
+ <arg index='1' name='thePath' declared_type='NSString*' type='@'/>
1207
+ <retval declared_type='NSFNanoStore*' type='@'/>
1200
1208
  </method>
1201
1209
  <method selector='description'>
1202
- <retval type='@' declared_type='NSString*'/>
1210
+ <retval declared_type='NSString*' type='@'/>
1203
1211
  </method>
1204
1212
  <method selector='dictionaryDescription'>
1205
- <retval type='@' declared_type='NSFOrderedDictionary*'/>
1213
+ <retval declared_type='NSFOrderedDictionary*' type='@'/>
1206
1214
  </method>
1207
1215
  <method selector='discardUnsavedChanges'>
1208
- <retval type='v' declared_type='void'/>
1216
+ <retval declared_type='void' type='v'/>
1209
1217
  </method>
1210
1218
  <method selector='filePath'>
1211
- <retval type='@' declared_type='NSString*'/>
1219
+ <retval declared_type='NSString*' type='@'/>
1212
1220
  </method>
1213
1221
  <method selector='hasUnsavedChanges'>
1214
- <retval type='B' declared_type='BOOL'/>
1222
+ <retval declared_type='BOOL' type='B'/>
1215
1223
  </method>
1216
1224
  <method selector='initStoreWithType:path:'>
1217
- <arg type='i' index='0' declared_type='NSFNanoStoreType' name='theType'/>
1218
- <arg type='@' index='1' declared_type='NSString*' name='thePath'/>
1219
- <retval type='@' declared_type='id'/>
1225
+ <arg index='0' name='theType' declared_type='NSFNanoStoreType' type='i'/>
1226
+ <arg index='1' name='thePath' declared_type='NSString*' type='@'/>
1227
+ <retval declared_type='id' type='@'/>
1220
1228
  </method>
1221
1229
  <method selector='isClosed'>
1222
- <retval type='B' declared_type='BOOL'/>
1230
+ <retval declared_type='BOOL' type='B'/>
1223
1231
  </method>
1224
1232
  <method selector='nanoEngineProcessingMode'>
1225
- <retval type='i' declared_type='NSFEngineProcessingMode'/>
1233
+ <retval declared_type='NSFEngineProcessingMode' type='i'/>
1226
1234
  </method>
1227
1235
  <method selector='nanoStoreEngine'>
1228
- <retval type='@' declared_type='NSFNanoEngine*'/>
1236
+ <retval declared_type='NSFNanoEngine*' type='@'/>
1229
1237
  </method>
1230
1238
  <method selector='objectsOfClassNamed:'>
1231
- <arg type='@' index='0' declared_type='NSString*' name='theClassName'/>
1232
- <retval type='@' declared_type='NSArray*'/>
1239
+ <arg index='0' name='theClassName' declared_type='NSString*' type='@'/>
1240
+ <retval declared_type='NSArray*' type='@'/>
1233
1241
  </method>
1234
1242
  <method selector='objectsOfClassNamed:usingSortDescriptors:'>
1235
- <arg type='@' index='0' declared_type='NSString*' name='theClassName'/>
1236
- <arg type='@' index='1' declared_type='NSArray*' name='theSortDescriptors'/>
1237
- <retval type='@' declared_type='NSArray*'/>
1243
+ <arg index='0' name='theClassName' declared_type='NSString*' type='@'/>
1244
+ <arg index='1' name='theSortDescriptors' declared_type='NSArray*' type='@'/>
1245
+ <retval declared_type='NSArray*' type='@'/>
1238
1246
  </method>
1239
1247
  <method selector='objectsWithKeysInArray:'>
1240
- <arg type='@' index='0' declared_type='NSArray*' name='theKeys'/>
1241
- <retval type='@' declared_type='NSArray*'/>
1248
+ <arg index='0' name='theKeys' declared_type='NSArray*' type='@'/>
1249
+ <retval declared_type='NSArray*' type='@'/>
1242
1250
  </method>
1243
1251
  <method selector='openWithError:'>
1244
- <arg type='^@' index='0' type_modifier='o' declared_type='NSError**' name='outError'/>
1245
- <retval type='B' declared_type='BOOL'/>
1252
+ <arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1253
+ <retval declared_type='BOOL' type='B'/>
1246
1254
  </method>
1247
1255
  <method selector='rebuildIndexesAndReturnError:'>
1248
- <arg type='^@' index='0' type_modifier='o' declared_type='NSError**' name='outError'/>
1249
- <retval type='B' declared_type='BOOL'/>
1256
+ <arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1257
+ <retval declared_type='BOOL' type='B'/>
1250
1258
  </method>
1251
1259
  <method selector='removeAllObjectsFromStoreAndReturnError:'>
1252
- <arg type='^@' index='0' type_modifier='o' declared_type='NSError**' name='outError'/>
1253
- <retval type='B' declared_type='BOOL'/>
1260
+ <arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1261
+ <retval declared_type='BOOL' type='B'/>
1254
1262
  </method>
1255
1263
  <method selector='removeObject:error:'>
1256
- <arg type='@' index='0' declared_type='id' name='theObject'/>
1257
- <arg type='^@' index='1' type_modifier='o' declared_type='NSError**' name='outError'/>
1258
- <retval type='B' declared_type='BOOL'/>
1264
+ <arg index='0' name='theObject' declared_type='id' type='@'/>
1265
+ <arg index='1' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1266
+ <retval declared_type='BOOL' type='B'/>
1259
1267
  </method>
1260
1268
  <method selector='removeObjectsInArray:error:'>
1261
- <arg type='@' index='0' declared_type='NSArray*' name='theObjects'/>
1262
- <arg type='^@' index='1' type_modifier='o' declared_type='NSError**' name='outError'/>
1263
- <retval type='B' declared_type='BOOL'/>
1269
+ <arg index='0' name='theObjects' declared_type='NSArray*' type='@'/>
1270
+ <arg index='1' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1271
+ <retval declared_type='BOOL' type='B'/>
1264
1272
  </method>
1265
1273
  <method selector='removeObjectsWithKeysInArray:error:'>
1266
- <arg type='@' index='0' declared_type='NSArray*' name='theKeys'/>
1267
- <arg type='^@' index='1' type_modifier='o' declared_type='NSError**' name='outError'/>
1268
- <retval type='B' declared_type='BOOL'/>
1274
+ <arg index='0' name='theKeys' declared_type='NSArray*' type='@'/>
1275
+ <arg index='1' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1276
+ <retval declared_type='BOOL' type='B'/>
1269
1277
  </method>
1270
1278
  <method selector='rollbackTransactionAndReturnError:'>
1271
- <arg type='^@' index='0' type_modifier='o' declared_type='NSError**' name='outError'/>
1272
- <retval type='B' declared_type='BOOL'/>
1279
+ <arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1280
+ <retval declared_type='BOOL' type='B'/>
1273
1281
  </method>
1274
1282
  <method selector='saveInterval'>
1275
- <retval type='I' declared_type='NSUInteger'/>
1283
+ <retval declared_type='NSUInteger' type='I'/>
1276
1284
  </method>
1277
1285
  <method selector='saveStoreAndReturnError:'>
1278
- <arg type='^@' index='0' type_modifier='o' declared_type='NSError**' name='outError'/>
1279
- <retval type='B' declared_type='BOOL'/>
1286
+ <arg index='0' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1287
+ <retval declared_type='BOOL' type='B'/>
1280
1288
  </method>
1281
1289
  <method selector='saveStoreToDirectoryAtPath:compactDatabase:error:'>
1282
- <arg type='@' index='0' declared_type='NSString*' name='thePath'/>
1283
- <arg type='B' index='1' declared_type='BOOL' name='shouldCompact'/>
1284
- <arg type='^@' index='2' type_modifier='o' declared_type='NSError**' name='outError'/>
1285
- <retval type='B' declared_type='BOOL'/>
1290
+ <arg index='0' name='thePath' declared_type='NSString*' type='@'/>
1291
+ <arg index='1' name='shouldCompact' declared_type='BOOL' type='B'/>
1292
+ <arg index='2' type_modifier='o' name='outError' declared_type='NSError**' type='^@'/>
1293
+ <retval declared_type='BOOL' type='B'/>
1286
1294
  </method>
1287
1295
  <method selector='setNanoEngineProcessingMode:'>
1288
- <arg type='i' index='0' declared_type='NSFEngineProcessingMode' name='nanoEngineProcessingMode'/>
1289
- <retval type='v' declared_type='void'/>
1296
+ <arg index='0' name='nanoEngineProcessingMode' declared_type='NSFEngineProcessingMode' type='i'/>
1297
+ <retval declared_type='void' type='v'/>
1290
1298
  </method>
1291
1299
  <method selector='setNanoStoreEngine:'>
1292
- <arg type='@' index='0' declared_type='NSFNanoEngine*' name='nanoStoreEngine'/>
1293
- <retval type='v' declared_type='void'/>
1300
+ <arg index='0' name='nanoStoreEngine' declared_type='NSFNanoEngine*' type='@'/>
1301
+ <retval declared_type='void' type='v'/>
1294
1302
  </method>
1295
1303
  <method selector='setSaveInterval:'>
1296
- <arg type='I' index='0' declared_type='NSUInteger' name='saveInterval'/>
1297
- <retval type='v' declared_type='void'/>
1304
+ <arg index='0' name='saveInterval' declared_type='NSUInteger' type='I'/>
1305
+ <retval declared_type='void' type='v'/>
1298
1306
  </method>
1299
1307
  </class>
1300
1308
  <class name='NSFOrderedDictionary'>
1301
1309
  <method selector='insertObject:forKey:atIndex:'>
1302
- <arg type='@' index='0' declared_type='id' name='anObject'/>
1303
- <arg type='@' index='1' declared_type='id' name='aKey'/>
1304
- <arg type='I' index='2' declared_type='NSUInteger' name='anIndex'/>
1305
- <retval type='v' declared_type='void'/>
1310
+ <arg index='0' name='anObject' declared_type='id' type='@'/>
1311
+ <arg index='1' name='aKey' declared_type='id' type='@'/>
1312
+ <arg index='2' name='anIndex' declared_type='NSUInteger' type='I'/>
1313
+ <retval declared_type='void' type='v'/>
1306
1314
  </method>
1307
1315
  <method selector='keyAtIndex:'>
1308
- <arg type='I' index='0' declared_type='NSUInteger' name='anIndex'/>
1309
- <retval type='@' declared_type='id'/>
1316
+ <arg index='0' name='anIndex' declared_type='NSUInteger' type='I'/>
1317
+ <retval declared_type='id' type='@'/>
1310
1318
  </method>
1311
1319
  <method selector='reverseKeyEnumerator'>
1312
- <retval type='@' declared_type='NSEnumerator*'/>
1320
+ <retval declared_type='NSEnumerator*' type='@'/>
1313
1321
  </method>
1314
1322
  </class>
1315
1323
  <class name='NSObject'>
1316
1324
  <method selector='initNanoObjectFromDictionaryRepresentation:forKey:store:'>
1317
- <arg type='@' index='0' declared_type='NSDictionary*' name='theDictionary'/>
1318
- <arg type='@' index='1' declared_type='NSString*' name='aKey'/>
1319
- <arg type='@' index='2' declared_type='NSFNanoStore*' name='theStore'/>
1320
- <retval type='@' declared_type='id'/>
1325
+ <arg index='0' name='theDictionary' declared_type='NSDictionary*' type='@'/>
1326
+ <arg index='1' name='aKey' declared_type='NSString*' type='@'/>
1327
+ <arg index='2' name='theStore' declared_type='NSFNanoStore*' type='@'/>
1328
+ <retval declared_type='id' type='@'/>
1321
1329
  </method>
1322
1330
  <method selector='nanoObjectDictionaryRepresentation'>
1323
- <retval type='@' declared_type='NSDictionary*'/>
1331
+ <retval declared_type='NSDictionary*' type='@'/>
1324
1332
  </method>
1325
1333
  <method selector='nanoObjectKey'>
1326
- <retval type='@' declared_type='NSString*'/>
1334
+ <retval declared_type='NSString*' type='@'/>
1327
1335
  </method>
1328
1336
  <method selector='rootObject'>
1329
- <retval type='@' declared_type='id'/>
1337
+ <retval declared_type='id' type='@'/>
1330
1338
  </method>
1331
1339
  </class>
1332
1340
  <informal_protocol name='NSFNanoObjectProtocol'>
1333
- <method type='@20@0:4@8@12@16' selector='initNanoObjectFromDictionaryRepresentation:forKey:store:'>
1334
- <arg type='@' index='0' declared_type='NSDictionary*' name='theDictionary'/>
1335
- <arg type='@' index='1' declared_type='NSString*' name='aKey'/>
1336
- <arg type='@' index='2' declared_type='NSFNanoStore*' name='theStore'/>
1337
- <retval type='@' declared_type='id'/>
1341
+ <method selector='initNanoObjectFromDictionaryRepresentation:forKey:store:' type='@20@0:4@8@12@16'>
1342
+ <arg index='0' name='theDictionary' declared_type='NSDictionary*' type='@'/>
1343
+ <arg index='1' name='aKey' declared_type='NSString*' type='@'/>
1344
+ <arg index='2' name='theStore' declared_type='NSFNanoStore*' type='@'/>
1345
+ <retval declared_type='id' type='@'/>
1338
1346
  </method>
1339
- <method type='@8@0:4' selector='nanoObjectDictionaryRepresentation'>
1340
- <retval type='@' declared_type='NSDictionary*'/>
1347
+ <method selector='nanoObjectDictionaryRepresentation' type='@8@0:4'>
1348
+ <retval declared_type='NSDictionary*' type='@'/>
1341
1349
  </method>
1342
- <method type='@8@0:4' selector='nanoObjectKey'>
1343
- <retval type='@' declared_type='NSString*'/>
1350
+ <method selector='nanoObjectKey' type='@8@0:4'>
1351
+ <retval declared_type='NSString*' type='@'/>
1344
1352
  </method>
1345
- <method type='@8@0:4' selector='rootObject'>
1346
- <retval type='@' declared_type='id'/>
1353
+ <method selector='rootObject' type='@8@0:4'>
1354
+ <retval declared_type='id' type='@'/>
1347
1355
  </method>
1348
1356
  </informal_protocol>
1349
1357
  </signatures>