iPhone OS Reference Library Apple Developer Connection spyglass button

UIKit Constants Reference

Framework
UIKit/UIKit.h
Declared in
UIGeometry.h
UINibDeclarations.h

Overview

This document describes constants that are used throughout the UIKit framework.

Constants

UIEdgeInsetsZero

Defines a set of edge insets where all of the values are 0.

extern const UIEdgeInsets UIEdgeInsetsZero;
Constants
UIEdgeInsetsZero

A UIEdgeInsets struct whose top, left, bottom, and right fields are all set to the value 0.

Available in iPhone OS 2.0 and later.

Declared in UIGeometry.h.

Interface Builder Constants

Type qualifiers used by Interface Builder to synchronize with Xcode.

#define IBAction void
#define IBOutlet
Constants
IBAction

Type qualifier used by Interface Builder to synchronize actions. Use this type as the return type of any action methods defined in your project. For examples of how to use this identifier, see Xcode Integration.

Available in iPhone OS 2.0 and later.

Declared in UINibDeclarations.h.

IBOutlet

Identifier used to qualify an instance-variable declaration so that Interface Builder can synchronize the display and connection of outlets with Xcode. Insert this identifier immediately before the variable type in any variable declarations. For examples, including how to use it with the @property syntax, see Xcode Integration.

Available in iPhone OS 2.0 and later.

Declared in UINibDeclarations.h.

Discussion

For more information about how to use these constants, see Communicating With Objects. For information about defining and using actions and outlets in Interface Builder, see Interface Builder User Guide.



Last updated: 2009-01-06

Did this document help you? Yes It's good, but... Not helpful...