Skip to content

Instantly share code, notes, and snippets.

@andrewhavens
Created August 6, 2016 07:32
Show Gist options
  • Save andrewhavens/9188e837d66e65dd6f5b0eaeeb932117 to your computer and use it in GitHub Desktop.
Save andrewhavens/9188e837d66e65dd6f5b0eaeeb932117 to your computer and use it in GitHub Desktop.
class ExampleTableScreen < PM::TableScreen
title "The title of our screen in the nav bar"
def on_load
# do some setup here
end
def table_data
[{
title: "Section title goes here"
cells: [
{ title: "Hello", subtitle: "World!" }
]
}]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment