Kodeco Forums

tvOS Tutorial: Using TVML Templates

In this tvOS tutorial, you’ll learn how to use TVML templates to make great looking user interfaces, and you’ll learn how to use a templating engine to populate pages (rather than hard-coded data).


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/940-tvos-tutorial-using-tvml-templates
1 Like

Hi Sam,

Thanks for this post. It is similar to what I am trying to build (and I’m quite new to TVOS). However, in this article you seem to be referring to a ‘previous post’ (http://www.raywenderlich.com/114886/beginning-tvos-development-with-tvml-tutorial) which I find is quite different to what you were using. For a start, I couldn’t find ‘mustachejs’ in the first post. There is no ResourceLoaderJS either. There is ResourceLoader, but I believe it is quite different too. Would you be able to point me to the correct ‘previous post’ ? Thanks Sam!

Hi @alexwibowo

I think the issue here is that this chapter is an abridged version of a chapter in the tvOS Apprentice book. In the book, this refers to a previous chapter, which is all part of the story of building up your knowledge of TVML in tvOS apps. The first chapter isn’t available on the website, so instead the article has been linked to a different article, which although gives a good grounding, isn’t designed to be read consecutively.

I’m sorry, but all I can suggest is that you take a look at the book: tvOS Apprentice. The second edition has just been released and is fully up-to-date with tvOS 10. It includes multiple chapters about using TVML to create tvOS apps, and I think it’d be a great place to start your own apps.

http://www.raywenderlich.com/store/tvos-apprentice

Hope that helps - and sorry I can’t point you in the direction of more free material :confused:

sam