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