Instance Method

initWithX:Y:Z:

Initializes the first three positions of a vector with the provided values.

Declaration

- (instancetype)initWithX:(CGFloat)x Y:(CGFloat)y Z:(CGFloat)z;

Parameters

x

The initialization value for the first position.

y

The initialization value for the second position.

z

The initialization value for the third position.

See Also

Initializing a Vector

- initWithValues:count:

Initializes a vector with the provided values.

- initWithX:

Initializes the first position of a vector with the provided values.

- initWithX:Y:

Initializes the first two positions of a vector with the provided values.

- initWithX:Y:Z:W:

Initializes four positions of a vector with the provided values.

- initWithString:

Initializes a vector with values provided in a string representation.

- initWithCGAffineTransform:

Initializes a vector that is initialized with values provided by a CGAffineTransform structure.

- initWithCGPoint:

Initializes a vector that is initialized with values provided by a CGPoint structure.

- initWithCGRect:

Initializes a vector that is initialized with values provided by a CGRect structure.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software