nano-store 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +8 -0
- data/README.md +2 -2
- data/Rakefile +1 -1
- data/lib/nano_store.rb +1 -1
- data/lib/nano_store/finder.rb +3 -3
- data/lib/nano_store/nano_store.rb +3 -3
- data/lib/nano_store/version.rb +1 -1
- data/nano-store.gemspec +1 -1
- data/spec/bag_spec.rb +56 -52
- data/spec/finder_spec.rb +157 -151
- data/spec/model_spec.rb +94 -82
- data/vendor/Podfile.lock +3 -3
- data/vendor/Pods/NanoStore/Classes/Public/NSFNanoPredicate.m +3 -0
- data/vendor/Pods/NanoStore/Classes/Public/NSFNanoSearch.m +5 -0
- data/vendor/Pods/Pods.bridgesupport +406 -406
- metadata +6 -6
data/spec/model_spec.rb
CHANGED
@@ -31,103 +31,115 @@ describe NanoStore::Model do
|
|
31
31
|
NanoStore.shared_store = nil
|
32
32
|
end
|
33
33
|
|
34
|
-
|
35
|
-
|
36
|
-
|
34
|
+
describe "::new" do
|
35
|
+
it "create new object" do
|
36
|
+
user = stub_user("Bob", 10, Time.now)
|
37
|
+
user.save
|
37
38
|
|
38
|
-
|
39
|
-
|
40
|
-
|
39
|
+
user.info.keys.include?("name").should.be.true
|
40
|
+
user.info.keys.include?("age").should.be.true
|
41
|
+
user.info.keys.include?("created_at").should.be.true
|
41
42
|
|
42
|
-
|
43
|
-
|
44
|
-
|
43
|
+
user.info["name"].should == "Bob"
|
44
|
+
user.info["age"].should == 10
|
45
|
+
user.info["created_at"].should == user.created_at
|
45
46
|
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
47
|
+
user.name.should == "Bob"
|
48
|
+
user.age.should == 10
|
49
|
+
User.count.should == 1
|
50
|
+
end
|
50
51
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
52
|
+
it "create object with nil field" do
|
53
|
+
user = stub_user("Bob", 10, nil)
|
54
|
+
user.save
|
55
|
+
user.key.should.not.be.nil
|
56
|
+
end
|
57
|
+
|
58
|
+
it "throw error when invalid parameter" do
|
59
|
+
lambda {
|
60
|
+
user = User.new(:name => "Eddie", :age => 12, :created_at => Time.now, :gender => "m")
|
61
|
+
}.should.raise(::NanoStore::NanoStoreError)
|
62
|
+
end
|
56
63
|
|
57
|
-
it "create object with initializer" do
|
58
|
-
name = "Abby"
|
59
|
-
age = 30
|
60
|
-
created_at = Time.now
|
61
|
-
user = User.create(:name => name, :age => age, :created_at => created_at)
|
62
|
-
user.name.should == name
|
63
|
-
user.age.should == age
|
64
|
-
user.created_at.should == created_at
|
65
64
|
end
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
65
|
+
|
66
|
+
describe "::create" do
|
67
|
+
it "create object with hash" do
|
68
|
+
name = "Abby"
|
69
|
+
age = 30
|
70
|
+
created_at = Time.now
|
71
|
+
user = User.create(:name => name, :age => age, :created_at => created_at)
|
72
|
+
user.name.should == name
|
73
|
+
user.age.should == age
|
74
|
+
user.created_at.should == created_at
|
75
|
+
end
|
71
76
|
end
|
72
77
|
|
73
|
-
|
74
|
-
|
75
|
-
|
78
|
+
describe "#save" do
|
79
|
+
it "update objects" do
|
80
|
+
user = stub_user("Bob", 10, Time.now)
|
81
|
+
user.save
|
76
82
|
|
77
|
-
|
78
|
-
|
79
|
-
|
83
|
+
user1 = User.find(:name, NSFEqualTo, "Bob").first
|
84
|
+
user1.name = "Dom"
|
85
|
+
user1.save
|
80
86
|
|
81
|
-
|
82
|
-
|
87
|
+
user2 = User.find(:name, NSFEqualTo, "Dom").first
|
88
|
+
user2.key.should == user.key
|
89
|
+
end
|
83
90
|
end
|
84
91
|
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
92
|
+
describe "#delete" do
|
93
|
+
it "delete object" do
|
94
|
+
user = stub_user("Bob", 10, Time.now)
|
95
|
+
user.save
|
96
|
+
|
97
|
+
users = User.find(:name, NSFEqualTo, "Bob")
|
98
|
+
users.should.not.be.nil
|
99
|
+
users.count.should == 1
|
100
|
+
|
101
|
+
user.delete
|
102
|
+
users = User.find(:name, NSFEqualTo, "Bob")
|
103
|
+
users.should.not.be.nil
|
104
|
+
users.count.should == 0
|
105
|
+
User.count.should == 0
|
106
|
+
end
|
98
107
|
end
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
108
|
+
|
109
|
+
describe "::delete" do
|
110
|
+
it "bulk delete" do
|
111
|
+
user = stub_user("Bob", 10, Time.now)
|
112
|
+
user.save
|
113
|
+
|
114
|
+
user = stub_user("Ken", 12, Time.now)
|
115
|
+
user.save
|
116
|
+
|
117
|
+
user = stub_user("Kyu", 14, Time.now)
|
118
|
+
user.save
|
119
|
+
|
120
|
+
plane = Plane.create(:name => "A730", :age => 20)
|
121
|
+
|
122
|
+
User.count.should == 3
|
123
|
+
User.delete({:age => {NSFGreaterThan => 10}})
|
124
|
+
User.count.should == 1
|
125
|
+
|
126
|
+
User.delete({})
|
127
|
+
User.count.should == 0
|
128
|
+
Plane.count.should == 1
|
129
|
+
end
|
120
130
|
end
|
121
131
|
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
132
|
+
describe "Issues" do
|
133
|
+
# see github issue #15
|
134
|
+
# https://github.com/siuying/NanoStoreInMotion/issues/15
|
135
|
+
it "should handle some class name with conflicts" do
|
136
|
+
listing = Listing.new
|
137
|
+
listing.name = "A"
|
138
|
+
listing.save
|
139
|
+
|
140
|
+
Listing.count.should == 1
|
141
|
+
Listing.all.size.should == 1
|
142
|
+
end
|
131
143
|
end
|
132
144
|
|
133
145
|
end
|
data/vendor/Podfile.lock
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
|
2
2
|
PODS:
|
3
|
-
- NanoStore (2.1.
|
3
|
+
- NanoStore (2.1.8)
|
4
4
|
|
5
5
|
DEPENDENCIES:
|
6
|
-
- NanoStore (~> 2.1.
|
6
|
+
- NanoStore (~> 2.1.8)
|
7
7
|
|
8
8
|
SPEC CHECKSUMS:
|
9
|
-
NanoStore:
|
9
|
+
NanoStore: 648b6b984d4df8ad52a1c0d049ad91b8a12a27d0
|
10
10
|
|
11
11
|
COCOAPODS: 0.16.0
|
@@ -80,6 +80,9 @@
|
|
80
80
|
break;
|
81
81
|
}
|
82
82
|
|
83
|
+
// Make sure we escape quotes if present and the value is a string
|
84
|
+
value = [value stringByReplacingOccurrencesOfString:@"'" withString:@"''"];
|
85
|
+
|
83
86
|
switch (match) {
|
84
87
|
case NSFEqualTo:
|
85
88
|
[description appendString:[NSString stringWithFormat:@"%@ = '%@'", columnValue, value]];
|
@@ -507,6 +507,11 @@
|
|
507
507
|
NSMutableString *theSQLStatement = nil;
|
508
508
|
NSString *attributes = nil;
|
509
509
|
|
510
|
+
// Make sure we escape quotes if present and the value is a string
|
511
|
+
if (YES == [aValue isKindOfClass:[NSString class]]) {
|
512
|
+
aValue = [aValue stringByReplacingOccurrencesOfString:@"'" withString:@"''"];
|
513
|
+
}
|
514
|
+
|
510
515
|
if (nil != attributesToBeReturned) {
|
511
516
|
// Prepare the list of attributes we need to gather. Include NSFKEY as well.
|
512
517
|
NSMutableSet *set = [[NSMutableSet alloc]initWithArray:attributesToBeReturned];
|
@@ -1,151 +1,151 @@
|
|
1
1
|
<?xml version='1.0'?>
|
2
2
|
<signatures version='1.0'>
|
3
|
-
<constant
|
4
|
-
<constant
|
5
|
-
<constant
|
6
|
-
<constant
|
7
|
-
<constant
|
8
|
-
<constant
|
9
|
-
<constant
|
10
|
-
<constant
|
11
|
-
<constant
|
12
|
-
<constant
|
13
|
-
<constant
|
14
|
-
<constant
|
15
|
-
<constant
|
16
|
-
<constant
|
17
|
-
<constant
|
18
|
-
<constant
|
19
|
-
<constant
|
20
|
-
<constant
|
21
|
-
<constant
|
22
|
-
<constant
|
23
|
-
<constant
|
24
|
-
<constant
|
25
|
-
<constant
|
26
|
-
<constant
|
27
|
-
<constant
|
28
|
-
<constant
|
29
|
-
<constant
|
30
|
-
<constant
|
31
|
-
<constant
|
32
|
-
<constant
|
33
|
-
<constant
|
34
|
-
<constant
|
35
|
-
<constant
|
36
|
-
<constant
|
37
|
-
<constant
|
38
|
-
<enum
|
39
|
-
<enum
|
40
|
-
<enum
|
41
|
-
<enum
|
42
|
-
<enum
|
43
|
-
<enum
|
44
|
-
<enum
|
45
|
-
<enum
|
46
|
-
<enum
|
47
|
-
<enum
|
48
|
-
<enum
|
49
|
-
<enum
|
50
|
-
<enum
|
51
|
-
<enum
|
52
|
-
<enum
|
53
|
-
<enum
|
54
|
-
<enum
|
55
|
-
<enum
|
56
|
-
<enum
|
57
|
-
<enum
|
58
|
-
<enum
|
59
|
-
<enum
|
60
|
-
<enum
|
61
|
-
<enum
|
62
|
-
<enum
|
63
|
-
<enum
|
64
|
-
<enum
|
65
|
-
<enum
|
66
|
-
<enum
|
67
|
-
<enum
|
68
|
-
<enum
|
69
|
-
<enum
|
70
|
-
<enum
|
71
|
-
<enum
|
72
|
-
<enum
|
73
|
-
<enum
|
74
|
-
<enum
|
75
|
-
<enum
|
76
|
-
<enum
|
77
|
-
<enum
|
78
|
-
<enum
|
79
|
-
<enum
|
80
|
-
<enum
|
81
|
-
<enum
|
82
|
-
<enum
|
83
|
-
<enum
|
84
|
-
<enum
|
85
|
-
<enum
|
86
|
-
<enum
|
87
|
-
<enum
|
88
|
-
<enum
|
89
|
-
<enum
|
90
|
-
<enum
|
91
|
-
<enum
|
3
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFAttribute'/>
|
4
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFCalendarDate'/>
|
5
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFDatatype'/>
|
6
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFDomainKey'/>
|
7
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFKey'/>
|
8
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFKeys'/>
|
9
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFMemoryDatabase'/>
|
10
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFNanoObjectBehaviorException'/>
|
11
|
+
<constant declared_type='NSInteger' type='i' const='true' name='NSFNanoStoreErrorKey'/>
|
12
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFNanoStoreUnableToManipulateStoreException'/>
|
13
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFNonConformingNanoObjectProtocolException'/>
|
14
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFObjectClass'/>
|
15
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFP_ColumnIdentifier'/>
|
16
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFP_DatatypeIdentifier'/>
|
17
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFP_FullDatatypeIdentifier'/>
|
18
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFP_SchemaTable'/>
|
19
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFP_TableIdentifier'/>
|
20
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFPlist'/>
|
21
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFRowIDColumnName'/>
|
22
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFTemporaryDatabase'/>
|
23
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFUnexpectedParameterException'/>
|
24
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFValue'/>
|
25
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFValues'/>
|
26
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSFVersionKey'/>
|
27
|
+
<constant declared_type='NSInteger' type='i' const='true' name='NSF_Private_InvalidParameterDataCodeKey'/>
|
28
|
+
<constant declared_type='NSInteger' type='i' const='true' name='NSF_Private_MacOSXErrorCodeKey'/>
|
29
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSF_Private_NSFKeys_NSFKey'/>
|
30
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSF_Private_NSFKeys_NSFPlist'/>
|
31
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSF_Private_NSFNanoBag_NSFKey'/>
|
32
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSF_Private_NSFNanoBag_NSFObjectKeys'/>
|
33
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSF_Private_NSFNanoBag_Name'/>
|
34
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSF_Private_NSFValues_NSFAttribute'/>
|
35
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSF_Private_NSFValues_NSFKey'/>
|
36
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSF_Private_NSFValues_NSFValue'/>
|
37
|
+
<constant declared_type='NSString*' type='@' const='true' name='NSF_Private_ToDeleteTableKey'/>
|
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='4' name='NSFNanoTypeNumber'/>
|
75
|
+
<enum value='0' name='NSFNanoTypeRowUID'/>
|
76
|
+
<enum value='2' name='NSFNanoTypeString'/>
|
77
|
+
<enum value='-1' name='NSFNanoTypeUnknown'/>
|
78
|
+
<enum value='2' name='NSFOnDate'/>
|
79
|
+
<enum value='2' name='NSFOr'/>
|
80
|
+
<enum value='3' name='NSFPersistentStoreType'/>
|
81
|
+
<enum value='2' name='NSFReturnKeys'/>
|
82
|
+
<enum value='1' name='NSFReturnObjects'/>
|
83
|
+
<enum value='2' name='NSFTemporaryStoreType'/>
|
84
|
+
<enum value='5' name='NSFTotal'/>
|
85
|
+
<enum value='3' name='NSFValueColumn'/>
|
86
|
+
<enum value='2' name='SynchronousModeFull'/>
|
87
|
+
<enum value='1' name='SynchronousModeNormal'/>
|
88
|
+
<enum value='0' name='SynchronousModeOff'/>
|
89
|
+
<enum value='0' name='TempStoreModeDefault'/>
|
90
|
+
<enum value='1' name='TempStoreModeFile'/>
|
91
|
+
<enum value='2' name='TempStoreModeMemory'/>
|
92
92
|
<function name='NSFIsDebugOn'>
|
93
93
|
<retval declared_type='BOOL' type='B'/>
|
94
94
|
</function>
|
95
95
|
<function name='NSFNanoDatatypeFromString'>
|
96
|
-
<arg
|
96
|
+
<arg declared_type='NSString*' type='@' name='aNanoDatatype'/>
|
97
97
|
<retval declared_type='NSFNanoDatatype' type='i'/>
|
98
98
|
</function>
|
99
99
|
<function name='NSFSetIsDebugOn'>
|
100
|
-
<arg
|
100
|
+
<arg declared_type='BOOL' type='B' name='flag'/>
|
101
101
|
<retval declared_type='void' type='v'/>
|
102
102
|
</function>
|
103
103
|
<function name='NSFStringFromMatchType'>
|
104
|
-
<arg
|
104
|
+
<arg declared_type='NSFMatchType' type='i' name='aMatchType'/>
|
105
105
|
<retval declared_type='NSString*' type='@'/>
|
106
106
|
</function>
|
107
107
|
<function name='NSFStringFromNanoDataType'>
|
108
|
-
<arg
|
108
|
+
<arg declared_type='NSFNanoDatatype' type='i' name='aNanoDatatype'/>
|
109
109
|
<retval declared_type='NSString*' type='@'/>
|
110
110
|
</function>
|
111
111
|
<class name='NSFNanoBag'>
|
112
112
|
<method selector='_inflateObjectsWithKeys:'>
|
113
|
-
<arg
|
113
|
+
<arg declared_type='NSArray*' type='@' name='someKeys' index='0'/>
|
114
114
|
<retval declared_type='void' type='v'/>
|
115
115
|
</method>
|
116
116
|
<method selector='_saveInStore:error:'>
|
117
|
-
<arg
|
118
|
-
<arg
|
117
|
+
<arg declared_type='NSFNanoStore*' type='@' name='someStore' index='0'/>
|
118
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='1'/>
|
119
119
|
<retval declared_type='BOOL' type='B'/>
|
120
120
|
</method>
|
121
121
|
<method selector='_setStore:'>
|
122
|
-
<arg
|
122
|
+
<arg declared_type='NSFNanoStore*' type='@' name='aStore' index='0'/>
|
123
123
|
<retval declared_type='void' type='v'/>
|
124
124
|
</method>
|
125
125
|
<method selector='addObject:error:'>
|
126
|
-
<arg
|
127
|
-
<arg
|
126
|
+
<arg declared_type='id' type='@' name='theObject' index='0'/>
|
127
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='1'/>
|
128
128
|
<retval declared_type='BOOL' type='B'/>
|
129
129
|
</method>
|
130
130
|
<method selector='addObjectsFromArray:error:'>
|
131
|
-
<arg
|
132
|
-
<arg
|
131
|
+
<arg declared_type='NSArray*' type='@' name='theObjects' index='0'/>
|
132
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='1'/>
|
133
133
|
<retval declared_type='BOOL' type='B'/>
|
134
134
|
</method>
|
135
|
-
<method
|
135
|
+
<method class_method='true' selector='bag'>
|
136
136
|
<retval declared_type='NSFNanoBag*' type='@'/>
|
137
137
|
</method>
|
138
|
-
<method
|
139
|
-
<arg
|
138
|
+
<method class_method='true' selector='bagWithName:'>
|
139
|
+
<arg declared_type='NSString*' type='@' name='theName' index='0'/>
|
140
140
|
<retval declared_type='id' type='@'/>
|
141
141
|
</method>
|
142
|
-
<method selector='bagWithName:andObjects:'
|
143
|
-
<arg
|
144
|
-
<arg
|
142
|
+
<method class_method='true' selector='bagWithName:andObjects:'>
|
143
|
+
<arg declared_type='NSString*' type='@' name='theName' index='0'/>
|
144
|
+
<arg declared_type='NSArray*' type='@' name='theObjects' index='1'/>
|
145
145
|
<retval declared_type='id' type='@'/>
|
146
146
|
</method>
|
147
|
-
<method
|
148
|
-
<arg
|
147
|
+
<method class_method='true' selector='bagWithObjects:'>
|
148
|
+
<arg declared_type='NSArray*' type='@' name='theObjects' index='0'/>
|
149
149
|
<retval declared_type='NSFNanoBag*' type='@'/>
|
150
150
|
</method>
|
151
151
|
<method selector='count'>
|
@@ -167,12 +167,12 @@
|
|
167
167
|
<retval declared_type='void' type='v'/>
|
168
168
|
</method>
|
169
169
|
<method selector='initBagWithName:andObjects:'>
|
170
|
-
<arg
|
171
|
-
<arg
|
170
|
+
<arg declared_type='NSString*' type='@' name='theName' index='0'/>
|
171
|
+
<arg declared_type='NSArray*' type='@' name='someObjects' index='1'/>
|
172
172
|
<retval declared_type='id' type='@'/>
|
173
173
|
</method>
|
174
174
|
<method selector='isEqualToNanoBag:'>
|
175
|
-
<arg
|
175
|
+
<arg declared_type='NSFNanoBag*' type='@' name='otherNanoBag' index='0'/>
|
176
176
|
<retval declared_type='BOOL' type='B'/>
|
177
177
|
</method>
|
178
178
|
<method selector='key'>
|
@@ -182,51 +182,51 @@
|
|
182
182
|
<retval declared_type='NSString*' type='@'/>
|
183
183
|
</method>
|
184
184
|
<method selector='reloadBagWithError:'>
|
185
|
-
<arg
|
185
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='0'/>
|
186
186
|
<retval declared_type='BOOL' type='B'/>
|
187
187
|
</method>
|
188
188
|
<method selector='removeAllObjects'>
|
189
189
|
<retval declared_type='void' type='v'/>
|
190
190
|
</method>
|
191
191
|
<method selector='removeObject:'>
|
192
|
-
<arg
|
192
|
+
<arg declared_type='id' type='@' name='theObject' index='0'/>
|
193
193
|
<retval declared_type='void' type='v'/>
|
194
194
|
</method>
|
195
195
|
<method selector='removeObjectWithKey:'>
|
196
|
-
<arg
|
196
|
+
<arg declared_type='NSString*' type='@' name='theObjectKey' index='0'/>
|
197
197
|
<retval declared_type='void' type='v'/>
|
198
198
|
</method>
|
199
199
|
<method selector='removeObjectsInArray:'>
|
200
|
-
<arg
|
200
|
+
<arg declared_type='NSArray*' type='@' name='theObjects' index='0'/>
|
201
201
|
<retval declared_type='void' type='v'/>
|
202
202
|
</method>
|
203
203
|
<method selector='removeObjectsWithKeysInArray:'>
|
204
|
-
<arg
|
204
|
+
<arg declared_type='NSArray*' type='@' name='theKeys' index='0'/>
|
205
205
|
<retval declared_type='void' type='v'/>
|
206
206
|
</method>
|
207
207
|
<method selector='removedObjects'>
|
208
208
|
<retval declared_type='NSDictionary*' type='@'/>
|
209
209
|
</method>
|
210
210
|
<method selector='saveAndReturnError:'>
|
211
|
-
<arg
|
211
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='0'/>
|
212
212
|
<retval declared_type='BOOL' type='B'/>
|
213
213
|
</method>
|
214
214
|
<method selector='savedObjects'>
|
215
215
|
<retval declared_type='NSDictionary*' type='@'/>
|
216
216
|
</method>
|
217
217
|
<method selector='setName:'>
|
218
|
-
<arg
|
218
|
+
<arg declared_type='NSString*' type='@' name='name' index='0'/>
|
219
219
|
<retval declared_type='void' type='v'/>
|
220
220
|
</method>
|
221
221
|
<method selector='setStore:'>
|
222
|
-
<arg
|
222
|
+
<arg declared_type='NSFNanoStore*' type='@' name='store' index='0'/>
|
223
223
|
<retval declared_type='void' type='v'/>
|
224
224
|
</method>
|
225
225
|
<method selector='store'>
|
226
226
|
<retval declared_type='NSFNanoStore*' type='@'/>
|
227
227
|
</method>
|
228
228
|
<method selector='undoChangesWithError:'>
|
229
|
-
<arg
|
229
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='0'/>
|
230
230
|
<retval declared_type='BOOL' type='B'/>
|
231
231
|
</method>
|
232
232
|
<method selector='unsavedObjects'>
|
@@ -234,122 +234,122 @@
|
|
234
234
|
</method>
|
235
235
|
</class>
|
236
236
|
<class name='NSFNanoEngine'>
|
237
|
-
<method
|
238
|
-
<arg
|
237
|
+
<method class_method='true' selector='NSFEncodingTypeToNSString:'>
|
238
|
+
<arg declared_type='NSFEncodingType' type='i' name='value' index='0'/>
|
239
239
|
<retval declared_type='NSString*' type='@'/>
|
240
240
|
</method>
|
241
241
|
<method selector='NSFP_ROWIDPresenceLocation:datatypes:'>
|
242
|
-
<arg
|
243
|
-
<arg
|
242
|
+
<arg declared_type='NSArray*' type='@' name='tableColumns' index='0'/>
|
243
|
+
<arg declared_type='NSArray*' type='@' name='datatypes' index='1'/>
|
244
244
|
<retval declared_type='NSInteger' type='i'/>
|
245
245
|
</method>
|
246
246
|
<method selector='NSFP_beginTransactionMode:'>
|
247
|
-
<arg
|
247
|
+
<arg declared_type='NSString*' type='@' name='theSQLStatement' index='0'/>
|
248
248
|
<retval declared_type='BOOL' type='B'/>
|
249
249
|
</method>
|
250
250
|
<method selector='NSFP_cacheMethodToString'>
|
251
251
|
<retval declared_type='NSString*' type='@'/>
|
252
252
|
</method>
|
253
253
|
<method selector='NSFP_createTable:withColumns:datatypes:isTemporary:'>
|
254
|
-
<arg
|
255
|
-
<arg
|
256
|
-
<arg
|
257
|
-
<arg
|
254
|
+
<arg declared_type='NSString*' type='@' name='table' index='0'/>
|
255
|
+
<arg declared_type='NSArray*' type='@' name='tableColumns' index='1'/>
|
256
|
+
<arg declared_type='NSArray*' type='@' name='tableDatatypes' index='2'/>
|
257
|
+
<arg declared_type='BOOL' type='B' name='isTemporaryFlag' index='3'/>
|
258
258
|
<retval declared_type='BOOL' type='B'/>
|
259
259
|
</method>
|
260
260
|
<method selector='NSFP_datatypeForColumn:'>
|
261
|
-
<arg
|
261
|
+
<arg declared_type='NSString*' type='@' name='tableAndColumn' index='0'/>
|
262
262
|
<retval declared_type='NSFNanoDatatype' type='i'/>
|
263
263
|
</method>
|
264
264
|
<method selector='NSFP_datatypeForTable:column:'>
|
265
|
-
<arg
|
266
|
-
<arg
|
265
|
+
<arg declared_type='NSString*' type='@' name='table' index='0'/>
|
266
|
+
<arg declared_type='NSString*' type='@' name='column' index='1'/>
|
267
267
|
<retval declared_type='NSFNanoDatatype' type='i'/>
|
268
268
|
</method>
|
269
|
-
<method selector='NSFP_decodeQuantum:andSource:'
|
270
|
-
<arg
|
271
|
-
<arg
|
269
|
+
<method class_method='true' selector='NSFP_decodeQuantum:andSource:'>
|
270
|
+
<arg declared_type='unsigned char*' type='*' name='dest' index='0'/>
|
271
|
+
<arg declared_type='char*' type='*' const='true' name='src' index='1'/>
|
272
272
|
<retval declared_type='void' type='v'/>
|
273
273
|
</method>
|
274
274
|
<method selector='NSFP_flattenAllTables'>
|
275
275
|
<retval declared_type='NSArray*' type='@'/>
|
276
276
|
</method>
|
277
277
|
<method selector='NSFP_insertStringValues:forColumns:table:'>
|
278
|
-
<arg
|
279
|
-
<arg
|
280
|
-
<arg
|
278
|
+
<arg declared_type='NSArray*' type='@' name='values' index='0'/>
|
279
|
+
<arg declared_type='NSArray*' type='@' name='columns' index='1'/>
|
280
|
+
<arg declared_type='NSString*' type='@' name='table' index='2'/>
|
281
281
|
<retval declared_type='BOOL' type='B'/>
|
282
282
|
</method>
|
283
283
|
<method selector='NSFP_installCommitCallback'>
|
284
284
|
<retval declared_type='void' type='v'/>
|
285
285
|
</method>
|
286
286
|
<method selector='NSFP_isColumnROWIDAlias:forTable:'>
|
287
|
-
<arg
|
288
|
-
<arg
|
287
|
+
<arg declared_type='NSString*' type='@' name='column' index='0'/>
|
288
|
+
<arg declared_type='NSString*' type='@' name='table' index='1'/>
|
289
289
|
<retval declared_type='BOOL' type='B'/>
|
290
290
|
</method>
|
291
291
|
<method selector='NSFP_nestedDescriptionWithPrefixedSpace:'>
|
292
|
-
<arg
|
292
|
+
<arg declared_type='NSString*' type='@' name='prefixedSpace' index='0'/>
|
293
293
|
<retval declared_type='NSString*' type='@'/>
|
294
294
|
</method>
|
295
295
|
<method selector='NSFP_prefixWithDotDelimiter:'>
|
296
|
-
<arg
|
296
|
+
<arg declared_type='NSString*' type='@' name='tableAndColumn' index='0'/>
|
297
297
|
<retval declared_type='NSString*' type='@'/>
|
298
298
|
</method>
|
299
299
|
<method selector='NSFP_prepareSQLite3Statement:theSQLStatement:'>
|
300
|
-
<arg
|
301
|
-
<arg
|
300
|
+
<arg declared_type='sqlite3_stmt**' type='^^{sqlite3_stmt}' name='aStatement' index='0'/>
|
301
|
+
<arg declared_type='NSString*' type='@' name='aSQLQuery' index='1'/>
|
302
302
|
<retval declared_type='NSInteger' type='i'/>
|
303
303
|
</method>
|
304
304
|
<method selector='NSFP_rebuildDatatypeCache'>
|
305
305
|
<retval declared_type='void' type='v'/>
|
306
306
|
</method>
|
307
307
|
<method selector='NSFP_removeColumn:fromTable:'>
|
308
|
-
<arg
|
309
|
-
<arg
|
308
|
+
<arg declared_type='NSString*' type='@' name='column' index='0'/>
|
309
|
+
<arg declared_type='NSString*' type='@' name='table' index='1'/>
|
310
310
|
<retval declared_type='BOOL' type='B'/>
|
311
311
|
</method>
|
312
312
|
<method selector='NSFP_setFullColumnNamesEnabled'>
|
313
313
|
<retval declared_type='void' type='v'/>
|
314
314
|
</method>
|
315
|
-
<method
|
315
|
+
<method class_method='true' selector='NSFP_sharedROWIDKeywords'>
|
316
316
|
<retval declared_type='NSArray*' type='@'/>
|
317
317
|
</method>
|
318
318
|
<method selector='NSFP_sqlString:appendingTags:'>
|
319
|
-
<arg
|
320
|
-
<arg
|
319
|
+
<arg declared_type='NSMutableString*' type='@' name='theSQLStatement' index='0'/>
|
320
|
+
<arg declared_type='NSArray*' type='@' name='columns' index='1'/>
|
321
321
|
<retval declared_type='void' type='v'/>
|
322
322
|
</method>
|
323
323
|
<method selector='NSFP_sqlString:appendingTags:quoteTags:'>
|
324
|
-
<arg
|
325
|
-
<arg
|
326
|
-
<arg
|
324
|
+
<arg declared_type='NSMutableString*' type='@' name='theSQLStatement' index='0'/>
|
325
|
+
<arg declared_type='NSArray*' type='@' name='tags' index='1'/>
|
326
|
+
<arg declared_type='BOOL' type='B' name='flag' index='2'/>
|
327
327
|
<retval declared_type='void' type='v'/>
|
328
328
|
</method>
|
329
329
|
<method selector='NSFP_sqlString:forTable:withColumns:datatypes:'>
|
330
|
-
<arg
|
331
|
-
<arg
|
332
|
-
<arg
|
333
|
-
<arg
|
330
|
+
<arg declared_type='NSMutableString*' type='@' name='theSQLStatement' index='0'/>
|
331
|
+
<arg declared_type='NSString*' type='@' name='table' index='1'/>
|
332
|
+
<arg declared_type='NSArray*' type='@' name='columns' index='2'/>
|
333
|
+
<arg declared_type='NSArray*' type='@' name='datatypes' index='3'/>
|
334
334
|
<retval declared_type='BOOL' type='B'/>
|
335
335
|
</method>
|
336
|
-
<method
|
337
|
-
<arg
|
336
|
+
<method class_method='true' selector='NSFP_stripBitsFromExtendedResultCode:'>
|
337
|
+
<arg declared_type='int' type='i' name='extendedResult' index='0'/>
|
338
338
|
<retval declared_type='int' type='i'/>
|
339
339
|
</method>
|
340
340
|
<method selector='NSFP_suffixWithDotDelimiter:'>
|
341
|
-
<arg
|
341
|
+
<arg declared_type='NSString*' type='@' name='tableAndColumn' index='0'/>
|
342
342
|
<retval declared_type='NSString*' type='@'/>
|
343
343
|
</method>
|
344
344
|
<method selector='NSFP_uninstallCommitCallback'>
|
345
345
|
<retval declared_type='void' type='v'/>
|
346
346
|
</method>
|
347
|
-
<method
|
348
|
-
<arg
|
347
|
+
<method class_method='true' selector='NSStringToNSFEncodingType:'>
|
348
|
+
<arg declared_type='NSString*' type='@' name='value' index='0'/>
|
349
349
|
<retval declared_type='NSFEncodingType' type='i'/>
|
350
350
|
</method>
|
351
|
-
<method
|
352
|
-
<arg
|
351
|
+
<method class_method='true' selector='_plistToDictionary:'>
|
352
|
+
<arg declared_type='NSString*' type='@' name='aPlist' index='0'/>
|
353
353
|
<retval declared_type='NSDictionary*' type='@'/>
|
354
354
|
</method>
|
355
355
|
<method selector='allTables'>
|
@@ -374,7 +374,7 @@
|
|
374
374
|
<retval declared_type='BOOL' type='B'/>
|
375
375
|
</method>
|
376
376
|
<method selector='columnsForTable:'>
|
377
|
-
<arg
|
377
|
+
<arg declared_type='NSString*' type='@' name='theTable' index='0'/>
|
378
378
|
<retval declared_type='NSArray*' type='@'/>
|
379
379
|
</method>
|
380
380
|
<method selector='commitTransaction'>
|
@@ -384,60 +384,60 @@
|
|
384
384
|
<retval declared_type='BOOL' type='B'/>
|
385
385
|
</method>
|
386
386
|
<method selector='createIndexForColumn:table:isUnique:'>
|
387
|
-
<arg
|
388
|
-
<arg
|
389
|
-
<arg
|
387
|
+
<arg declared_type='NSString*' type='@' name='theColumn' index='0'/>
|
388
|
+
<arg declared_type='NSString*' type='@' name='theTable' index='1'/>
|
389
|
+
<arg declared_type='BOOL' type='B' name='isUnique' index='2'/>
|
390
390
|
<retval declared_type='BOOL' type='B'/>
|
391
391
|
</method>
|
392
392
|
<method selector='createTable:withColumns:datatypes:'>
|
393
|
-
<arg
|
394
|
-
<arg
|
395
|
-
<arg
|
393
|
+
<arg declared_type='NSString*' type='@' name='theTable' index='0'/>
|
394
|
+
<arg declared_type='NSArray*' type='@' name='theColumns' index='1'/>
|
395
|
+
<arg declared_type='NSArray*' type='@' name='theDatatypes' index='2'/>
|
396
396
|
<retval declared_type='BOOL' type='B'/>
|
397
397
|
</method>
|
398
|
-
<method
|
399
|
-
<arg
|
398
|
+
<method class_method='true' selector='databaseWithPath:'>
|
399
|
+
<arg declared_type='NSString*' type='@' name='thePath' index='0'/>
|
400
400
|
<retval declared_type='id' type='@'/>
|
401
401
|
</method>
|
402
402
|
<method selector='datatypesForTable:'>
|
403
|
-
<arg
|
403
|
+
<arg declared_type='NSString*' type='@' name='theTable' index='0'/>
|
404
404
|
<retval declared_type='NSArray*' type='@'/>
|
405
405
|
</method>
|
406
|
-
<method
|
407
|
-
<arg
|
406
|
+
<method class_method='true' selector='decodeDataFromBase64:'>
|
407
|
+
<arg declared_type='NSString*' type='@' name='theEncodedData' index='0'/>
|
408
408
|
<retval declared_type='NSData*' type='@'/>
|
409
409
|
</method>
|
410
410
|
<method selector='description'>
|
411
411
|
<retval declared_type='NSString*' type='@'/>
|
412
412
|
</method>
|
413
413
|
<method selector='dropIndex:'>
|
414
|
-
<arg
|
414
|
+
<arg declared_type='NSString*' type='@' name='theIndex' index='0'/>
|
415
415
|
<retval declared_type='void' type='v'/>
|
416
416
|
</method>
|
417
417
|
<method selector='dropTable:'>
|
418
|
-
<arg
|
418
|
+
<arg declared_type='NSString*' type='@' name='theTable' index='0'/>
|
419
419
|
<retval declared_type='BOOL' type='B'/>
|
420
420
|
</method>
|
421
|
-
<method
|
422
|
-
<arg
|
421
|
+
<method class_method='true' selector='encodeDataToBase64:'>
|
422
|
+
<arg declared_type='NSData*' type='@' name='theData' index='0'/>
|
423
423
|
<retval declared_type='NSString*' type='@'/>
|
424
424
|
</method>
|
425
425
|
<method selector='encoding'>
|
426
426
|
<retval declared_type='NSFEncodingType' type='i'/>
|
427
427
|
</method>
|
428
428
|
<method selector='executeSQL:'>
|
429
|
-
<arg
|
429
|
+
<arg declared_type='NSString*' type='@' name='theSQLStatement' index='0'/>
|
430
430
|
<retval declared_type='NSFNanoResult*' type='@'/>
|
431
431
|
</method>
|
432
432
|
<method selector='indexedColumnsForTable:'>
|
433
|
-
<arg
|
433
|
+
<arg declared_type='NSString*' type='@' name='theTable' index='0'/>
|
434
434
|
<retval declared_type='NSArray*' type='@'/>
|
435
435
|
</method>
|
436
436
|
<method selector='indexes'>
|
437
437
|
<retval declared_type='NSArray*' type='@'/>
|
438
438
|
</method>
|
439
439
|
<method selector='initWithPath:'>
|
440
|
-
<arg
|
440
|
+
<arg declared_type='NSString*' type='@' name='thePath' index='0'/>
|
441
441
|
<retval declared_type='id' type='@'/>
|
442
442
|
</method>
|
443
443
|
<method selector='integrityCheck'>
|
@@ -450,19 +450,19 @@
|
|
450
450
|
<retval declared_type='BOOL' type='B'/>
|
451
451
|
</method>
|
452
452
|
<method selector='journalModeAndReturnError:'>
|
453
|
-
<arg
|
453
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='0'/>
|
454
454
|
<retval declared_type='NSFJournalModeMode' type='i'/>
|
455
455
|
</method>
|
456
456
|
<method selector='maxRowUIDForTable:'>
|
457
|
-
<arg
|
457
|
+
<arg declared_type='NSString*' type='@' name='theTable' index='0'/>
|
458
458
|
<retval declared_type='long long' type='q'/>
|
459
459
|
</method>
|
460
|
-
<method
|
460
|
+
<method class_method='true' selector='nanoStoreEngineVersion'>
|
461
461
|
<retval declared_type='NSString*' type='@'/>
|
462
462
|
</method>
|
463
463
|
<method selector='openWithCacheMethod:useFastMode:'>
|
464
|
-
<arg
|
465
|
-
<arg
|
464
|
+
<arg declared_type='NSFCacheMethod' type='i' name='theCacheMethod' index='0'/>
|
465
|
+
<arg declared_type='BOOL' type='B' name='useFastMode' index='1'/>
|
466
466
|
<retval declared_type='BOOL' type='B'/>
|
467
467
|
</method>
|
468
468
|
<method selector='pageSize'>
|
@@ -471,60 +471,60 @@
|
|
471
471
|
<method selector='path'>
|
472
472
|
<retval declared_type='NSString*' type='@'/>
|
473
473
|
</method>
|
474
|
-
<method
|
474
|
+
<method class_method='true' selector='recommendedCacheSize'>
|
475
475
|
<retval declared_type='NSUInteger' type='I'/>
|
476
476
|
</method>
|
477
477
|
<method selector='rollbackTransaction'>
|
478
478
|
<retval declared_type='BOOL' type='B'/>
|
479
479
|
</method>
|
480
480
|
<method selector='setBusyTimeout:'>
|
481
|
-
<arg
|
481
|
+
<arg declared_type='unsigned int' type='I' name='theTimeout' index='0'/>
|
482
482
|
<retval declared_type='void' type='v'/>
|
483
483
|
</method>
|
484
484
|
<method selector='setCacheMethod:'>
|
485
|
-
<arg
|
485
|
+
<arg declared_type='NSFCacheMethod' type='i' name='cacheMethod' index='0'/>
|
486
486
|
<retval declared_type='void' type='v'/>
|
487
487
|
</method>
|
488
488
|
<method selector='setCacheSize:'>
|
489
|
-
<arg
|
489
|
+
<arg declared_type='NSUInteger' type='I' name='numberOfPages' index='0'/>
|
490
490
|
<retval declared_type='BOOL' type='B'/>
|
491
491
|
</method>
|
492
492
|
<method selector='setEncodingType:'>
|
493
|
-
<arg
|
493
|
+
<arg declared_type='NSFEncodingType' type='i' name='theEncodingType' index='0'/>
|
494
494
|
<retval declared_type='BOOL' type='B'/>
|
495
495
|
</method>
|
496
496
|
<method selector='setJournalMode:'>
|
497
|
-
<arg
|
497
|
+
<arg declared_type='NSFJournalModeMode' type='i' name='theMode' index='0'/>
|
498
498
|
<retval declared_type='BOOL' type='B'/>
|
499
499
|
</method>
|
500
500
|
<method selector='setPageSize:'>
|
501
|
-
<arg
|
501
|
+
<arg declared_type='NSUInteger' type='I' name='numberOfBytes' index='0'/>
|
502
502
|
<retval declared_type='BOOL' type='B'/>
|
503
503
|
</method>
|
504
504
|
<method selector='setSynchronousMode:'>
|
505
|
-
<arg
|
505
|
+
<arg declared_type='NSFSynchronousMode' type='i' name='theSynchronousMode' index='0'/>
|
506
506
|
<retval declared_type='void' type='v'/>
|
507
507
|
</method>
|
508
508
|
<method selector='setTempStoreMode:'>
|
509
|
-
<arg
|
509
|
+
<arg declared_type='NSFTempStoreMode' type='i' name='theTempStoreMode' index='0'/>
|
510
510
|
<retval declared_type='void' type='v'/>
|
511
511
|
</method>
|
512
|
-
<method
|
512
|
+
<method class_method='true' selector='sharedNanoStoreEngineDatatypes'>
|
513
513
|
<retval declared_type='NSSet*' type='@'/>
|
514
514
|
</method>
|
515
515
|
<method selector='sqlite'>
|
516
516
|
<retval declared_type='sqlite3*' type='^{sqlite3=}'/>
|
517
517
|
</method>
|
518
|
-
<method
|
518
|
+
<method class_method='true' selector='sqliteVersion'>
|
519
519
|
<retval declared_type='NSString*' type='@'/>
|
520
520
|
</method>
|
521
|
-
<method
|
521
|
+
<method class_method='true' selector='stringWithUUID'>
|
522
522
|
<retval declared_type='NSString*' type='@'/>
|
523
523
|
</method>
|
524
524
|
<method selector='synchronousMode'>
|
525
525
|
<retval declared_type='NSFSynchronousMode' type='i'/>
|
526
526
|
</method>
|
527
|
-
<method
|
527
|
+
<method class_method='true' selector='systemPageSize'>
|
528
528
|
<retval declared_type='NSInteger' type='i'/>
|
529
529
|
</method>
|
530
530
|
<method selector='tables'>
|
@@ -539,19 +539,19 @@
|
|
539
539
|
</class>
|
540
540
|
<class name='NSFNanoExpression'>
|
541
541
|
<method selector='addPredicate:withOperator:'>
|
542
|
-
<arg
|
543
|
-
<arg
|
542
|
+
<arg declared_type='NSFNanoPredicate*' type='@' name='thePredicate' index='0'/>
|
543
|
+
<arg declared_type='NSFOperator' type='i' name='theOperator' index='1'/>
|
544
544
|
<retval declared_type='void' type='v'/>
|
545
545
|
</method>
|
546
546
|
<method selector='description'>
|
547
547
|
<retval declared_type='NSString*' type='@'/>
|
548
548
|
</method>
|
549
|
-
<method
|
550
|
-
<arg
|
549
|
+
<method class_method='true' selector='expressionWithPredicate:'>
|
550
|
+
<arg declared_type='NSFNanoPredicate*' type='@' name='thePredicate' index='0'/>
|
551
551
|
<retval declared_type='NSFNanoExpression*' type='@'/>
|
552
552
|
</method>
|
553
553
|
<method selector='initWithPredicate:'>
|
554
|
-
<arg
|
554
|
+
<arg declared_type='NSFNanoPredicate*' type='@' name='thePredicate' index='0'/>
|
555
555
|
<retval declared_type='id' type='@'/>
|
556
556
|
</method>
|
557
557
|
<method selector='operators'>
|
@@ -563,11 +563,11 @@
|
|
563
563
|
</class>
|
564
564
|
<class name='NSFNanoObject'>
|
565
565
|
<method selector='_setOriginalClassString:'>
|
566
|
-
<arg
|
566
|
+
<arg declared_type='NSString*' type='@' name='theClassString' index='0'/>
|
567
567
|
<retval declared_type='void' type='v'/>
|
568
568
|
</method>
|
569
569
|
<method selector='addEntriesFromDictionary:'>
|
570
|
-
<arg
|
570
|
+
<arg declared_type='NSDictionary*' type='@' name='otherDictionary' index='0'/>
|
571
571
|
<retval declared_type='void' type='v'/>
|
572
572
|
</method>
|
573
573
|
<method selector='description'>
|
@@ -580,35 +580,35 @@
|
|
580
580
|
<retval declared_type='NSDictionary*' type='@'/>
|
581
581
|
</method>
|
582
582
|
<method selector='initFromDictionaryRepresentation:'>
|
583
|
-
<arg
|
583
|
+
<arg declared_type='NSDictionary*' type='@' name='theDictionary' index='0'/>
|
584
584
|
<retval declared_type='id' type='@'/>
|
585
585
|
</method>
|
586
586
|
<method selector='initFromDictionaryRepresentation:key:'>
|
587
|
-
<arg
|
588
|
-
<arg
|
587
|
+
<arg declared_type='NSDictionary*' type='@' name='theDictionary' index='0'/>
|
588
|
+
<arg declared_type='NSString*' type='@' name='theKey' index='1'/>
|
589
589
|
<retval declared_type='id' type='@'/>
|
590
590
|
</method>
|
591
591
|
<method selector='isEqualToNanoObject:'>
|
592
|
-
<arg
|
592
|
+
<arg declared_type='NSFNanoObject*' type='@' name='otherNanoObject' index='0'/>
|
593
593
|
<retval declared_type='BOOL' type='B'/>
|
594
594
|
</method>
|
595
595
|
<method selector='key'>
|
596
596
|
<retval declared_type='NSString*' type='@'/>
|
597
597
|
</method>
|
598
|
-
<method
|
598
|
+
<method class_method='true' selector='nanoObject'>
|
599
599
|
<retval declared_type='NSFNanoObject*' type='@'/>
|
600
600
|
</method>
|
601
|
-
<method
|
602
|
-
<arg
|
601
|
+
<method class_method='true' selector='nanoObjectWithDictionary:'>
|
602
|
+
<arg declared_type='NSDictionary*' type='@' name='theDictionary' index='0'/>
|
603
603
|
<retval declared_type='NSFNanoObject*' type='@'/>
|
604
604
|
</method>
|
605
|
-
<method selector='nanoObjectWithDictionary:key:'
|
606
|
-
<arg
|
607
|
-
<arg
|
605
|
+
<method class_method='true' selector='nanoObjectWithDictionary:key:'>
|
606
|
+
<arg declared_type='NSDictionary*' type='@' name='theDictionary' index='0'/>
|
607
|
+
<arg declared_type='NSString*' type='@' name='theKey' index='1'/>
|
608
608
|
<retval declared_type='NSFNanoObject*' type='@'/>
|
609
609
|
</method>
|
610
610
|
<method selector='objectForKey:'>
|
611
|
-
<arg
|
611
|
+
<arg declared_type='NSString*' type='@' name='aKey' index='0'/>
|
612
612
|
<retval declared_type='id' type='@'/>
|
613
613
|
</method>
|
614
614
|
<method selector='originalClassString'>
|
@@ -618,16 +618,16 @@
|
|
618
618
|
<retval declared_type='void' type='v'/>
|
619
619
|
</method>
|
620
620
|
<method selector='removeObjectForKey:'>
|
621
|
-
<arg
|
621
|
+
<arg declared_type='NSString*' type='@' name='aKey' index='0'/>
|
622
622
|
<retval declared_type='void' type='v'/>
|
623
623
|
</method>
|
624
624
|
<method selector='removeObjectsForKeys:'>
|
625
|
-
<arg
|
625
|
+
<arg declared_type='NSArray*' type='@' name='keyArray' index='0'/>
|
626
626
|
<retval declared_type='void' type='v'/>
|
627
627
|
</method>
|
628
628
|
<method selector='setObject:forKey:'>
|
629
|
-
<arg
|
630
|
-
<arg
|
629
|
+
<arg declared_type='id' type='@' name='anObject' index='0'/>
|
630
|
+
<arg declared_type='NSString*' type='@' name='aKey' index='1'/>
|
631
631
|
<retval declared_type='void' type='v'/>
|
632
632
|
</method>
|
633
633
|
</class>
|
@@ -639,18 +639,18 @@
|
|
639
639
|
<retval declared_type='NSString*' type='@'/>
|
640
640
|
</method>
|
641
641
|
<method selector='initWithColumn:matching:value:'>
|
642
|
-
<arg
|
643
|
-
<arg
|
644
|
-
<arg
|
642
|
+
<arg declared_type='NSFTableColumnType' type='i' name='theType' index='0'/>
|
643
|
+
<arg declared_type='NSFMatchType' type='i' name='theMatch' index='1'/>
|
644
|
+
<arg declared_type='NSString*' type='@' name='theValue' index='2'/>
|
645
645
|
<retval declared_type='id' type='@'/>
|
646
646
|
</method>
|
647
647
|
<method selector='match'>
|
648
648
|
<retval declared_type='NSFMatchType' type='i'/>
|
649
649
|
</method>
|
650
|
-
<method selector='predicateWithColumn:matching:value:'
|
651
|
-
<arg
|
652
|
-
<arg
|
653
|
-
<arg
|
650
|
+
<method class_method='true' selector='predicateWithColumn:matching:value:'>
|
651
|
+
<arg declared_type='NSFTableColumnType' type='i' name='theType' index='0'/>
|
652
|
+
<arg declared_type='NSFMatchType' type='i' name='theMatch' index='1'/>
|
653
|
+
<arg declared_type='NSString*' type='@' name='theValue' index='2'/>
|
654
654
|
<retval declared_type='NSFNanoPredicate*' type='@'/>
|
655
655
|
</method>
|
656
656
|
<method selector='value'>
|
@@ -662,26 +662,26 @@
|
|
662
662
|
<retval declared_type='void' type='v'/>
|
663
663
|
</method>
|
664
664
|
<method selector='_initWithDictionary:'>
|
665
|
-
<arg
|
665
|
+
<arg declared_type='NSDictionary*' type='@' name='results' index='0'/>
|
666
666
|
<retval declared_type='id' type='@'/>
|
667
667
|
</method>
|
668
668
|
<method selector='_initWithError:'>
|
669
|
-
<arg
|
669
|
+
<arg declared_type='NSError*' type='@' name='error' index='0'/>
|
670
670
|
<retval declared_type='id' type='@'/>
|
671
671
|
</method>
|
672
672
|
<method selector='_reset'>
|
673
673
|
<retval declared_type='void' type='v'/>
|
674
674
|
</method>
|
675
|
-
<method
|
676
|
-
<arg
|
675
|
+
<method class_method='true' selector='_resultWithDictionary:'>
|
676
|
+
<arg declared_type='NSDictionary*' type='@' name='results' index='0'/>
|
677
677
|
<retval declared_type='NSFNanoResult*' type='@'/>
|
678
678
|
</method>
|
679
|
-
<method
|
680
|
-
<arg
|
679
|
+
<method class_method='true' selector='_resultWithError:'>
|
680
|
+
<arg declared_type='NSError*' type='@' name='error' index='0'/>
|
681
681
|
<retval declared_type='NSFNanoResult*' type='@'/>
|
682
682
|
</method>
|
683
683
|
<method selector='_setError:'>
|
684
|
-
<arg
|
684
|
+
<arg declared_type='NSError*' type='@' name='error' index='0'/>
|
685
685
|
<retval declared_type='void' type='v'/>
|
686
686
|
</method>
|
687
687
|
<method selector='columns'>
|
@@ -700,101 +700,101 @@
|
|
700
700
|
<retval declared_type='NSUInteger' type='I'/>
|
701
701
|
</method>
|
702
702
|
<method selector='setError:'>
|
703
|
-
<arg
|
703
|
+
<arg declared_type='NSError*' type='@' name='error' index='0'/>
|
704
704
|
<retval declared_type='void' type='v'/>
|
705
705
|
</method>
|
706
706
|
<method selector='valueAtIndex:forColumn:'>
|
707
|
-
<arg
|
708
|
-
<arg
|
707
|
+
<arg declared_type='NSUInteger' type='I' name='theIndex' index='0'/>
|
708
|
+
<arg declared_type='NSString*' type='@' name='theColumn' index='1'/>
|
709
709
|
<retval declared_type='NSString*' type='@'/>
|
710
710
|
</method>
|
711
711
|
<method selector='valuesForColumn:'>
|
712
|
-
<arg
|
712
|
+
<arg declared_type='NSString*' type='@' name='theColumn' index='0'/>
|
713
713
|
<retval declared_type='NSArray*' type='@'/>
|
714
714
|
</method>
|
715
715
|
<method selector='writeToFile:'>
|
716
|
-
<arg
|
716
|
+
<arg declared_type='NSString*' type='@' name='thePath' index='0'/>
|
717
717
|
<retval declared_type='void' type='v'/>
|
718
718
|
</method>
|
719
719
|
</class>
|
720
720
|
<class name='NSFNanoSearch'>
|
721
721
|
<method selector='_dataWithKey:attribute:value:matching:'>
|
722
|
-
<arg
|
723
|
-
<arg
|
724
|
-
<arg
|
725
|
-
<arg
|
722
|
+
<arg declared_type='NSString*' type='@' name='aKey' index='0'/>
|
723
|
+
<arg declared_type='NSString*' type='@' name='anAttribute' index='1'/>
|
724
|
+
<arg declared_type='NSString*' type='@' name='aValue' index='2'/>
|
725
|
+
<arg declared_type='NSFMatchType' type='i' name='match' index='3'/>
|
726
726
|
<retval declared_type='NSArray*' type='@'/>
|
727
727
|
</method>
|
728
728
|
<method selector='_dataWithKey:attribute:value:matching:returning:'>
|
729
|
-
<arg
|
730
|
-
<arg
|
731
|
-
<arg
|
732
|
-
<arg
|
733
|
-
<arg
|
729
|
+
<arg declared_type='NSString*' type='@' name='aKey' index='0'/>
|
730
|
+
<arg declared_type='NSString*' type='@' name='anAttribute' index='1'/>
|
731
|
+
<arg declared_type='NSString*' type='@' name='aValue' index='2'/>
|
732
|
+
<arg declared_type='NSFMatchType' type='i' name='match' index='3'/>
|
733
|
+
<arg declared_type='NSFReturnType' type='i' name='returnedObjectType' index='4'/>
|
734
734
|
<retval declared_type='NSArray*' type='@'/>
|
735
735
|
</method>
|
736
736
|
<method selector='_dictionaryForKeyPath:value:'>
|
737
|
-
<arg
|
738
|
-
<arg
|
737
|
+
<arg declared_type='NSString*' type='@' name='keyPath' index='0'/>
|
738
|
+
<arg declared_type='id' type='@' name='value' index='1'/>
|
739
739
|
<retval declared_type='NSDictionary*' type='@'/>
|
740
740
|
</method>
|
741
741
|
<method selector='_prepareSQLQueryStringWithExpressions:'>
|
742
|
-
<arg
|
742
|
+
<arg declared_type='NSArray*' type='@' name='someExpressions' index='0'/>
|
743
743
|
<retval declared_type='NSString*' type='@'/>
|
744
744
|
</method>
|
745
745
|
<method selector='_prepareSQLQueryStringWithKey:attribute:value:matching:'>
|
746
|
-
<arg
|
747
|
-
<arg
|
748
|
-
<arg
|
749
|
-
<arg
|
746
|
+
<arg declared_type='NSString*' type='@' name='aKey' index='0'/>
|
747
|
+
<arg declared_type='NSString*' type='@' name='anAttribute' index='1'/>
|
748
|
+
<arg declared_type='id' type='@' name='aValue' index='2'/>
|
749
|
+
<arg declared_type='NSFMatchType' type='i' name='match' index='3'/>
|
750
750
|
<retval declared_type='NSString*' type='@'/>
|
751
751
|
</method>
|
752
|
-
<method
|
753
|
-
<arg
|
752
|
+
<method class_method='true' selector='_prepareSQLQueryStringWithKeys:'>
|
753
|
+
<arg declared_type='NSArray*' type='@' name='someKeys' index='0'/>
|
754
754
|
<retval declared_type='NSString*' type='@'/>
|
755
755
|
</method>
|
756
756
|
<method selector='_preparedSQL'>
|
757
757
|
<retval declared_type='NSString*' type='@'/>
|
758
758
|
</method>
|
759
|
-
<method selector='_querySegmentForAttributeColumnWithValue:matching:valueColumnWithValue:'
|
760
|
-
<arg
|
761
|
-
<arg
|
762
|
-
<arg
|
759
|
+
<method class_method='true' selector='_querySegmentForAttributeColumnWithValue:matching:valueColumnWithValue:'>
|
760
|
+
<arg declared_type='id' type='@' name='anAttributeValue' index='0'/>
|
761
|
+
<arg declared_type='NSFMatchType' type='i' name='match' index='1'/>
|
762
|
+
<arg declared_type='id' type='@' name='aValue' index='2'/>
|
763
763
|
<retval declared_type='NSString*' type='@'/>
|
764
764
|
</method>
|
765
|
-
<method selector='_querySegmentForColumn:value:matching:'
|
766
|
-
<arg
|
767
|
-
<arg
|
768
|
-
<arg
|
765
|
+
<method class_method='true' selector='_querySegmentForColumn:value:matching:'>
|
766
|
+
<arg declared_type='NSString*' type='@' name='aColumn' index='0'/>
|
767
|
+
<arg declared_type='id' type='@' name='aValue' index='1'/>
|
768
|
+
<arg declared_type='NSFMatchType' type='i' name='match' index='2'/>
|
769
769
|
<retval declared_type='NSString*' type='@'/>
|
770
770
|
</method>
|
771
|
-
<method selector='_quoteStrings:joiningWithDelimiter:'
|
772
|
-
<arg
|
773
|
-
<arg
|
771
|
+
<method class_method='true' selector='_quoteStrings:joiningWithDelimiter:'>
|
772
|
+
<arg declared_type='NSArray*' type='@' name='strings' index='0'/>
|
773
|
+
<arg declared_type='NSString*' type='@' name='delimiter' index='1'/>
|
774
774
|
<retval declared_type='NSString*' type='@'/>
|
775
775
|
</method>
|
776
776
|
<method selector='_resultsFromSQLQuery:'>
|
777
|
-
<arg
|
777
|
+
<arg declared_type='NSString*' type='@' name='theSQLStatement' index='0'/>
|
778
778
|
<retval declared_type='NSArray*' type='@'/>
|
779
779
|
</method>
|
780
780
|
<method selector='_retrieveDataAdded:calendarDate:error:'>
|
781
|
-
<arg
|
782
|
-
<arg
|
783
|
-
<arg
|
781
|
+
<arg declared_type='NSFDateMatchType' type='i' name='aDateMatch' index='0'/>
|
782
|
+
<arg declared_type='NSDate*' type='@' name='aDate' index='1'/>
|
783
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='2'/>
|
784
784
|
<retval declared_type='NSDictionary*' type='@'/>
|
785
785
|
</method>
|
786
786
|
<method selector='_retrieveDataWithError:'>
|
787
|
-
<arg
|
787
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='0'/>
|
788
788
|
<retval declared_type='NSDictionary*' type='@'/>
|
789
789
|
</method>
|
790
790
|
<method selector='_sortResultsIfApplicable:returnType:'>
|
791
|
-
<arg
|
792
|
-
<arg
|
791
|
+
<arg declared_type='NSDictionary*' type='@' name='results' index='0'/>
|
792
|
+
<arg declared_type='NSFReturnType' type='i' name='theReturnType' index='1'/>
|
793
793
|
<retval declared_type='id' type='@'/>
|
794
794
|
</method>
|
795
795
|
<method selector='aggregateOperation:onAttribute:'>
|
796
|
-
<arg
|
797
|
-
<arg
|
796
|
+
<arg declared_type='NSFAggregateFunctionType' type='i' name='theFunctionType' index='0'/>
|
797
|
+
<arg declared_type='NSString*' type='@' name='theAttribute' index='1'/>
|
798
798
|
<retval declared_type='NSNumber*' type='@'/>
|
799
799
|
</method>
|
800
800
|
<method selector='attribute'>
|
@@ -804,17 +804,17 @@
|
|
804
804
|
<retval declared_type='NSArray*' type='@'/>
|
805
805
|
</method>
|
806
806
|
<method selector='executeSQL:'>
|
807
|
-
<arg
|
807
|
+
<arg declared_type='NSString*' type='@' name='theSQLStatement' index='0'/>
|
808
808
|
<retval declared_type='NSFNanoResult*' type='@'/>
|
809
809
|
</method>
|
810
810
|
<method selector='executeSQL:returnType:error:'>
|
811
|
-
<arg
|
812
|
-
<arg
|
813
|
-
<arg
|
811
|
+
<arg declared_type='NSString*' type='@' name='theSQLStatement' index='0'/>
|
812
|
+
<arg declared_type='NSFReturnType' type='i' name='theReturnType' index='1'/>
|
813
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='2'/>
|
814
814
|
<retval declared_type='id' type='@'/>
|
815
815
|
</method>
|
816
816
|
<method selector='explainSQL:'>
|
817
|
-
<arg
|
817
|
+
<arg declared_type='NSString*' type='@' name='theSQLStatement' index='0'/>
|
818
818
|
<retval declared_type='NSFNanoResult*' type='@'/>
|
819
819
|
</method>
|
820
820
|
<method selector='expressions'>
|
@@ -827,7 +827,7 @@
|
|
827
827
|
<retval declared_type='BOOL' type='B'/>
|
828
828
|
</method>
|
829
829
|
<method selector='initWithStore:'>
|
830
|
-
<arg
|
830
|
+
<arg declared_type='NSFNanoStore*' type='@' name='theNanoStore' index='0'/>
|
831
831
|
<retval declared_type='id' type='@'/>
|
832
832
|
</method>
|
833
833
|
<method selector='key'>
|
@@ -843,59 +843,59 @@
|
|
843
843
|
<retval declared_type='void' type='v'/>
|
844
844
|
</method>
|
845
845
|
<method selector='searchObjectsAdded:date:returnType:error:'>
|
846
|
-
<arg
|
847
|
-
<arg
|
848
|
-
<arg
|
849
|
-
<arg
|
846
|
+
<arg declared_type='NSFDateMatchType' type='i' name='theDateMatch' index='0'/>
|
847
|
+
<arg declared_type='NSDate*' type='@' name='theDate' index='1'/>
|
848
|
+
<arg declared_type='NSFReturnType' type='i' name='theReturnType' index='2'/>
|
849
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='3'/>
|
850
850
|
<retval declared_type='id' type='@'/>
|
851
851
|
</method>
|
852
852
|
<method selector='searchObjectsWithReturnType:error:'>
|
853
|
-
<arg
|
854
|
-
<arg
|
853
|
+
<arg declared_type='NSFReturnType' type='i' name='theReturnType' index='0'/>
|
854
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='1'/>
|
855
855
|
<retval declared_type='id' type='@'/>
|
856
856
|
</method>
|
857
|
-
<method
|
858
|
-
<arg
|
857
|
+
<method class_method='true' selector='searchWithStore:'>
|
858
|
+
<arg declared_type='NSFNanoStore*' type='@' name='theNanoStore' index='0'/>
|
859
859
|
<retval declared_type='NSFNanoSearch*' type='@'/>
|
860
860
|
</method>
|
861
861
|
<method selector='setAttribute:'>
|
862
|
-
<arg
|
862
|
+
<arg declared_type='NSString*' type='@' name='attribute' index='0'/>
|
863
863
|
<retval declared_type='void' type='v'/>
|
864
864
|
</method>
|
865
865
|
<method selector='setAttributesToBeReturned:'>
|
866
|
-
<arg
|
866
|
+
<arg declared_type='NSArray*' type='@' name='attributesToBeReturned' index='0'/>
|
867
867
|
<retval declared_type='void' type='v'/>
|
868
868
|
</method>
|
869
869
|
<method selector='setExpressions:'>
|
870
|
-
<arg
|
870
|
+
<arg declared_type='NSArray*' type='@' name='expressions' index='0'/>
|
871
871
|
<retval declared_type='void' type='v'/>
|
872
872
|
</method>
|
873
873
|
<method selector='setFilterClass:'>
|
874
|
-
<arg
|
874
|
+
<arg declared_type='NSString*' type='@' name='filterClass' index='0'/>
|
875
875
|
<retval declared_type='void' type='v'/>
|
876
876
|
</method>
|
877
877
|
<method selector='setGroupValues:'>
|
878
|
-
<arg
|
878
|
+
<arg declared_type='BOOL' type='B' name='groupValues' index='0'/>
|
879
879
|
<retval declared_type='void' type='v'/>
|
880
880
|
</method>
|
881
881
|
<method selector='setKey:'>
|
882
|
-
<arg
|
882
|
+
<arg declared_type='NSString*' type='@' name='key' index='0'/>
|
883
883
|
<retval declared_type='void' type='v'/>
|
884
884
|
</method>
|
885
885
|
<method selector='setMatch:'>
|
886
|
-
<arg
|
886
|
+
<arg declared_type='NSFMatchType' type='i' name='match' index='0'/>
|
887
887
|
<retval declared_type='void' type='v'/>
|
888
888
|
</method>
|
889
889
|
<method selector='setNanoStore:'>
|
890
|
-
<arg
|
890
|
+
<arg declared_type='NSFNanoStore*' type='@' name='nanoStore' index='0'/>
|
891
891
|
<retval declared_type='void' type='v'/>
|
892
892
|
</method>
|
893
893
|
<method selector='setSort:'>
|
894
|
-
<arg
|
894
|
+
<arg declared_type='NSArray*' type='@' name='sort' index='0'/>
|
895
895
|
<retval declared_type='void' type='v'/>
|
896
896
|
</method>
|
897
897
|
<method selector='setValue:'>
|
898
|
-
<arg
|
898
|
+
<arg declared_type='id' type='@' name='value' index='0'/>
|
899
899
|
<retval declared_type='void' type='v'/>
|
900
900
|
</method>
|
901
901
|
<method selector='sort'>
|
@@ -916,191 +916,191 @@
|
|
916
916
|
<retval declared_type='NSString*' type='@'/>
|
917
917
|
</method>
|
918
918
|
<method selector='initWithAttribute:ascending:'>
|
919
|
-
<arg
|
920
|
-
<arg
|
919
|
+
<arg declared_type='NSString*' type='@' name='theAttribute' index='0'/>
|
920
|
+
<arg declared_type='BOOL' type='B' name='ascending' index='1'/>
|
921
921
|
<retval declared_type='id' type='@'/>
|
922
922
|
</method>
|
923
923
|
<method selector='isAscending'>
|
924
924
|
<retval declared_type='BOOL' type='B'/>
|
925
925
|
</method>
|
926
|
-
<method selector='sortDescriptorWithAttribute:ascending:'
|
927
|
-
<arg
|
928
|
-
<arg
|
926
|
+
<method class_method='true' selector='sortDescriptorWithAttribute:ascending:'>
|
927
|
+
<arg declared_type='NSString*' type='@' name='theAttribute' index='0'/>
|
928
|
+
<arg declared_type='BOOL' type='B' name='ascending' index='1'/>
|
929
929
|
<retval declared_type='NSFNanoSortDescriptor*' type='@'/>
|
930
930
|
</method>
|
931
931
|
</class>
|
932
932
|
<class name='NSFNanoStore'>
|
933
933
|
<method selector='_NSFDatatypeOfObject:'>
|
934
|
-
<arg
|
934
|
+
<arg declared_type='id' type='@' name='value' index='0'/>
|
935
935
|
<retval declared_type='NSFNanoDatatype' type='i'/>
|
936
936
|
</method>
|
937
937
|
<method selector='__storeDictionaries:forKeys:error:'>
|
938
|
-
<arg
|
939
|
-
<arg
|
940
|
-
<arg
|
938
|
+
<arg declared_type='NSArray*' type='@' name='someObjects' index='0'/>
|
939
|
+
<arg declared_type='NSArray*' type='@' name='someKeys' index='1'/>
|
940
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='2'/>
|
941
941
|
<retval declared_type='BOOL' type='B'/>
|
942
942
|
</method>
|
943
943
|
<method selector='_addObjectsFromArray:forceSave:error:'>
|
944
|
-
<arg
|
945
|
-
<arg
|
946
|
-
<arg
|
944
|
+
<arg declared_type='NSArray*' type='@' name='someObjects' index='0'/>
|
945
|
+
<arg declared_type='BOOL' type='B' name='forceSave' index='1'/>
|
946
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='2'/>
|
947
947
|
<retval declared_type='BOOL' type='B'/>
|
948
948
|
</method>
|
949
949
|
<method selector='_backupFileStoreToDirectoryAtPath:extension:compact:error:'>
|
950
|
-
<arg
|
951
|
-
<arg
|
952
|
-
<arg
|
953
|
-
<arg
|
950
|
+
<arg declared_type='NSString*' type='@' name='aPath' index='0'/>
|
951
|
+
<arg declared_type='NSString*' type='@' name='anExtension' index='1'/>
|
952
|
+
<arg declared_type='BOOL' type='B' name='flag' index='2'/>
|
953
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='3'/>
|
954
954
|
<retval declared_type='BOOL' type='B'/>
|
955
955
|
</method>
|
956
956
|
<method selector='_backupMemoryStoreToDirectoryAtPath:extension:compact:error:'>
|
957
|
-
<arg
|
958
|
-
<arg
|
959
|
-
<arg
|
960
|
-
<arg
|
957
|
+
<arg declared_type='NSString*' type='@' name='aPath' index='0'/>
|
958
|
+
<arg declared_type='NSString*' type='@' name='anExtension' index='1'/>
|
959
|
+
<arg declared_type='BOOL' type='B' name='flag' index='2'/>
|
960
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='3'/>
|
961
961
|
<retval declared_type='BOOL' type='B'/>
|
962
962
|
</method>
|
963
963
|
<method selector='_bindValue:forAttribute:parameterNumber:usingSQLite3Statement:'>
|
964
|
-
<arg
|
965
|
-
<arg
|
966
|
-
<arg
|
967
|
-
<arg
|
964
|
+
<arg declared_type='id' type='@' name='aValue' index='0'/>
|
965
|
+
<arg declared_type='NSString*' type='@' name='anAttribute' index='1'/>
|
966
|
+
<arg declared_type='NSInteger' type='i' name='aParamNumber' index='2'/>
|
967
|
+
<arg declared_type='sqlite3_stmt*' type='^{sqlite3_stmt=}' name='aStatement' index='3'/>
|
968
968
|
<retval declared_type='BOOL' type='B'/>
|
969
969
|
</method>
|
970
|
-
<method
|
971
|
-
<arg
|
970
|
+
<method class_method='true' selector='_calendarDateToString:'>
|
971
|
+
<arg declared_type='NSDate*' type='@' name='aDate' index='0'/>
|
972
972
|
<retval declared_type='NSString*' type='@'/>
|
973
973
|
</method>
|
974
974
|
<method selector='_checkNanoStoreIsReadyAndReturnError:'>
|
975
|
-
<arg
|
975
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='0'/>
|
976
976
|
<retval declared_type='BOOL' type='B'/>
|
977
977
|
</method>
|
978
|
-
<method
|
978
|
+
<method class_method='true' selector='_createAndOpenDebugDatabase'>
|
979
979
|
<retval declared_type='NSFNanoStore*' type='@'/>
|
980
980
|
</method>
|
981
|
-
<method
|
981
|
+
<method class_method='true' selector='_defaultTestData'>
|
982
982
|
<retval declared_type='NSDictionary*' type='@'/>
|
983
983
|
</method>
|
984
984
|
<method selector='_executeSQL:'>
|
985
|
-
<arg
|
985
|
+
<arg declared_type='NSString*' type='@' name='theSQLStatement' index='0'/>
|
986
986
|
<retval declared_type='NSFNanoResult*' type='@'/>
|
987
987
|
</method>
|
988
988
|
<method selector='_executeSQLite3StepUsingSQLite3Statement:'>
|
989
|
-
<arg
|
989
|
+
<arg declared_type='sqlite3_stmt*' type='^{sqlite3_stmt=}' name='aStatement' index='0'/>
|
990
990
|
<retval declared_type='void' type='v'/>
|
991
991
|
</method>
|
992
992
|
<method selector='_flattenCollection:keyPath:keys:values:'>
|
993
|
-
<arg
|
994
|
-
<arg
|
995
|
-
<arg
|
996
|
-
<arg
|
993
|
+
<arg declared_type='id' type='@' name='someObject' index='0'/>
|
994
|
+
<arg declared_type='NSMutableArray**' type='^@' name='aKeyPath' index='1'/>
|
995
|
+
<arg declared_type='NSMutableArray**' type='^@' name='someKeys' index='2'/>
|
996
|
+
<arg declared_type='NSMutableArray**' type='^@' name='someValues' index='3'/>
|
997
997
|
<retval declared_type='void' type='v'/>
|
998
998
|
</method>
|
999
999
|
<method selector='_flattenCollection:keys:values:'>
|
1000
|
-
<arg
|
1001
|
-
<arg
|
1002
|
-
<arg
|
1000
|
+
<arg declared_type='NSDictionary*' type='@' name='info' index='0'/>
|
1001
|
+
<arg declared_type='NSMutableArray**' type='^@' name='flattenedKeys' index='1'/>
|
1002
|
+
<arg declared_type='NSMutableArray**' type='^@' name='flattenedValues' index='2'/>
|
1003
1003
|
<retval declared_type='void' type='v'/>
|
1004
1004
|
</method>
|
1005
1005
|
<method selector='_initializePreparedStatementsWithError:'>
|
1006
|
-
<arg
|
1006
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='0'/>
|
1007
1007
|
<retval declared_type='BOOL' type='B'/>
|
1008
1008
|
</method>
|
1009
1009
|
<method selector='_isOurTransaction'>
|
1010
1010
|
<retval declared_type='BOOL' type='B'/>
|
1011
1011
|
</method>
|
1012
1012
|
<method selector='_nestedDescriptionWithPrefixedSpace:'>
|
1013
|
-
<arg
|
1013
|
+
<arg declared_type='NSString*' type='@' name='prefixedSpace' index='0'/>
|
1014
1014
|
<retval declared_type='NSString*' type='@'/>
|
1015
1015
|
</method>
|
1016
1016
|
<method selector='_prepareSQLite3Statement:theSQLStatement:'>
|
1017
|
-
<arg
|
1018
|
-
<arg
|
1017
|
+
<arg declared_type='sqlite3_stmt**' type='^^{sqlite3_stmt}' name='aStatement' index='0'/>
|
1018
|
+
<arg declared_type='NSString*' type='@' name='aSQLQuery' index='1'/>
|
1019
1019
|
<retval declared_type='BOOL' type='B'/>
|
1020
1020
|
</method>
|
1021
1021
|
<method selector='_releasePreparedStatements'>
|
1022
1022
|
<retval declared_type='void' type='v'/>
|
1023
1023
|
</method>
|
1024
1024
|
<method selector='_setIsOurTransaction:'>
|
1025
|
-
<arg
|
1025
|
+
<arg declared_type='BOOL' type='B' name='value' index='0'/>
|
1026
1026
|
<retval declared_type='void' type='v'/>
|
1027
1027
|
</method>
|
1028
1028
|
<method selector='_setupCachingSchema'>
|
1029
1029
|
<retval declared_type='BOOL' type='B'/>
|
1030
1030
|
</method>
|
1031
1031
|
<method selector='_storeDictionary:forKey:forClassNamed:usingSQLite3Statement:error:'>
|
1032
|
-
<arg
|
1033
|
-
<arg
|
1034
|
-
<arg
|
1035
|
-
<arg
|
1036
|
-
<arg
|
1032
|
+
<arg declared_type='NSDictionary*' type='@' name='someInfo' index='0'/>
|
1033
|
+
<arg declared_type='NSString*' type='@' name='aKey' index='1'/>
|
1034
|
+
<arg declared_type='NSString*' type='@' name='classType' index='2'/>
|
1035
|
+
<arg declared_type='sqlite3_stmt*' type='^{sqlite3_stmt=}' name='storeValuesStatement' index='3'/>
|
1036
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='4'/>
|
1037
1037
|
<retval declared_type='BOOL' type='B'/>
|
1038
1038
|
</method>
|
1039
1039
|
<method selector='_stringFromValue:'>
|
1040
|
-
<arg
|
1040
|
+
<arg declared_type='id' type='@' name='aValue' index='0'/>
|
1041
1041
|
<retval declared_type='NSString*' type='@'/>
|
1042
1042
|
</method>
|
1043
1043
|
<method selector='addObject:error:'>
|
1044
|
-
<arg
|
1045
|
-
<arg
|
1044
|
+
<arg declared_type='id' type='@' name='theObject' index='0'/>
|
1045
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='1'/>
|
1046
1046
|
<retval declared_type='BOOL' type='B'/>
|
1047
1047
|
</method>
|
1048
1048
|
<method selector='addObjectsFromArray:error:'>
|
1049
|
-
<arg
|
1050
|
-
<arg
|
1049
|
+
<arg declared_type='NSArray*' type='@' name='theObjects' index='0'/>
|
1050
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='1'/>
|
1051
1051
|
<retval declared_type='BOOL' type='B'/>
|
1052
1052
|
</method>
|
1053
1053
|
<method selector='allObjectClasses'>
|
1054
1054
|
<retval declared_type='NSArray*' type='@'/>
|
1055
1055
|
</method>
|
1056
1056
|
<method selector='bagWithName:'>
|
1057
|
-
<arg
|
1057
|
+
<arg declared_type='NSString*' type='@' name='theName' index='0'/>
|
1058
1058
|
<retval declared_type='NSFNanoBag*' type='@'/>
|
1059
1059
|
</method>
|
1060
1060
|
<method selector='bags'>
|
1061
1061
|
<retval declared_type='NSArray*' type='@'/>
|
1062
1062
|
</method>
|
1063
1063
|
<method selector='bagsContainingObjectWithKey:'>
|
1064
|
-
<arg
|
1064
|
+
<arg declared_type='NSString*' type='@' name='theKey' index='0'/>
|
1065
1065
|
<retval declared_type='NSArray*' type='@'/>
|
1066
1066
|
</method>
|
1067
1067
|
<method selector='bagsWithKeysInArray:'>
|
1068
|
-
<arg
|
1068
|
+
<arg declared_type='NSArray*' type='@' name='theKeys' index='0'/>
|
1069
1069
|
<retval declared_type='NSArray*' type='@'/>
|
1070
1070
|
</method>
|
1071
1071
|
<method selector='beginTransactionAndReturnError:'>
|
1072
|
-
<arg
|
1072
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='0'/>
|
1073
1073
|
<retval declared_type='BOOL' type='B'/>
|
1074
1074
|
</method>
|
1075
1075
|
<method selector='clearIndexesAndReturnError:'>
|
1076
|
-
<arg
|
1076
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='0'/>
|
1077
1077
|
<retval declared_type='BOOL' type='B'/>
|
1078
1078
|
</method>
|
1079
1079
|
<method selector='closeWithError:'>
|
1080
|
-
<arg
|
1080
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='0'/>
|
1081
1081
|
<retval declared_type='BOOL' type='B'/>
|
1082
1082
|
</method>
|
1083
1083
|
<method selector='commitTransactionAndReturnError:'>
|
1084
|
-
<arg
|
1084
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='0'/>
|
1085
1085
|
<retval declared_type='BOOL' type='B'/>
|
1086
1086
|
</method>
|
1087
1087
|
<method selector='compactStoreAndReturnError:'>
|
1088
|
-
<arg
|
1088
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='0'/>
|
1089
1089
|
<retval declared_type='BOOL' type='B'/>
|
1090
1090
|
</method>
|
1091
1091
|
<method selector='countOfObjectsOfClassNamed:'>
|
1092
|
-
<arg
|
1092
|
+
<arg declared_type='NSString*' type='@' name='theClassName' index='0'/>
|
1093
1093
|
<retval declared_type='long long' type='q'/>
|
1094
1094
|
</method>
|
1095
|
-
<method selector='createAndOpenStoreWithType:path:error:'
|
1096
|
-
<arg
|
1097
|
-
<arg
|
1098
|
-
<arg
|
1095
|
+
<method class_method='true' selector='createAndOpenStoreWithType:path:error:'>
|
1096
|
+
<arg declared_type='NSFNanoStoreType' type='i' name='theType' index='0'/>
|
1097
|
+
<arg declared_type='NSString*' type='@' name='thePath' index='1'/>
|
1098
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='2'/>
|
1099
1099
|
<retval declared_type='NSFNanoStore*' type='@'/>
|
1100
1100
|
</method>
|
1101
|
-
<method selector='createStoreWithType:path:'
|
1102
|
-
<arg
|
1103
|
-
<arg
|
1101
|
+
<method class_method='true' selector='createStoreWithType:path:'>
|
1102
|
+
<arg declared_type='NSFNanoStoreType' type='i' name='theType' index='0'/>
|
1103
|
+
<arg declared_type='NSString*' type='@' name='thePath' index='1'/>
|
1104
1104
|
<retval declared_type='NSFNanoStore*' type='@'/>
|
1105
1105
|
</method>
|
1106
1106
|
<method selector='description'>
|
@@ -1116,8 +1116,8 @@
|
|
1116
1116
|
<retval declared_type='BOOL' type='B'/>
|
1117
1117
|
</method>
|
1118
1118
|
<method selector='initStoreWithType:path:'>
|
1119
|
-
<arg
|
1120
|
-
<arg
|
1119
|
+
<arg declared_type='NSFNanoStoreType' type='i' name='theType' index='0'/>
|
1120
|
+
<arg declared_type='NSString*' type='@' name='thePath' index='1'/>
|
1121
1121
|
<retval declared_type='id' type='@'/>
|
1122
1122
|
</method>
|
1123
1123
|
<method selector='isClosed'>
|
@@ -1130,80 +1130,80 @@
|
|
1130
1130
|
<retval declared_type='NSFNanoEngine*' type='@'/>
|
1131
1131
|
</method>
|
1132
1132
|
<method selector='objectsOfClassNamed:'>
|
1133
|
-
<arg
|
1133
|
+
<arg declared_type='NSString*' type='@' name='theClassName' index='0'/>
|
1134
1134
|
<retval declared_type='NSArray*' type='@'/>
|
1135
1135
|
</method>
|
1136
1136
|
<method selector='objectsOfClassNamed:usingSortDescriptors:'>
|
1137
|
-
<arg
|
1138
|
-
<arg
|
1137
|
+
<arg declared_type='NSString*' type='@' name='theClassName' index='0'/>
|
1138
|
+
<arg declared_type='NSArray*' type='@' name='theSortDescriptors' index='1'/>
|
1139
1139
|
<retval declared_type='NSArray*' type='@'/>
|
1140
1140
|
</method>
|
1141
1141
|
<method selector='objectsWithKeysInArray:'>
|
1142
|
-
<arg
|
1142
|
+
<arg declared_type='NSArray*' type='@' name='theKeys' index='0'/>
|
1143
1143
|
<retval declared_type='NSArray*' type='@'/>
|
1144
1144
|
</method>
|
1145
1145
|
<method selector='openWithError:'>
|
1146
|
-
<arg
|
1146
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='0'/>
|
1147
1147
|
<retval declared_type='BOOL' type='B'/>
|
1148
1148
|
</method>
|
1149
1149
|
<method selector='rebuildIndexesAndReturnError:'>
|
1150
|
-
<arg
|
1150
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='0'/>
|
1151
1151
|
<retval declared_type='BOOL' type='B'/>
|
1152
1152
|
</method>
|
1153
1153
|
<method selector='removeAllObjectsFromStoreAndReturnError:'>
|
1154
|
-
<arg
|
1154
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='0'/>
|
1155
1155
|
<retval declared_type='BOOL' type='B'/>
|
1156
1156
|
</method>
|
1157
1157
|
<method selector='removeObject:error:'>
|
1158
|
-
<arg
|
1159
|
-
<arg
|
1158
|
+
<arg declared_type='id' type='@' name='theObject' index='0'/>
|
1159
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='1'/>
|
1160
1160
|
<retval declared_type='BOOL' type='B'/>
|
1161
1161
|
</method>
|
1162
1162
|
<method selector='removeObjectsInArray:error:'>
|
1163
|
-
<arg
|
1164
|
-
<arg
|
1163
|
+
<arg declared_type='NSArray*' type='@' name='theObjects' index='0'/>
|
1164
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='1'/>
|
1165
1165
|
<retval declared_type='BOOL' type='B'/>
|
1166
1166
|
</method>
|
1167
1167
|
<method selector='removeObjectsWithKeysInArray:error:'>
|
1168
|
-
<arg
|
1169
|
-
<arg
|
1168
|
+
<arg declared_type='NSArray*' type='@' name='theKeys' index='0'/>
|
1169
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='1'/>
|
1170
1170
|
<retval declared_type='BOOL' type='B'/>
|
1171
1171
|
</method>
|
1172
1172
|
<method selector='rollbackTransactionAndReturnError:'>
|
1173
|
-
<arg
|
1173
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='0'/>
|
1174
1174
|
<retval declared_type='BOOL' type='B'/>
|
1175
1175
|
</method>
|
1176
1176
|
<method selector='saveInterval'>
|
1177
1177
|
<retval declared_type='NSUInteger' type='I'/>
|
1178
1178
|
</method>
|
1179
1179
|
<method selector='saveStoreAndReturnError:'>
|
1180
|
-
<arg
|
1180
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='0'/>
|
1181
1181
|
<retval declared_type='BOOL' type='B'/>
|
1182
1182
|
</method>
|
1183
1183
|
<method selector='saveStoreToDirectoryAtPath:compactDatabase:error:'>
|
1184
|
-
<arg
|
1185
|
-
<arg
|
1186
|
-
<arg
|
1184
|
+
<arg declared_type='NSString*' type='@' name='thePath' index='0'/>
|
1185
|
+
<arg declared_type='BOOL' type='B' name='shouldCompact' index='1'/>
|
1186
|
+
<arg declared_type='NSError**' type='^@' name='outError' type_modifier='o' index='2'/>
|
1187
1187
|
<retval declared_type='BOOL' type='B'/>
|
1188
1188
|
</method>
|
1189
1189
|
<method selector='setNanoEngineProcessingMode:'>
|
1190
|
-
<arg
|
1190
|
+
<arg declared_type='NSFEngineProcessingMode' type='i' name='nanoEngineProcessingMode' index='0'/>
|
1191
1191
|
<retval declared_type='void' type='v'/>
|
1192
1192
|
</method>
|
1193
1193
|
<method selector='setNanoStoreEngine:'>
|
1194
|
-
<arg
|
1194
|
+
<arg declared_type='NSFNanoEngine*' type='@' name='nanoStoreEngine' index='0'/>
|
1195
1195
|
<retval declared_type='void' type='v'/>
|
1196
1196
|
</method>
|
1197
1197
|
<method selector='setSaveInterval:'>
|
1198
|
-
<arg
|
1198
|
+
<arg declared_type='NSUInteger' type='I' name='saveInterval' index='0'/>
|
1199
1199
|
<retval declared_type='void' type='v'/>
|
1200
1200
|
</method>
|
1201
1201
|
</class>
|
1202
1202
|
<class name='NSObject'>
|
1203
1203
|
<method selector='initNanoObjectFromDictionaryRepresentation:forKey:store:'>
|
1204
|
-
<arg
|
1205
|
-
<arg
|
1206
|
-
<arg
|
1204
|
+
<arg declared_type='NSDictionary*' type='@' name='theDictionary' index='0'/>
|
1205
|
+
<arg declared_type='NSString*' type='@' name='aKey' index='1'/>
|
1206
|
+
<arg declared_type='NSFNanoStore*' type='@' name='theStore' index='2'/>
|
1207
1207
|
<retval declared_type='id' type='@'/>
|
1208
1208
|
</method>
|
1209
1209
|
<method selector='nanoObjectDictionaryRepresentation'>
|
@@ -1217,19 +1217,19 @@
|
|
1217
1217
|
</method>
|
1218
1218
|
</class>
|
1219
1219
|
<informal_protocol name='NSFNanoObjectProtocol'>
|
1220
|
-
<method
|
1221
|
-
<arg
|
1222
|
-
<arg
|
1223
|
-
<arg
|
1220
|
+
<method type='@20@0:4@8@12@16' selector='initNanoObjectFromDictionaryRepresentation:forKey:store:'>
|
1221
|
+
<arg declared_type='NSDictionary*' type='@' name='theDictionary' index='0'/>
|
1222
|
+
<arg declared_type='NSString*' type='@' name='aKey' index='1'/>
|
1223
|
+
<arg declared_type='NSFNanoStore*' type='@' name='theStore' index='2'/>
|
1224
1224
|
<retval declared_type='id' type='@'/>
|
1225
1225
|
</method>
|
1226
|
-
<method
|
1226
|
+
<method type='@8@0:4' selector='nanoObjectDictionaryRepresentation'>
|
1227
1227
|
<retval declared_type='NSDictionary*' type='@'/>
|
1228
1228
|
</method>
|
1229
|
-
<method
|
1229
|
+
<method type='@8@0:4' selector='nanoObjectKey'>
|
1230
1230
|
<retval declared_type='NSString*' type='@'/>
|
1231
1231
|
</method>
|
1232
|
-
<method
|
1232
|
+
<method type='@8@0:4' selector='rootObject'>
|
1233
1233
|
<retval declared_type='id' type='@'/>
|
1234
1234
|
</method>
|
1235
1235
|
</informal_protocol>
|