Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
CGAffineTransformMake
Returns an affine transformation matrix constructed from values you provide.
CGAffineTransform CGAffineTransformMake (
CGFloat a,
CGFloat b,
CGFloat c,
CGFloat d,
CGFloat tx,
CGFloat ty
);
Parameters
a
The value at position [1,1] in the matrix.
b
The value at position [1,2] in the matrix.
c
The value at position [2,1] in the matrix.
d
The value at position [2,2] in the matrix.
tx
The value at position [3,1] in the matrix.
ty
The value at position [3,2] in the matrix.
Return Value
A new affine transform matrix constructed from the values you specify.
| a b 0||dstartx| |dlocx|
|-b a 0||dstarty| = |dlocy|
| 0 0 1|| 1 | | 1 |
| a b tx| |startx1| |locx1|
|-b a ty| |starty1| = |locy1|
| 0 0 1| | 1 | | 1 |
В симуляторе это тестировать невозможно, так?
Для тестирования нужны сертификаты от Apple (если писать в XCode и тестировать на девайсе)?
усложняем приложение для iPhone