|
21 | 21 | @class FUIArray;
|
22 | 22 |
|
23 | 23 | /**
|
24 |
| - * A protocol to allow instances of FirebaseArray to raise events through a |
25 |
| - * delegate. Raises all |
26 |
| - * Firebase events except FIRDataEventTypeValue. |
| 24 | + * A protocol to allow instances of FUIArray to raise events through a |
| 25 | + * delegate. Raises all Firebase events except FIRDataEventTypeValue. |
27 | 26 | */
|
28 | 27 | @protocol FUIArrayDelegate<NSObject>
|
29 | 28 |
|
30 | 29 | @optional
|
31 | 30 |
|
32 | 31 | /**
|
33 |
| - * 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. |
38 |
| - * @param object The object added to the FirebaseArray |
| 32 | + * Delegate method which is called whenever an object is added to an FUIArray. |
| 33 | + * On a FUIArray synchronized to a Firebase reference, this corresponds to an |
| 34 | + * @c FIRDataEventTypeChildAdded event being raised. |
| 35 | + * @param object The object added to the FUIArray |
39 | 36 | * @param index The index the child was added at
|
40 | 37 | */
|
41 | 38 | - (void)array:(FUIArray *)array didAddObject:(id)object atIndex:(NSUInteger)index;
|
42 | 39 |
|
43 | 40 | /**
|
44 |
| - * 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. |
49 |
| - * @param object The object that changed in the FirebaseArray |
| 41 | + * Delegate method which is called whenever an object is changed in an |
| 42 | + * FUIArray. On a FUIArray synchronized to a Firebase reference, this |
| 43 | + * corresponds to an @c FIRDataEventTypeChildChanged event being raised. |
| 44 | + * @param object The object that changed in the FUIArray |
50 | 45 | * @param index The index the child was changed at
|
51 | 46 | */
|
52 | 47 | - (void)array:(FUIArray *)array didChangeObject:(id)object atIndex:(NSUInteger)index;
|
53 | 48 |
|
54 | 49 | /**
|
55 |
| - * 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. |
60 |
| - * @param object The object removed from the FirebaseArray |
| 50 | + * Delegate method which is called whenever an object is removed from an |
| 51 | + * FUIArray. On a FUIArray synchronized to a Firebase reference, this |
| 52 | + * corresponds to an @c FIRDataEventTypeChildRemoved event being raised. |
| 53 | + * @param object The object removed from the FUIArray |
61 | 54 | * @param index The index the child was removed at
|
62 | 55 | */
|
63 | 56 | - (void)array:(FUIArray *)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. |
71 |
| - * @param object The object that has moved locations in the FirebaseArray |
| 60 | + * FUIArray. On a FUIArray synchronized to a Firebase reference, this |
| 61 | + * corresponds to an @c FIRDataEventTypeChildMoved event being raised. |
| 62 | + * @param object The object that has moved locations in the FUIArray |
72 | 63 | * @param fromIndex The index the child is being moved from
|
73 | 64 | * @param toIndex The index the child is being moved to
|
74 | 65 | */
|
|
0 commit comments