nano-store 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. data/README.md +8 -4
  2. data/Rakefile +1 -1
  3. data/lib/nano_store.rb +2 -4
  4. data/lib/nano_store/version.rb +1 -1
  5. data/spec/model_spec.rb +14 -0
  6. data/spec/spec_helper.rb +4 -0
  7. data/vendor/Podfile.lock +4 -4
  8. data/vendor/Pods/BuildHeaders/NanoStore/NSFNanoGlobals.h +3 -1
  9. data/vendor/Pods/BuildHeaders/NanoStore/NSFNanoPredicate.h +5 -5
  10. data/vendor/Pods/BuildHeaders/NanoStore/NSFNanoSearch.h +5 -3
  11. data/vendor/Pods/BuildHeaders/NanoStore/NSFNanoSortDescriptor.h +1 -1
  12. data/vendor/Pods/BuildHeaders/NanoStore/NanoStore.h +36 -0
  13. data/vendor/Pods/Documentation/NanoStore/docset-installed.txt +2 -2
  14. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Info.plist +3 -3
  15. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoBag.html +2 -2
  16. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoEngine.html +2 -2
  17. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoExpression.html +2 -2
  18. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoObject.html +2 -2
  19. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoPredicate.html +7 -7
  20. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoResult.html +2 -2
  21. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoSearch.html +66 -5
  22. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoSortDescriptor.html +3 -3
  23. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFNanoStore.html +2 -2
  24. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Classes/NSFOrderedDictionary.html +2 -2
  25. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/Protocols/NSFNanoObjectProtocol.html +2 -2
  26. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/css/styles.css +0 -0
  27. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/hierarchy.html +5 -5
  28. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Documents/index.html +5 -5
  29. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Nodes.xml +1 -1
  30. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens5.xml +6 -6
  31. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens7.xml +24 -2
  32. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/Tokens8.xml +2 -2
  33. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.dsidx +0 -0
  34. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.skidx +0 -0
  35. data/vendor/Pods/Documentation/NanoStore/docset/Contents/Resources/docSet.toc +0 -0
  36. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoBag.html +2 -2
  37. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoEngine.html +2 -2
  38. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoExpression.html +2 -2
  39. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoObject.html +2 -2
  40. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoPredicate.html +7 -7
  41. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoResult.html +2 -2
  42. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoSearch.html +66 -5
  43. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoSortDescriptor.html +3 -3
  44. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFNanoStore.html +2 -2
  45. data/vendor/Pods/Documentation/NanoStore/html/Classes/NSFOrderedDictionary.html +2 -2
  46. data/vendor/Pods/Documentation/NanoStore/html/Protocols/NSFNanoObjectProtocol.html +2 -2
  47. data/vendor/Pods/Documentation/NanoStore/html/css/styles.css +0 -0
  48. data/vendor/Pods/Documentation/NanoStore/html/hierarchy.html +5 -5
  49. data/vendor/Pods/Documentation/NanoStore/html/index.html +5 -5
  50. data/vendor/Pods/Headers/NanoStore/NSFNanoGlobals.h +3 -1
  51. data/vendor/Pods/Headers/NanoStore/NSFNanoPredicate.h +5 -5
  52. data/vendor/Pods/Headers/NanoStore/NSFNanoSearch.h +5 -3
  53. data/vendor/Pods/Headers/NanoStore/NSFNanoSortDescriptor.h +1 -1
  54. data/vendor/Pods/Headers/NanoStore/NanoStore.h +36 -0
  55. data/vendor/Pods/NanoStore/Classes/Advanced/NSFNanoEngine.m +40 -49
  56. data/vendor/Pods/NanoStore/Classes/Advanced/NSFNanoResult.m +42 -53
  57. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoBag.m +80 -89
  58. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoExpression.m +11 -13
  59. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoGlobals.h +3 -1
  60. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoGlobals.m +1 -0
  61. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoObject.m +34 -29
  62. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoPredicate.h +5 -5
  63. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoPredicate.m +43 -34
  64. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoSearch.h +5 -3
  65. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoSearch.m +171 -97
  66. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoSortDescriptor.h +1 -1
  67. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoSortDescriptor.m +13 -12
  68. data/vendor/Pods/NanoStore/Classes/Public/NSFNanoStore.m +92 -86
  69. data/vendor/Pods/NanoStore/Classes/Public/NanoStore.h +36 -0
  70. data/vendor/Pods/Pods-resources.sh +8 -4
  71. data/vendor/Pods/Pods.bridgesupport +109 -101
  72. metadata +5 -5
@@ -4,17 +4,21 @@ install_resource()
4
4
  {
5
5
  case $1 in
6
6
  *.storyboard)
7
- echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
8
- ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
7
+ echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
8
+ ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
9
9
  ;;
10
10
  *.xib)
11
- echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
12
- ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
11
+ echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
12
+ ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
13
13
  ;;
14
14
  *.framework)
15
15
  echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
16
16
  rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
17
17
  ;;
18
+ *.xcdatamodeld)
19
+ echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
20
+ xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
21
+ ;;
18
22
  *)
19
23
  echo "cp -R ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
20
24
  cp -R "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
@@ -35,62 +35,63 @@
35
35
  <constant const='true' type='@' name='NSF_Private_NSFValues_NSFKey' declared_type='NSString*'/>
36
36
  <constant const='true' type='@' name='NSF_Private_NSFValues_NSFValue' declared_type='NSString*'/>
37
37
  <constant const='true' type='@' name='NSF_Private_ToDeleteTableKey' declared_type='NSString*'/>
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='2' name='NSFOnDate'/>
81
- <enum value='2' name='NSFOr'/>
82
- <enum value='3' name='NSFPersistentStoreType'/>
83
- <enum value='2' name='NSFReturnKeys'/>
84
- <enum value='1' name='NSFReturnObjects'/>
85
- <enum value='2' name='NSFTemporaryStoreType'/>
86
- <enum value='5' name='NSFTotal'/>
87
- <enum value='3' name='NSFValueColumn'/>
88
- <enum value='2' name='SynchronousModeFull'/>
89
- <enum value='1' name='SynchronousModeNormal'/>
90
- <enum value='0' name='SynchronousModeOff'/>
91
- <enum value='0' name='TempStoreModeDefault'/>
92
- <enum value='1' name='TempStoreModeFile'/>
93
- <enum value='2' name='TempStoreModeMemory'/>
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='NSFNotEqualTo' value='10'/>
81
+ <enum name='NSFOnDate' value='2'/>
82
+ <enum name='NSFOr' value='2'/>
83
+ <enum name='NSFPersistentStoreType' value='3'/>
84
+ <enum name='NSFReturnKeys' value='2'/>
85
+ <enum name='NSFReturnObjects' value='1'/>
86
+ <enum name='NSFTemporaryStoreType' value='2'/>
87
+ <enum name='NSFTotal' value='5'/>
88
+ <enum name='NSFValueColumn' value='3'/>
89
+ <enum name='SynchronousModeFull' value='2'/>
90
+ <enum name='SynchronousModeNormal' value='1'/>
91
+ <enum name='SynchronousModeOff' value='0'/>
92
+ <enum name='TempStoreModeDefault' value='0'/>
93
+ <enum name='TempStoreModeFile' value='1'/>
94
+ <enum name='TempStoreModeMemory' value='2'/>
94
95
  <function name='NSFIsDebugOn'>
95
96
  <retval type='B' declared_type='BOOL'/>
96
97
  </function>
@@ -132,7 +133,7 @@
132
133
  </method>
133
134
  <method selector='_saveInStore:error:'>
134
135
  <arg index='0' type='@' name='someStore' declared_type='NSFNanoStore*'/>
135
- <arg index='1' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
136
+ <arg index='1' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
136
137
  <retval type='B' declared_type='BOOL'/>
137
138
  </method>
138
139
  <method selector='_setStore:'>
@@ -141,12 +142,12 @@
141
142
  </method>
142
143
  <method selector='addObject:error:'>
143
144
  <arg index='0' type='@' name='theObject' declared_type='id'/>
144
- <arg index='1' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
145
+ <arg index='1' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
145
146
  <retval type='B' declared_type='BOOL'/>
146
147
  </method>
147
148
  <method selector='addObjectsFromArray:error:'>
148
149
  <arg index='0' type='@' name='theObjects' declared_type='NSArray*'/>
149
- <arg index='1' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
150
+ <arg index='1' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
150
151
  <retval type='B' declared_type='BOOL'/>
151
152
  </method>
152
153
  <method selector='bag' class_method='true'>
@@ -199,7 +200,7 @@
199
200
  <retval type='@' declared_type='NSString*'/>
200
201
  </method>
201
202
  <method selector='reloadBagWithError:'>
202
- <arg index='0' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
203
+ <arg index='0' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
203
204
  <retval type='B' declared_type='BOOL'/>
204
205
  </method>
205
206
  <method selector='removeAllObjects'>
@@ -225,7 +226,7 @@
225
226
  <retval type='@' declared_type='NSDictionary*'/>
226
227
  </method>
227
228
  <method selector='saveAndReturnError:'>
228
- <arg index='0' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
229
+ <arg index='0' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
229
230
  <retval type='B' declared_type='BOOL'/>
230
231
  </method>
231
232
  <method selector='savedObjects'>
@@ -243,7 +244,7 @@
243
244
  <retval type='@' declared_type='NSFNanoStore*'/>
244
245
  </method>
245
246
  <method selector='undoChangesWithError:'>
246
- <arg index='0' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
247
+ <arg index='0' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
247
248
  <retval type='B' declared_type='BOOL'/>
248
249
  </method>
249
250
  <method selector='unsavedObjects'>
@@ -288,7 +289,7 @@
288
289
  </method>
289
290
  <method selector='NSFP_decodeQuantum:andSource:' class_method='true'>
290
291
  <arg index='0' type='*' name='dest' declared_type='unsigned char*'/>
291
- <arg index='1' const='true' type='*' name='src' declared_type='char*'/>
292
+ <arg const='true' index='1' type='*' name='src' declared_type='char*'/>
292
293
  <retval type='v' declared_type='void'/>
293
294
  </method>
294
295
  <method selector='NSFP_flattenAllTables'>
@@ -473,7 +474,7 @@
473
474
  <retval type='B' declared_type='BOOL'/>
474
475
  </method>
475
476
  <method selector='journalModeAndReturnError:'>
476
- <arg index='0' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
477
+ <arg index='0' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
477
478
  <retval type='i' declared_type='NSFJournalModeMode'/>
478
479
  </method>
479
480
  <method selector='maxRowUIDForTable:'>
@@ -675,7 +676,7 @@
675
676
  <retval type='v' declared_type='void'/>
676
677
  </method>
677
678
  <method selector='saveStoreAndReturnError:'>
678
- <arg index='0' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
679
+ <arg index='0' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
679
680
  <retval type='B' declared_type='BOOL'/>
680
681
  </method>
681
682
  <method selector='setObject:forKey:'>
@@ -704,7 +705,7 @@
704
705
  <method selector='initWithColumn:matching:value:'>
705
706
  <arg index='0' type='i' name='theType' declared_type='NSFTableColumnType'/>
706
707
  <arg index='1' type='i' name='theMatch' declared_type='NSFMatchType'/>
707
- <arg index='2' type='@' name='theValue' declared_type='NSString*'/>
708
+ <arg index='2' type='@' name='theValue' declared_type='id'/>
708
709
  <retval type='@' declared_type='id'/>
709
710
  </method>
710
711
  <method selector='match'>
@@ -713,11 +714,11 @@
713
714
  <method selector='predicateWithColumn:matching:value:' class_method='true'>
714
715
  <arg index='0' type='i' name='theType' declared_type='NSFTableColumnType'/>
715
716
  <arg index='1' type='i' name='theMatch' declared_type='NSFMatchType'/>
716
- <arg index='2' type='@' name='theValue' declared_type='NSString*'/>
717
+ <arg index='2' type='@' name='theValue' declared_type='id'/>
717
718
  <retval type='@' declared_type='NSFNanoPredicate*'/>
718
719
  </method>
719
720
  <method selector='value'>
720
- <retval type='@' declared_type='NSString*'/>
721
+ <retval type='@' declared_type='id'/>
721
722
  </method>
722
723
  </class>
723
724
  <class name='NSFNanoResult'>
@@ -849,11 +850,11 @@
849
850
  <method selector='_retrieveDataAdded:calendarDate:error:'>
850
851
  <arg index='0' type='i' name='aDateMatch' declared_type='NSFDateMatchType'/>
851
852
  <arg index='1' type='@' name='aDate' declared_type='NSDate*'/>
852
- <arg index='2' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
853
+ <arg index='2' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
853
854
  <retval type='@' declared_type='NSDictionary*'/>
854
855
  </method>
855
856
  <method selector='_retrieveDataWithError:'>
856
- <arg index='0' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
857
+ <arg index='0' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
857
858
  <retval type='@' declared_type='NSDictionary*'/>
858
859
  </method>
859
860
  <method selector='_sortResultsIfApplicable:returnType:'>
@@ -872,6 +873,9 @@
872
873
  <method selector='attributesToBeReturned'>
873
874
  <retval type='@' declared_type='NSArray*'/>
874
875
  </method>
876
+ <method selector='bag'>
877
+ <retval type='@' declared_type='NSFNanoBag*'/>
878
+ </method>
875
879
  <method selector='description'>
876
880
  <retval type='@' declared_type='NSString*'/>
877
881
  </method>
@@ -882,7 +886,7 @@
882
886
  <method selector='executeSQL:returnType:error:'>
883
887
  <arg index='0' type='@' name='theSQLStatement' declared_type='NSString*'/>
884
888
  <arg index='1' type='i' name='theReturnType' declared_type='NSFReturnType'/>
885
- <arg index='2' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
889
+ <arg index='2' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
886
890
  <retval type='@' declared_type='id'/>
887
891
  </method>
888
892
  <method selector='explainSQL:'>
@@ -924,12 +928,12 @@
924
928
  <arg index='0' type='i' name='theDateMatch' declared_type='NSFDateMatchType'/>
925
929
  <arg index='1' type='@' name='theDate' declared_type='NSDate*'/>
926
930
  <arg index='2' type='i' name='theReturnType' declared_type='NSFReturnType'/>
927
- <arg index='3' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
931
+ <arg index='3' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
928
932
  <retval type='@' declared_type='id'/>
929
933
  </method>
930
934
  <method selector='searchObjectsWithReturnType:error:'>
931
935
  <arg index='0' type='i' name='theReturnType' declared_type='NSFReturnType'/>
932
- <arg index='1' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
936
+ <arg index='1' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
933
937
  <retval type='@' declared_type='id'/>
934
938
  </method>
935
939
  <method selector='searchWithStore:' class_method='true'>
@@ -944,6 +948,10 @@
944
948
  <arg index='0' type='@' name='attributesToBeReturned' declared_type='NSArray*'/>
945
949
  <retval type='v' declared_type='void'/>
946
950
  </method>
951
+ <method selector='setBag:'>
952
+ <arg index='0' type='@' name='bag' declared_type='NSFNanoBag*'/>
953
+ <retval type='v' declared_type='void'/>
954
+ </method>
947
955
  <method selector='setExpressions:'>
948
956
  <arg index='0' type='@' name='expressions' declared_type='NSArray*'/>
949
957
  <retval type='v' declared_type='void'/>
@@ -1029,27 +1037,27 @@
1029
1037
  <method selector='__storeDictionaries:forKeys:error:'>
1030
1038
  <arg index='0' type='@' name='someObjects' declared_type='NSArray*'/>
1031
1039
  <arg index='1' type='@' name='someKeys' declared_type='NSArray*'/>
1032
- <arg index='2' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1040
+ <arg index='2' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1033
1041
  <retval type='B' declared_type='BOOL'/>
1034
1042
  </method>
1035
1043
  <method selector='_addObjectsFromArray:forceSave:error:'>
1036
1044
  <arg index='0' type='@' name='someObjects' declared_type='NSArray*'/>
1037
1045
  <arg index='1' type='B' name='forceSave' declared_type='BOOL'/>
1038
- <arg index='2' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1046
+ <arg index='2' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1039
1047
  <retval type='B' declared_type='BOOL'/>
1040
1048
  </method>
1041
1049
  <method selector='_backupFileStoreToDirectoryAtPath:extension:compact:error:'>
1042
1050
  <arg index='0' type='@' name='aPath' declared_type='NSString*'/>
1043
1051
  <arg index='1' type='@' name='anExtension' declared_type='NSString*'/>
1044
1052
  <arg index='2' type='B' name='flag' declared_type='BOOL'/>
1045
- <arg index='3' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1053
+ <arg index='3' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1046
1054
  <retval type='B' declared_type='BOOL'/>
1047
1055
  </method>
1048
1056
  <method selector='_backupMemoryStoreToDirectoryAtPath:extension:compact:error:'>
1049
1057
  <arg index='0' type='@' name='aPath' declared_type='NSString*'/>
1050
1058
  <arg index='1' type='@' name='anExtension' declared_type='NSString*'/>
1051
1059
  <arg index='2' type='B' name='flag' declared_type='BOOL'/>
1052
- <arg index='3' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1060
+ <arg index='3' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1053
1061
  <retval type='B' declared_type='BOOL'/>
1054
1062
  </method>
1055
1063
  <method selector='_bindValue:forAttribute:parameterNumber:usingSQLite3Statement:'>
@@ -1064,7 +1072,7 @@
1064
1072
  <retval type='@' declared_type='NSString*'/>
1065
1073
  </method>
1066
1074
  <method selector='_checkNanoStoreIsReadyAndReturnError:'>
1067
- <arg index='0' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1075
+ <arg index='0' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1068
1076
  <retval type='B' declared_type='BOOL'/>
1069
1077
  </method>
1070
1078
  <method selector='_createAndOpenDebugDatabase' class_method='true'>
@@ -1095,7 +1103,7 @@
1095
1103
  <retval type='v' declared_type='void'/>
1096
1104
  </method>
1097
1105
  <method selector='_initializePreparedStatementsWithError:'>
1098
- <arg index='0' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1106
+ <arg index='0' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1099
1107
  <retval type='B' declared_type='BOOL'/>
1100
1108
  </method>
1101
1109
  <method selector='_isOurTransaction'>
@@ -1124,7 +1132,7 @@
1124
1132
  <arg index='0' type='@' name='someInfo' declared_type='NSDictionary*'/>
1125
1133
  <arg index='1' type='@' name='aKey' declared_type='NSString*'/>
1126
1134
  <arg index='2' type='@' name='classType' declared_type='NSString*'/>
1127
- <arg index='3' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1135
+ <arg index='3' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1128
1136
  <retval type='B' declared_type='BOOL'/>
1129
1137
  </method>
1130
1138
  <method selector='_stringFromValue:'>
@@ -1133,12 +1141,12 @@
1133
1141
  </method>
1134
1142
  <method selector='addObject:error:'>
1135
1143
  <arg index='0' type='@' name='theObject' declared_type='id'/>
1136
- <arg index='1' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1144
+ <arg index='1' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1137
1145
  <retval type='B' declared_type='BOOL'/>
1138
1146
  </method>
1139
1147
  <method selector='addObjectsFromArray:error:'>
1140
1148
  <arg index='0' type='@' name='theObjects' declared_type='NSArray*'/>
1141
- <arg index='1' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1149
+ <arg index='1' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1142
1150
  <retval type='B' declared_type='BOOL'/>
1143
1151
  </method>
1144
1152
  <method selector='allObjectClasses'>
@@ -1164,23 +1172,23 @@
1164
1172
  <retval type='@' declared_type='NSArray*'/>
1165
1173
  </method>
1166
1174
  <method selector='beginTransactionAndReturnError:'>
1167
- <arg index='0' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1175
+ <arg index='0' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1168
1176
  <retval type='B' declared_type='BOOL'/>
1169
1177
  </method>
1170
1178
  <method selector='clearIndexesAndReturnError:'>
1171
- <arg index='0' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1179
+ <arg index='0' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1172
1180
  <retval type='B' declared_type='BOOL'/>
1173
1181
  </method>
1174
1182
  <method selector='closeWithError:'>
1175
- <arg index='0' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1183
+ <arg index='0' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1176
1184
  <retval type='B' declared_type='BOOL'/>
1177
1185
  </method>
1178
1186
  <method selector='commitTransactionAndReturnError:'>
1179
- <arg index='0' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1187
+ <arg index='0' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1180
1188
  <retval type='B' declared_type='BOOL'/>
1181
1189
  </method>
1182
1190
  <method selector='compactStoreAndReturnError:'>
1183
- <arg index='0' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1191
+ <arg index='0' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1184
1192
  <retval type='B' declared_type='BOOL'/>
1185
1193
  </method>
1186
1194
  <method selector='countOfObjectsOfClassNamed:'>
@@ -1190,7 +1198,7 @@
1190
1198
  <method selector='createAndOpenStoreWithType:path:error:' class_method='true'>
1191
1199
  <arg index='0' type='i' name='theType' declared_type='NSFNanoStoreType'/>
1192
1200
  <arg index='1' type='@' name='thePath' declared_type='NSString*'/>
1193
- <arg index='2' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1201
+ <arg index='2' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1194
1202
  <retval type='@' declared_type='NSFNanoStore*'/>
1195
1203
  </method>
1196
1204
  <method selector='createStoreWithType:path:' class_method='true'>
@@ -1241,47 +1249,47 @@
1241
1249
  <retval type='@' declared_type='NSArray*'/>
1242
1250
  </method>
1243
1251
  <method selector='openWithError:'>
1244
- <arg index='0' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1252
+ <arg index='0' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1245
1253
  <retval type='B' declared_type='BOOL'/>
1246
1254
  </method>
1247
1255
  <method selector='rebuildIndexesAndReturnError:'>
1248
- <arg index='0' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1256
+ <arg index='0' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1249
1257
  <retval type='B' declared_type='BOOL'/>
1250
1258
  </method>
1251
1259
  <method selector='removeAllObjectsFromStoreAndReturnError:'>
1252
- <arg index='0' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1260
+ <arg index='0' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1253
1261
  <retval type='B' declared_type='BOOL'/>
1254
1262
  </method>
1255
1263
  <method selector='removeObject:error:'>
1256
1264
  <arg index='0' type='@' name='theObject' declared_type='id'/>
1257
- <arg index='1' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1265
+ <arg index='1' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1258
1266
  <retval type='B' declared_type='BOOL'/>
1259
1267
  </method>
1260
1268
  <method selector='removeObjectsInArray:error:'>
1261
1269
  <arg index='0' type='@' name='theObjects' declared_type='NSArray*'/>
1262
- <arg index='1' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1270
+ <arg index='1' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1263
1271
  <retval type='B' declared_type='BOOL'/>
1264
1272
  </method>
1265
1273
  <method selector='removeObjectsWithKeysInArray:error:'>
1266
1274
  <arg index='0' type='@' name='theKeys' declared_type='NSArray*'/>
1267
- <arg index='1' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1275
+ <arg index='1' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1268
1276
  <retval type='B' declared_type='BOOL'/>
1269
1277
  </method>
1270
1278
  <method selector='rollbackTransactionAndReturnError:'>
1271
- <arg index='0' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1279
+ <arg index='0' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1272
1280
  <retval type='B' declared_type='BOOL'/>
1273
1281
  </method>
1274
1282
  <method selector='saveInterval'>
1275
1283
  <retval type='I' declared_type='NSUInteger'/>
1276
1284
  </method>
1277
1285
  <method selector='saveStoreAndReturnError:'>
1278
- <arg index='0' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1286
+ <arg index='0' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1279
1287
  <retval type='B' declared_type='BOOL'/>
1280
1288
  </method>
1281
1289
  <method selector='saveStoreToDirectoryAtPath:compactDatabase:error:'>
1282
1290
  <arg index='0' type='@' name='thePath' declared_type='NSString*'/>
1283
1291
  <arg index='1' type='B' name='shouldCompact' declared_type='BOOL'/>
1284
- <arg index='2' type='^@' type_modifier='o' name='outError' declared_type='NSError**'/>
1292
+ <arg index='2' type='^@' name='outError' type_modifier='o' declared_type='NSError**'/>
1285
1293
  <retval type='B' declared_type='BOOL'/>
1286
1294
  </method>
1287
1295
  <method selector='setNanoEngineProcessingMode:'>
@@ -1330,19 +1338,19 @@
1330
1338
  </method>
1331
1339
  </class>
1332
1340
  <informal_protocol name='NSFNanoObjectProtocol'>
1333
- <method selector='initNanoObjectFromDictionaryRepresentation:forKey:store:' type='@20@0:4@8@12@16'>
1341
+ <method type='@20@0:4@8@12@16' selector='initNanoObjectFromDictionaryRepresentation:forKey:store:'>
1334
1342
  <arg index='0' type='@' name='theDictionary' declared_type='NSDictionary*'/>
1335
1343
  <arg index='1' type='@' name='aKey' declared_type='NSString*'/>
1336
1344
  <arg index='2' type='@' name='theStore' declared_type='NSFNanoStore*'/>
1337
1345
  <retval type='@' declared_type='id'/>
1338
1346
  </method>
1339
- <method selector='nanoObjectDictionaryRepresentation' type='@8@0:4'>
1347
+ <method type='@8@0:4' selector='nanoObjectDictionaryRepresentation'>
1340
1348
  <retval type='@' declared_type='NSDictionary*'/>
1341
1349
  </method>
1342
- <method selector='nanoObjectKey' type='@8@0:4'>
1350
+ <method type='@8@0:4' selector='nanoObjectKey'>
1343
1351
  <retval type='@' declared_type='NSString*'/>
1344
1352
  </method>
1345
- <method selector='rootObject' type='@8@0:4'>
1353
+ <method type='@8@0:4' selector='rootObject'>
1346
1354
  <retval type='@' declared_type='id'/>
1347
1355
  </method>
1348
1356
  </informal_protocol>