---
title: Introduction to Boxes
framework: cocoa
role: article
path: apple-archive/documentation/Cocoa/Conceptual/Box
---

# Introduction to Boxes

Explains how to use Cocoa boxes.

## Organization of This Document

This topic discusses how to use the NSBox class.

- [Setting a Box’s Subviews](Tasks/SettingBoxSubviews.html#//apple_ref/doc/uid/20000082-BBCDBADC) describes how to add subviews to a box. - [Setting a Box’s Title](Tasks/SettingBoxTitle.html#//apple_ref/doc/uid/20000080-CJBDABEF) describes how to change the content and appearance of the box’s title. - [Setting a Box’s Border Appearance](Tasks/SettingBoxAppear.html#//apple_ref/doc/uid/20000081-BAJEAIEE) describes how to change the appearance of the box’s border. - [Using a Box to Create a Separator](Tasks/UsingToCreateVisualSep.html#//apple_ref/doc/uid/20000860-BAJEAIEE) describes how to create visual separators similar to Carbon’s theme separator.

If you want to group several elements of the same class together, see *[Matrix Programming Guide](../Matrix/Matrix.html#//apple_ref/doc/uid/10000022i)*.

[Next](Tasks/SettingBoxTitle.html)

Copyright © 2003 Apple Computer, Inc. All Rights Reserved. [Terms of Use](http://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](http://www.apple.com/privacy/) | Updated: 2003-02-15
