Skip to content

Instantly share code, notes, and snippets.

@raecoo
Last active May 5, 2017 07:11
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raecoo/a74692ea87ffffb3603c to your computer and use it in GitHub Desktop.
Save raecoo/a74692ea87ffffb3603c to your computer and use it in GitHub Desktop.
Apple TV built-in resource references
<!--
You can find below the mapping between filenames and name to use in ressource:// path.
/Applications/Xcode-beta.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator.sdk/System/Library/Frameworks/TVMLKit.framework
-->
<badge src="resource://button-cloud" />
<!--
File name => Name to use in resource://path
button-cloud => button-cloud
button-play => button-play
button-preview => button-preview
button-add => button-add
button-remove => button-remove
button-add-alt => button-add-alt
button-artist => button-artist
button-curator => button-curator
button-follow => button-follow
button-checkmark => button-checkmark
button-more => button-more
button-rate => button-rate
button-rated => button-rated
button-radio => button-radio
button-shuffle => button-shuffle
icon_dropdown => button-dropdown
g_mask => mpaa-g
pg_mask => mpaa-pg
pg13_mask => mpaa-pg13
r_mask => mpaa-r
nr_mask => nr
unrated_mask => unrated
nc17_mask => mpaa-nc17
cc_mask => cc
cs_logo_white => common-sense-logo-white
cs_logo_black => common-sense-logo-black
cs_badge_white_l => common-sense-badge-white-l
cs_badge_white_m => common-sense-badge-white-m
cs_badge_white_s => common-sense-badge-white-s
cs_badge_black_s => common-sense-badge-black-s
cs_badge_black_m => common-sense-badge-black-m
cs_badge_black_l => common-sense-badge-black-l
icon_chevron => chevron
list-chevron => list-chevron
game_center => game_center
game_controller => game_controller
watched-checkmark => overlay-checkmark
icon_radio_small_mask => radio-s
icon_cloud_mask => cloud-s
-->
<!--
Some resources are available somewhere else:
/Applications/Xcode-beta.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator.sdk/System/Library/PrivateFrameworks/TVKit.framework/
-->
<!--
File name => Name to use in resource://path
tvy_mask => tv-y
tvy7_mask => tv-y7
tvg_mask => tv-g
tvpg_mask => tv-pg
tv14_mask => tv-14
tvma_mask => tv-ma
tvy7fv_mask => tv-y7fv
RTRotten => tomato-splat
RTFresh => tomato-fresh
RTCertified => tomato-certified
RTLargeRotten => tomato-splat-m
RTLargeFresh => tomato-fresh-m
RTLargeCertified => tomato-certified-m
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment