Renaissance Forms

Renaissance Forms

An NSForm is a matrix of NSFormCell objects that associate labels with text fields.

To create one in Renaissance, use the <form/> element, where each child is a <formItem>, as in this example:

<form>
	<formItem id="idField" title="User ID:"/>
	<formItem id="emailField" title="Email Address:"/>
</form>

You can’t nest arbitrary views, for example NSTextField, inside a Renaissance form. Consider whether you need to use NSForm at all, or whether you can lay out text fields in the view directly instead.