Next Page > Hide TOC

Interface Builder Kit Constants Reference

Constants

IBDirection constants

These constants reflect the suggested direction in which a view should grow along the x and y axes.

typedef enum {
   IBNoDirection = 0,
   IBMinXDirection = 1,
   IBMaxXDirection = 2,
   IBMinYDirection = 4,
   IBMaxYDirection = 8,
   IBMinXMinYDirection = (IBMinXDirection | IBMinYDirection),
   IBMinXMaxYDirection = (IBMinXDirection | IBMaxYDirection),
   IBMaxXMinYDirection = (IBMaxXDirection | IBMinYDirection),
   IBMaxXMaxYDirection = (IBMaxXDirection | IBMaxYDirection)
} IBDirection;

Constants
IBNoDirection

Grow the view equally in both directions.

IBMinXDirection

Grow the view towards the origin of the containing view along the x axis.

IBMaxXDirection

Grow the view away from the origin of the containing view along the x axis.

IBMinYDirection

Grow the view towards the origin of the containing view along the y axis.

IBMaxYDirection

Grow the view away from the origin of the containing view along the y axis.

IBMinXMinYDirection

Grow the view towards the origin of the containing view along both axes.

IBMinXMaxYDirection

Grow the view towards the origin of the containing view along the x axis and away from the origin along the y axis.

IBMaxXMinYDirection

Grow the view away from the origin of the containing view along the x axis and towards the origin along the y axis.

IBMaxXMaxYDirection

Grow the view away from the origin of the containing view along both axes.

Availability
Declared In
InterfaceBuilderKit/IBGeometry.h

Next Page > Hide TOC


© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-04-02)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.