Use a template to repeat HTML for each element of an array
Use a Handlebars template to make a jQuery Mobile listview

Overview

In this screencast well see how to make a handlebars template that can be run on an array of objects. The template will repeat for each element of the array. Learn how to:

  1. use the handlebars directives {{#.}} and {{/.}}
  2. use the current array index in the template with @index
  3. attach to the jQuery Mobile beforecreate event to fill a screen at app launch time

Resources

Latest Blog Posts

The Swift Programming Language Companion: Properties Part 2

This article is part of a series on learning Swift by writing code to The Swift Programming Language book from Apple.

Read each article after you have read the corresponding chapter in the book. This article is a companion to Properties.

This is Part 2 of the Properties companion.

Read more ...

The Swift Programming Language Companion: Properties Part 1

This article is part of a series on learning Swift by writing code to The Swift Programming Language book from Apple.

Read each article after you have read the corresponding chapter in the book. This article is a companion to Properties.

Read more ...

The Swift Programming Language Companion: Structures and Classes

This article is part of a series on learning Swift by writing code to The Swift Programming Language book from Apple.

Read each article after you have read the corresponding chapter in the book. This article is a companion to Structures and Classes.

Read more ...