Skip to content

Commit

Permalink
Update the YT example to remove the use of v3 deprecated features.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasvl committed Sep 5, 2023
1 parent cd8cf50 commit e69c52c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
9 changes: 0 additions & 9 deletions Examples/YouTubeSample/Base.lproj/YouTubeSampleWindow.xib
Original file line number Diff line number Diff line change
Expand Up @@ -270,15 +270,6 @@ Gw
<menuItem title="Likes" tag="1" id="431">
<modifierMask key="keyEquivalentModifierMask"/>
</menuItem>
<menuItem title="Favorites" tag="2" id="434">
<modifierMask key="keyEquivalentModifierMask"/>
</menuItem>
<menuItem title="Watch History" tag="3" id="435">
<modifierMask key="keyEquivalentModifierMask"/>
</menuItem>
<menuItem title="Watch Later" tag="4" id="432">
<modifierMask key="keyEquivalentModifierMask"/>
</menuItem>
</items>
</menu>
</popUpButtonCell>
Expand Down
6 changes: 0 additions & 6 deletions Examples/YouTubeSample/YouTubeSampleWindowController.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit e69c52c

Please sign in to comment.