motion-firebase 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. data/README.md +5 -5
  2. data/lib/firebase/fdata_snapshot.rb +19 -0
  3. data/lib/firebase/firebase.rb +1 -0
  4. data/lib/firebase/version.rb +1 -1
  5. data/lib/firebase-auth/{firebase_auth_client.rb → firebase_simple_login.rb} +2 -2
  6. data/lib/motion-firebase-auth.rb +5 -2
  7. data/lib/vendor/FacebookSDK.framework/FacebookSDK.framework.bridgesupport +2646 -0
  8. data/lib/vendor/Firebase.framework/Firebase +0 -0
  9. data/lib/vendor/Firebase.framework/Firebase.framework.bridgesupport +552 -0
  10. data/lib/vendor/Firebase.framework/Versions/A/Firebase +0 -0
  11. data/lib/vendor/Firebase.framework/Versions/A/Headers/FDataSnapshot.h +4 -4
  12. data/lib/vendor/Firebase.framework/Versions/A/Headers/FEventType.h +1 -1
  13. data/lib/vendor/Firebase.framework/Versions/A/Headers/FMutableData.h +9 -4
  14. data/lib/vendor/Firebase.framework/Versions/A/Headers/Firebase.h +89 -64
  15. data/lib/vendor/FirebaseSimpleLogin.framework/FirebaseSimpleLogin +0 -0
  16. data/lib/vendor/FirebaseSimpleLogin.framework/FirebaseSimpleLogin.framework.bridgesupport +154 -0
  17. data/lib/vendor/FirebaseSimpleLogin.framework/Versions/A/FirebaseSimpleLogin +0 -0
  18. data/lib/vendor/{FirebaseAuthClient.framework → FirebaseSimpleLogin.framework/Versions/A}/Headers/FATypes.h +4 -2
  19. data/lib/vendor/{FirebaseAuthClient.framework → FirebaseSimpleLogin.framework/Versions/A}/Headers/FAUser.h +0 -0
  20. data/lib/vendor/{FirebaseAuthClient.framework/Headers/FirebaseAuthClient.h → FirebaseSimpleLogin.framework/Versions/A/Headers/FirebaseSimpleLogin.h} +5 -4
  21. data/motion-firebase.gemspec +1 -1
  22. metadata +63 -86
  23. data/.gitignore +0 -18
  24. data/.travis.yml +0 -2
  25. data/Gemfile +0 -6
  26. data/Gemfile.lock +0 -28
  27. data/Rakefile +0 -11
  28. data/app/app_delegate.rb +0 -156
  29. data/lib/vendor/Firebase.framework/Headers/FDataSnapshot.h +0 -146
  30. data/lib/vendor/Firebase.framework/Headers/FEventType.h +0 -43
  31. data/lib/vendor/Firebase.framework/Headers/FMutableData.h +0 -134
  32. data/lib/vendor/Firebase.framework/Headers/FQuery.h +0 -229
  33. data/lib/vendor/Firebase.framework/Headers/FTransactionResult.h +0 -50
  34. data/lib/vendor/Firebase.framework/Headers/Firebase.h +0 -629
  35. data/lib/vendor/Firebase.framework/Versions/Current/Firebase +0 -0
  36. data/lib/vendor/Firebase.framework/Versions/Current/Headers/FDataSnapshot.h +0 -146
  37. data/lib/vendor/Firebase.framework/Versions/Current/Headers/FEventType.h +0 -43
  38. data/lib/vendor/Firebase.framework/Versions/Current/Headers/FMutableData.h +0 -134
  39. data/lib/vendor/Firebase.framework/Versions/Current/Headers/FQuery.h +0 -229
  40. data/lib/vendor/Firebase.framework/Versions/Current/Headers/FTransactionResult.h +0 -50
  41. data/lib/vendor/Firebase.framework/Versions/Current/Headers/Firebase.h +0 -629
  42. data/lib/vendor/FirebaseAuthClient.framework/FirebaseAuthClient +0 -0
  43. data/lib/vendor/FirebaseAuthClient.framework/Versions/A/FirebaseAuthClient +0 -0
  44. data/lib/vendor/FirebaseAuthClient.framework/Versions/A/Headers/FATypes.h +0 -48
  45. data/lib/vendor/FirebaseAuthClient.framework/Versions/A/Headers/FAUser.h +0 -85
  46. data/lib/vendor/FirebaseAuthClient.framework/Versions/A/Headers/FirebaseAuthClient.h +0 -149
  47. data/lib/vendor/FirebaseAuthClient.framework/Versions/Current/FirebaseAuthClient +0 -0
  48. data/lib/vendor/FirebaseAuthClient.framework/Versions/Current/Headers/FATypes.h +0 -48
  49. data/lib/vendor/FirebaseAuthClient.framework/Versions/Current/Headers/FAUser.h +0 -85
  50. data/lib/vendor/FirebaseAuthClient.framework/Versions/Current/Headers/FirebaseAuthClient.h +0 -149
  51. data/resources/Default-568h@2x.png +0 -0
@@ -1,43 +0,0 @@
1
- /*
2
- * Firebase iOS Client Library
3
- *
4
- * Copyright © 2013 Firebase - All Rights Reserved
5
- * https://www.firebase.com
6
- *
7
- * Redistribution and use in source and binary forms, with or without
8
- * modification, are permitted provided that the following conditions are met:
9
- *
10
- * 1. Redistributions of source code must retain the above copyright notice, this
11
- * list of conditions and the following disclaimer.
12
- *
13
- * 2. Redistributions in binaryform must reproduce the above copyright notice,
14
- * this list of conditions and the following disclaimer in the documentation
15
- * and/or other materials provided with the distribution.
16
- *
17
- * THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR
18
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
20
- * EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT,
21
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
24
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
25
- * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
26
- * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
- */
28
-
29
- #ifndef Firebase_FEventType_h
30
- #define Firebase_FEventType_h
31
-
32
- /**
33
- * This enum is the set of events that you can observe at a Firebase location.
34
- */
35
- typedef enum {
36
- FEventTypeChildAdded, // 0, fired when a new child node is added to a location
37
- FEventTypeChildRemoved, // 1, fired when a child node is removed from a location
38
- FEventTypeChildChanged, // 2, fired when a child node at a location changes
39
- FEventTypeChildMoved, // 3, fired when a child node moves relative to the other child nodes at a location
40
- FEventTypeValue // 4, fired when any data changes at a location
41
- } FEventType;
42
-
43
- #endif
@@ -1,134 +0,0 @@
1
- /*
2
- * Firebase iOS Client Library
3
- *
4
- * Copyright © 2013 Firebase - All Rights Reserved
5
- * https://www.firebase.com
6
- *
7
- * Redistribution and use in source and binary forms, with or without
8
- * modification, are permitted provided that the following conditions are met:
9
- *
10
- * 1. Redistributions of source code must retain the above copyright notice, this
11
- * list of conditions and the following disclaimer.
12
- *
13
- * 2. Redistributions in binaryform must reproduce the above copyright notice,
14
- * this list of conditions and the following disclaimer in the documentation
15
- * and/or other materials provided with the distribution.
16
- *
17
- * THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR
18
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
20
- * EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT,
21
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
24
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
25
- * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
26
- * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
- */
28
-
29
- #import <Foundation/Foundation.h>
30
-
31
- /**
32
- * An FMutableData instance is populated with data from a Firebase location.
33
- * When you are using runTransactionBlock:, you will be given an instance containing the current
34
- * data at that location. Your block will be responsible for updating that instance to the data
35
- * you wish to save at that location, and then returning [FTransactionResult successWithData:yourData].
36
- *
37
- * To modify the data, set its value property to any of the native types support by Firebase:
38
- * * NSNumber (includes BOOL)
39
- * * NSDictionary
40
- * * NSArray
41
- * * NSString
42
- * * nil / [NSNull null] to remove the data
43
- *
44
- * Note that changes made to a child FMutableData instance will be visible to the parent.
45
- */
46
- @interface FMutableData : NSObject
47
-
48
-
49
- /** @name Inspecting and navigating the data */
50
-
51
-
52
- /**
53
- * @return YES if this data contains child nodes.
54
- */
55
- - (BOOL) hasChildren;
56
-
57
-
58
- /**
59
- * @return YES if this data contains a child at the specified relative path
60
- */
61
- - (BOOL) hasChildAtPath:(NSString *)path;
62
-
63
-
64
- /**
65
- * Used to obtain an FMutableData instance that encapsulates the data at the given relative path.
66
- * Note that changes made to the child will be visible to the parent.
67
- *
68
- * @param path A path string, consisting either of a single segment, like 'child', or multiple segments, 'a/deeper/child'
69
- * @return An FMutableData instance containing the data at the given path
70
- */
71
- - (FMutableData *) childDataByAppendingPath:(NSString *)path;
72
-
73
-
74
- /** @name Properties */
75
-
76
-
77
- /**
78
- * @return An FMutableData instance containing the data at the parent location, or nil if this is the top-most location
79
- */
80
- @property (strong, readonly, nonatomic) FMutableData* parent;
81
-
82
-
83
- /**
84
- * To modify the data contained by this instance of FMutableData, set this to any of the native types support by Firebase:
85
- * * NSNumber (includes BOOL)
86
- * * NSDictionary
87
- * * NSArray
88
- * * NSString
89
- * * nil / [NSNull null] to remove the data
90
- *
91
- * Note that setting the value will override the priority at this location.
92
- *
93
- * @return The current data at this location as a native object
94
- */
95
- @property (strong, nonatomic) id value;
96
-
97
-
98
- /**
99
- * Set this property to update the priority of the data at this location. Can be set to the following types:
100
- * * NSNumber
101
- * * NSString
102
- * * nil / [NSNull null] to remove the priority
103
- *
104
- * @return The priority of the data at this location
105
- */
106
- @property (strong, nonatomic) id priority;
107
-
108
-
109
- /**
110
- * @return The number of child nodes at this location
111
- */
112
- @property (readonly, nonatomic) NSUInteger childrenCount;
113
-
114
-
115
- /**
116
- * Used to iterate over the children at this location. You can use the native for .. in syntax:
117
- *
118
- * for (FMutableData* child in data.children) {
119
- * ...
120
- * }
121
- *
122
- * Note that this enumerator operates on an immutable copy of the child list. So, you can modify the instance
123
- * during iteration, but the new additions will not be visible until you get a new enumerator.
124
- */
125
- @property (readonly, nonatomic, strong) NSEnumerator* children;
126
-
127
-
128
- /**
129
- * @return The name of this node, or nil if it is the top-most location
130
- */
131
- @property (readonly, nonatomic, strong) NSString* name;
132
-
133
-
134
- @end
@@ -1,229 +0,0 @@
1
- /*
2
- * Firebase iOS Client Library
3
- *
4
- * Copyright © 2013 Firebase - All Rights Reserved
5
- * https://www.firebase.com
6
- *
7
- * Redistribution and use in source and binary forms, with or without
8
- * modification, are permitted provided that the following conditions are met:
9
- *
10
- * 1. Redistributions of source code must retain the above copyright notice, this
11
- * list of conditions and the following disclaimer.
12
- *
13
- * 2. Redistributions in binaryform must reproduce the above copyright notice,
14
- * this list of conditions and the following disclaimer in the documentation
15
- * and/or other materials provided with the distribution.
16
- *
17
- * THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR
18
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
20
- * EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT,
21
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
24
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
25
- * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
26
- * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
- */
28
-
29
- #import <Foundation/Foundation.h>
30
- #import "FEventType.h"
31
- #import "FDataSnapshot.h"
32
-
33
- typedef NSUInteger FirebaseHandle;
34
-
35
- /**
36
- * An FQuery instance represents a query over the data at a particular location.
37
- *
38
- * You create one by calling one of the query methods (queryStartingAtPriority:, queryEndingAtPriority:, etc.)
39
- * on a Firebase reference. The query methods can be chained to further specify the data you are interested in
40
- * observing
41
- */
42
- @interface FQuery : NSObject
43
-
44
-
45
- /** @name Attaching observers to read data */
46
-
47
-
48
- /**
49
- * observeEventType:withBlock: is used to listen for data changes at a particular location.
50
- * This is the primary way to read data from Firebase. Your block will be triggered
51
- * for the initial data and again whenever the data changes.
52
- *
53
- * Use removeObserverWithHandle: to stop receiving updates.
54
- *
55
- * @param eventType The type of event to listen for.
56
- * @param block The block that should be called with initial data and updates.
57
- * @return A handle used to unregister this block later using removeObserverWithHandle:
58
- */
59
- - (FirebaseHandle) observeEventType:(FEventType)eventType withBlock:(void (^)(FDataSnapshot* snapshot))block;
60
-
61
-
62
- /**
63
- * observeEventType:andPreviousSiblingWithBlock: is used to listen for data changes at a particular location.
64
- * This is the primary way to read data from Firebase. Your block will be triggered
65
- * for the initial data and again whenever the data changes. In addition, for FEventTypeChildAdded, FEventTypeChildMoved, and
66
- * FEventTypeChildChanged events, your block will be passed the name of the previous node by priority order.
67
- *
68
- * Use removeObserverWithHandle: to stop receiving updates.
69
- *
70
- * @param eventType The type of event to listen for.
71
- * @param block The block that should be called with initial data and updates, as well as the previous child's name.
72
- * @return A handle used to unregister this block later using removeObserverWithHandle:
73
- */
74
- - (FirebaseHandle) observeEventType:(FEventType)eventType andPreviousSiblingNameWithBlock:(void (^)(FDataSnapshot* snapshot, NSString* prevName))block;
75
-
76
-
77
- /**
78
- * observeEventType:withBlock: is used to listen for data changes at a particular location.
79
- * This is the primary way to read data from Firebase. Your block will be triggered
80
- * for the initial data and again whenever the data changes.
81
- *
82
- * The cancelBlock will be called if you will no longer receive new events due to no longer having permission.
83
- *
84
- * Use removeObserverWithHandle: to stop receiving updates.
85
- *
86
- * @param eventType The type of event to listen for.
87
- * @param block The block that should be called with initial data and updates.
88
- * @param cancelBlock The block that should be called if this client no longer has permission to receive these events
89
- * @return A handle used to unregister this block later using removeObserverWithHandle:
90
- */
91
- - (FirebaseHandle) observeEventType:(FEventType)eventType withBlock:(void (^)(FDataSnapshot* snapshot))block withCancelBlock:(void (^)(void))cancelBlock;
92
-
93
-
94
- /**
95
- * observeEventType:andPreviousSiblingWithBlock: is used to listen for data changes at a particular location.
96
- * This is the primary way to read data from Firebase. Your block will be triggered
97
- * for the initial data and again whenever the data changes. In addition, for FEventTypeChildAdded, FEventTypeChildMoved, and
98
- * FEventTypeChildChanged events, your block will be passed the name of the previous node by priority order.
99
- *
100
- * The cancelBlock will be called if you will no longer receive new events due to no longer having permission.
101
- *
102
- * Use removeObserverWithHandle: to stop receiving updates.
103
- *
104
- * @param eventType The type of event to listen for.
105
- * @param block The block that should be called with initial data and updates, as well as the previous child's name.
106
- * @param cancelBlock The block that should be called if this client no longer has permission to receive these events
107
- * @return A handle used to unregister this block later using removeObserverWithHandle:
108
- */
109
- - (FirebaseHandle) observeEventType:(FEventType)eventType andPreviousSiblingNameWithBlock:(void (^)(FDataSnapshot* snapshot, NSString* prevName))block withCancelBlock:(void (^)(void))cancelBlock;
110
-
111
-
112
- /**
113
- * This is equivalent to observeEventType:withBlock:, except the block is immediately canceled after the initial data is returned.
114
- *
115
- * @param eventType The type of event to listen for.
116
- * @param block The block that should be called with initial data and updates.
117
- */
118
- - (void) observeSingleEventOfType:(FEventType)eventType withBlock:(void (^)(FDataSnapshot* snapshot))block;
119
-
120
-
121
- /**
122
- * This is equivalent to observeEventType:withBlock:, except the block is immediately canceled after the initial data is returned. In addition, for FEventTypeChildAdded, FEventTypeChildMoved, and
123
- * FEventTypeChildChanged events, your block will be passed the name of the previous node by priority order.
124
- *
125
- * @param eventType The type of event to listen for.
126
- * @param block The block that should be called with initial data and updates.
127
- */
128
- - (void) observeSingleEventOfType:(FEventType)eventType andPreviousSiblingNameWithBlock:(void (^)(FDataSnapshot* snapshot, NSString* prevName))block;
129
-
130
-
131
- /**
132
- * This is equivalent to observeEventType:withBlock:, except the block is immediately canceled after the initial data is returned.
133
- *
134
- * The cancelBlock will be called if you do not have permission to read data at this location.
135
- *
136
- * @param eventType The type of event to listen for.
137
- * @param block The block that should be called with initial data and updates.
138
- * @param cancelBlock The block that will be called if you don't have permission to access this data
139
- */
140
- - (void) observeSingleEventOfType:(FEventType)eventType withBlock:(void (^)(FDataSnapshot* snapshot))block withCancelBlock:(void (^)(void))cancelBlock;
141
-
142
-
143
- /**
144
- * This is equivalent to observeEventType:withBlock:, except the block is immediately canceled after the initial data is returned. In addition, for FEventTypeChildAdded, FEventTypeChildMoved, and
145
- * FEventTypeChildChanged events, your block will be passed the name of the previous node by priority order.
146
- *
147
- * The cancelBlock will be called if you do not have permission to read data at this location.
148
- *
149
- * @param eventType The type of event to listen for.
150
- * @param block The block that should be called with initial data and updates.
151
- * @param cancelBlock The block that will be called if you don't have permission to access this data
152
- */
153
- - (void) observeSingleEventOfType:(FEventType)eventType andPreviousSiblingNameWithBlock:(void (^)(FDataSnapshot* snapshot, NSString* prevName))block withCancelBlock:(void (^)(void))cancelBlock;
154
-
155
- /** @name Detaching observers */
156
-
157
- /**
158
- * Detach a block previously attached with observeEventType:withBlock:.
159
- *
160
- * @param handle The handle returned by the call to observeEventType:withBlock: which we are trying to remove.
161
- */
162
- - (void) removeObserverWithHandle:(FirebaseHandle)handle;
163
-
164
-
165
- /**
166
- * Detach all blocks previously attached to this Firebase location with observeEventType:withBlock:
167
- */
168
- - (void) removeAllObservers;
169
-
170
-
171
- /** @name Querying and limiting */
172
-
173
-
174
- /**
175
- * queryStartingAtPriority: is used to generate a reference to a limited view of the data at this location.
176
- * The FQuery instance returned by queryStartingAtPriority: will respond to events at nodes with a priority
177
- * greater than or equal to startPriority
178
- *
179
- * @param startPriority The lower bound, inclusive, for the priority of data visible to the returned FQuery
180
- * @return An FQuery instance, limited to data with priority greater than or equal to startPriority
181
- */
182
- - (FQuery *) queryStartingAtPriority:(id)startPriority;
183
-
184
-
185
- /**
186
- * queryStartingAtPriority:andChildName: is used to generate a reference to a limited view of the data at this location.
187
- * The FQuery instance returned by queryStartingAtPriority:andChildName will respond to events at nodes with a priority
188
- * greater than startPriority, or equal to startPriority and with a name greater than or equal to childName
189
- *
190
- * @param startPriority The lower bound, inclusive, for the priority of data visible to the returned FQuery
191
- * @param childName The lower bound, inclusive, for the name of nodes with priority equal to startPriority
192
- * @return An FQuery instance, limited to data with priority greater than or equal to startPriority
193
- */
194
- - (FQuery *) queryStartingAtPriority:(id)startPriority andChildName:(NSString *)childName;
195
-
196
-
197
- /**
198
- * queryEndingAtPriority: is used to generate a reference to a limited view of the data at this location.
199
- * The FQuery instance returned by queryEndingAtPriority: will respond to events at nodes with a priority
200
- * less than or equal to startPriority and with a name greater than or equal to childName
201
- *
202
- * @param endPriority The upper bound, inclusive, for the priority of data visible to the returned FQuery
203
- * @return An FQuery instance, limited to data with priority less than or equal to endPriority
204
- */
205
- - (FQuery *) queryEndingAtPriority:(id)endPriority;
206
-
207
-
208
- /**
209
- * queryEndingAtPriority:andChildName: is used to generate a reference to a limited view of the data at this location.
210
- * The FQuery instance returned by queryEndingAtPriority:andChildNAme will respond to events at nodes with a priority
211
- * less than endPriority, or equal to endPriority and with a name less than or equal to childName
212
- *
213
- * @param endPriority The upper bound, inclusive, for the priority of data visible to the returned FQuery
214
- * @param childName The upper bound, inclusive, for the name of nodes with priority equal to endPriority
215
- * @return An FQuery instance, limited to data with priority less than endPriority or equal to endPriority and with a name less than or equal to childName
216
- */
217
- - (FQuery *) queryEndingAtPriority:(id)endPriority andChildName:(NSString *)childName;
218
-
219
-
220
- /**
221
- * queryLimitedToNumberOfChildren: is used to generate a reference to a limited view of the data at this location.
222
- * The FQuery instance returned by queryLimitedToNumberOfChildren: will respond to events at from at most limit child nodes
223
- *
224
- * @param limit The upper bound, inclusive, for the number of child nodes to receive events for
225
- * @return An FQuery instance, limited to at most limit child nodes.
226
- */
227
- - (FQuery *) queryLimitedToNumberOfChildren:(NSUInteger)limit;
228
-
229
- @end
@@ -1,50 +0,0 @@
1
- /*
2
- * Firebase iOS Client Library
3
- *
4
- * Copyright © 2013 Firebase - All Rights Reserved
5
- * https://www.firebase.com
6
- *
7
- * Redistribution and use in source and binary forms, with or without
8
- * modification, are permitted provided that the following conditions are met:
9
- *
10
- * 1. Redistributions of source code must retain the above copyright notice, this
11
- * list of conditions and the following disclaimer.
12
- *
13
- * 2. Redistributions in binaryform must reproduce the above copyright notice,
14
- * this list of conditions and the following disclaimer in the documentation
15
- * and/or other materials provided with the distribution.
16
- *
17
- * THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR
18
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
20
- * EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT,
21
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
24
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
25
- * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
26
- * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
- */
28
-
29
- #import <Foundation/Foundation.h>
30
- #import "FMutableData.h"
31
-
32
- @interface FTransactionResult : NSObject
33
-
34
- /**
35
- * Used for runTransactionBlock:. Indicates that the new value should be saved at this location
36
- *
37
- * @param value An FMutableData instance containing the new value to be set
38
- * @return An FTransactionResult instance that can be used as a return value from the block given to runTransactionBlock:
39
- */
40
- + (FTransactionResult *) successWithValue:(FMutableData *)value;
41
-
42
-
43
- /**
44
- * Used for runTransactionBlock:. Indicates that the current transaction should no longer proceed.
45
- *
46
- * @return An FTransactionResult instance that can be used as a return value from the block given to runTransactionBlock:
47
- */
48
- + (FTransactionResult *) abort;
49
-
50
- @end