O'Reilly logo

SproutCore Web Application Development by Tyler Keating

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Becoming familiar with SC.View and SC.Pane

Unsurprisingly, the View layer is primarily made of objects called views and the base class for all the views in SproutCore is SC.View. SC.View provides the machinery needed to render and update the views' elements. As part of the advanced display requirements of modern apps, SC.View also provides support for hardware accelerated cross browser animations and for being themed, both of which we will look at later.

First, let's look at how to arrange views to create a UI. In SproutCore, views are defined in a tree structure such as the DOM tree structure, where each view has zero or more child views accessible through the childViews property and has one parent view accessible through the parentView property. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required