Skip to content

Instantly share code, notes, and snippets.

@jdoxey
Created October 2, 2014 23:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdoxey/1e1924a5ed884b83d51a to your computer and use it in GitHub Desktop.
Save jdoxey/1e1924a5ed884b83d51a to your computer and use it in GitHub Desktop.
TextLayer *hello_text_layer = text_layer_create(GRect(10, 10, 100, 40));
text_layer_set_text(hello_text_layer, "Hello");
layer_add_child(window_get_root_layer(first_window), text_layer_get_layer(hello_text_layer));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment