objective c - Visual QuartzCore iOS -


just simple question.

there simple visual tool generate source code ios/quartzcore?

for example, make cakeyframeanimation path , (ex. cgpathmovetopoint , cgpathaddcurvetopoint), there visual tool export source code?

i didn't find , have written this:

first screenshot

and exports source code this:

cgpoint startcontrollerpoint = {219.5, 162.5}; cgpoint endcontrollerpoint = {118, 382};  cgpoint startposition = {55, 161.5}; cgpoint endposition = {273.5, 383.5}; cgmutablepathref path = cgpathcreatemutable(); cgpathmovetopoint(path, null, startposition.x, startposition.y); cgpathaddcurvetopoint(path, null, startposition.x + (164), startposition.y + (1), endposition.x + (-156), endposition.y + (-2), endposition.x, endposition.y); cgpathrelease(path); 

but isn't complete.

i wouldn't reinvent wheel.

thanks, sorry english.

there isn't tool draw , animate ios. paintcode , opacity lets draw , export code, not animate. quartz composer creates complex compositions it's os x, not ios.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -