From 06d692adbf8d2bfa71a7072b0c46408aa5d1b311 Mon Sep 17 00:00:00 2001 From: Stephan Diederich Date: Thu, 19 Sep 2013 20:35:17 +0200 Subject: [PATCH] deprecate unused delegate method refs #58 --- Classes/BITUpdateManagerDelegate.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Classes/BITUpdateManagerDelegate.h b/Classes/BITUpdateManagerDelegate.h index 4f30187215..a277a50807 100644 --- a/Classes/BITUpdateManagerDelegate.h +++ b/Classes/BITUpdateManagerDelegate.h @@ -106,6 +106,8 @@ - (BOOL)updateManagerShouldSendUsageData:(BITUpdateManager *)updateManager; +#pragma mark - Deprecated + ///----------------------------------------------------------------------------- /// @name Update View Presentation Helper ///----------------------------------------------------------------------------- @@ -118,7 +120,9 @@ `UIViewController` that should be used to present the update user interface modal. @param updateManager The `BITUpdateManager` instance invoking this delegate + + @deprecated Please use `BITHockeyManagerDelegate viewControllerForHockeyManager:componentManager:` instead */ -- (UIViewController *)viewControllerForUpdateManager:(BITUpdateManager *)updateManager; +- (UIViewController *)viewControllerForUpdateManager:(BITUpdateManager *)updateManager DEPRECATED_ATTRIBUTE; @end