|
22 | 22 |
|
23 | 23 | /**
|
24 | 24 | * A protocol to allow instances of FirebaseArray to raise events through a
|
25 |
| - * delegate. Raises all |
26 |
| - * Firebase events except FIRDataEventTypeValue. |
| 25 | + * delegate. Raises all Firebase events except @c FIRDataEventTypeValue. |
27 | 26 | */
|
28 | 27 | @protocol FirebaseArrayDelegate<NSObject>
|
29 | 28 |
|
30 | 29 | @optional
|
31 | 30 |
|
32 | 31 | /**
|
33 | 32 | * Delegate method which is called whenever an object is added to a
|
34 |
| - * FirebaseArray. On a |
35 |
| - * FirebaseArray synchronized to a Firebase reference, this corresponds to an |
36 |
| - * [FIRDataEventTypeChildAdded](https://www.firebase.com/docs/ios/guide/retrieving-data.html#section-event-types) |
37 |
| - * event being raised. |
| 33 | + * FirebaseArray. On a FirebaseArray synchronized to a Firebase reference, |
| 34 | + * this corresponds to a @c FIRDataEventTypeChildAdded event being raised. |
38 | 35 | * @param object The object added to the FirebaseArray
|
39 | 36 | * @param index The index the child was added at
|
40 | 37 | */
|
41 | 38 | - (void)array:(FirebaseArray *)array didAddObject:(id)object atIndex:(NSUInteger)index;
|
42 | 39 |
|
43 | 40 | /**
|
44 | 41 | * Delegate method which is called whenever an object is chinged in a
|
45 |
| - * FirebaseArray. On a |
46 |
| - * FirebaseArray synchronized to a Firebase reference, this corresponds to an |
47 |
| - * [FIRDataEventTypeChildChanged](https://www.firebase.com/docs/ios/guide/retrieving-data.html#section-event-types) |
48 |
| - * event being raised. |
| 42 | + * FirebaseArray. On a FirebaseArray synchronized to a Firebase reference, |
| 43 | + * this corresponds to a @c FIRDataEventTypeChildChanged event being raised. |
49 | 44 | * @param object The object that changed in the FirebaseArray
|
50 | 45 | * @param index The index the child was changed at
|
51 | 46 | */
|
52 | 47 | - (void)array:(FirebaseArray *)array didChangeObject:(id)object atIndex:(NSUInteger)index;
|
53 | 48 |
|
54 | 49 | /**
|
55 | 50 | * Delegate method which is called whenever an object is removed from a
|
56 |
| - * FirebaseArray. On a |
57 |
| - * FirebaseArray synchronized to a Firebase reference, this corresponds to an |
58 |
| - * [FIRDataEventTypeChildRemoved](https://www.firebase.com/docs/ios/guide/retrieving-data.html#section-event-types) |
59 |
| - * event being raised. |
| 51 | + * FirebaseArray. On a FirebaseArray synchronized to a Firebase reference, |
| 52 | + * this corresponds to a @c FIRDataEventTypeChildRemoved event being raised. |
60 | 53 | * @param object The object removed from the FirebaseArray
|
61 | 54 | * @param index The index the child was removed at
|
62 | 55 | */
|
63 | 56 | - (void)array:(FirebaseArray *)array didRemoveObject:(id)object atIndex:(NSUInteger)index;
|
64 | 57 |
|
65 | 58 | /**
|
66 | 59 | * Delegate method which is called whenever an object is moved within a
|
67 |
| - * FirebaseArray. On a |
68 |
| - * FirebaseArray synchronized to a Firebase reference, this corresponds to an |
69 |
| - * [FIRDataEventTypeChildMoved](https://www.firebase.com/docs/ios/guide/retrieving-data.html#section-event-types) |
70 |
| - * event being raised. |
| 60 | + * FirebaseArray. On a FirebaseArray synchronized to a Firebase reference, |
| 61 | + * this corresponds to a @c FIRDataEventTypeChildMoved event being raised. |
71 | 62 | * @param object The object that has moved locations in the FirebaseArray
|
72 | 63 | * @param fromIndex The index the child is being moved from
|
73 | 64 | * @param toIndex The index the child is being moved to
|
|
0 commit comments