Create a gist now

Instantly share code, notes, and snippets.

Embed
image = UIImage.imageNamed("icon.png")
@image_view = UIImageView.alloc.initWithImage(image)
@image_view.frame = CGRectMake(0, 0, 36, 36)
view.addSubview(@image_view)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment