display()
Redraws the view’s contents immediately.
Declaration
func display()Discussion
This method causes your drawing method to be called immediately and then presents the rendered image to the screen. Your application typically calls this method inside of a rendering loop, such as the one provided by the GLKViewController class, in order to provide a continuous smooth animation.
Never call this method inside your drawing function.