@@ -301,11 +301,11 @@ + (instancetype)timerWithTimeInterval: (of_time_interval_t)timeInterval repeats: (bool)repeats block: (of_timer_block_t)block; #endif -- init OF_UNAVAILABLE; +- (instancetype)init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated timer with the specified time * interval. * @@ -315,15 +315,15 @@ * @param target The target on which to call the selector * @param selector The selector to call on the target * @param repeats Whether the timer repeats after it has been executed * @return An initialized timer */ -- initWithFireDate: (OFDate *)fireDate - interval: (of_time_interval_t)interval - target: (id)target - selector: (SEL)selector - repeats: (bool)repeats; +- (instancetype)initWithFireDate: (OFDate *)fireDate + interval: (of_time_interval_t)interval + target: (id)target + selector: (SEL)selector + repeats: (bool)repeats; /*! * @brief Initializes an already allocated timer with the specified time * interval. * @@ -334,16 +334,16 @@ * @param selector The selector to call on the target * @param object An object to pass when calling the selector on the target * @param repeats Whether the timer repeats after it has been executed * @return An initialized timer */ -- initWithFireDate: (OFDate *)fireDate - interval: (of_time_interval_t)interval - target: (id)target - selector: (SEL)selector - object: (nullable id)object - repeats: (bool)repeats; +- (instancetype)initWithFireDate: (OFDate *)fireDate + interval: (of_time_interval_t)interval + target: (id)target + selector: (SEL)selector + object: (nullable id)object + repeats: (bool)repeats; /*! * @brief Initializes an already allocated timer with the specified time * interval. * @@ -357,17 +357,17 @@ * @param object2 The second object to pass when calling the selector on the * target * @param repeats Whether the timer repeats after it has been executed * @return An initialized timer */ -- initWithFireDate: (OFDate *)fireDate - interval: (of_time_interval_t)interval - target: (id)target - selector: (SEL)selector - object: (nullable id)object1 - object: (nullable id)object2 - repeats: (bool)repeats; +- (instancetype)initWithFireDate: (OFDate *)fireDate + interval: (of_time_interval_t)interval + target: (id)target + selector: (SEL)selector + object: (nullable id)object1 + object: (nullable id)object2 + repeats: (bool)repeats; /*! * @brief Initializes an already allocated timer with the specified time * interval. * @@ -383,18 +383,18 @@ * @param object3 The third object to pass when calling the selector on the * target * @param repeats Whether the timer repeats after it has been executed * @return An initialized timer */ -- initWithFireDate: (OFDate *)fireDate - interval: (of_time_interval_t)interval - target: (id)target - selector: (SEL)selector - object: (nullable id)object1 - object: (nullable id)object2 - object: (nullable id)object3 - repeats: (bool)repeats; +- (instancetype)initWithFireDate: (OFDate *)fireDate + interval: (of_time_interval_t)interval + target: (id)target + selector: (SEL)selector + object: (nullable id)object1 + object: (nullable id)object2 + object: (nullable id)object3 + repeats: (bool)repeats; /*! * @brief Initializes an already allocated timer with the specified time * interval. * @@ -412,19 +412,19 @@ * @param object4 The fourth object to pass when calling the selector on the * target * @param repeats Whether the timer repeats after it has been executed * @return An initialized timer */ -- initWithFireDate: (OFDate *)fireDate - interval: (of_time_interval_t)interval - target: (id)target - selector: (SEL)selector - object: (nullable id)object1 - object: (nullable id)object2 - object: (nullable id)object3 - object: (nullable id)object4 - repeats: (bool)repeats; +- (instancetype)initWithFireDate: (OFDate *)fireDate + interval: (of_time_interval_t)interval + target: (id)target + selector: (SEL)selector + object: (nullable id)object1 + object: (nullable id)object2 + object: (nullable id)object3 + object: (nullable id)object4 + repeats: (bool)repeats; #ifdef OF_HAVE_BLOCKS /*! * @brief Initializes an already allocated timer with the specified time * interval. @@ -434,14 +434,14 @@ * a repeating timer * @param repeats Whether the timer repeats after it has been executed * @param block The block to invoke when the timer fires * @return An initialized timer */ -- initWithFireDate: (OFDate *)fireDate - interval: (of_time_interval_t)interval - repeats: (bool)repeats - block: (of_timer_block_t)block; +- (instancetype)initWithFireDate: (OFDate *)fireDate + interval: (of_time_interval_t)interval + repeats: (bool)repeats + block: (of_timer_block_t)block; #endif /*! * @brief Fires the timer, meaning it will execute the specified selector on the * target.