From e69c52c4e06288d9be96f3fa047a1972e93b36c3 Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Tue, 5 Sep 2023 11:38:20 -0400 Subject: [PATCH] Update the YT example to remove the use of v3 deprecated features. --- .../YouTubeSample/Base.lproj/YouTubeSampleWindow.xib | 9 --------- Examples/YouTubeSample/YouTubeSampleWindowController.m | 6 ------ 2 files changed, 15 deletions(-) diff --git a/Examples/YouTubeSample/Base.lproj/YouTubeSampleWindow.xib b/Examples/YouTubeSample/Base.lproj/YouTubeSampleWindow.xib index 075cf7aa1..79aabc66f 100644 --- a/Examples/YouTubeSample/Base.lproj/YouTubeSampleWindow.xib +++ b/Examples/YouTubeSample/Base.lproj/YouTubeSampleWindow.xib @@ -270,15 +270,6 @@ Gw - - - - - - - - - diff --git a/Examples/YouTubeSample/YouTubeSampleWindowController.m b/Examples/YouTubeSample/YouTubeSampleWindowController.m index f9fd8d2d7..cbb77d43c 100644 --- a/Examples/YouTubeSample/YouTubeSampleWindowController.m +++ b/Examples/YouTubeSample/YouTubeSampleWindowController.m @@ -33,9 +33,6 @@ // Playlist pop-up menu item tags. kUploadsTag = 0, kLikesTag = 1, - kFavoritesTag = 2, - kWatchHistoryTag = 3, - kWatchLaterTag = 4 }; // This is the URL shown users after completing the OAuth flow. This is an information page only and @@ -331,9 +328,6 @@ - (void)fetchSelectedPlaylist { switch(tag) { case kUploadsTag: playlistID = _myPlaylists.uploads; break; case kLikesTag: playlistID = _myPlaylists.likes; break; - case kFavoritesTag: playlistID = _myPlaylists.favorites; break; - case kWatchHistoryTag: playlistID = _myPlaylists.watchHistory; break; - case kWatchLaterTag: playlistID = _myPlaylists.watchLater; break; default: NSAssert(0, @"Unexpected tag: %ld", tag); }