Thursday, September 24th, 2009 Share on Twitter
There are different schools on how to start the design of an iPhone app. Some will prefer designing on paper (I do), others will use the computer to design their next breath-taking GUI.
So here is a list of some of the tools, template to design your next iPhone application.
Templates:
Keynote '09: ...
Posted in iPhone | 1 Comment »
Friday, September 4th, 2009 Share on Twitter
For my current project, I have to rotate a CGImageRef by an arbitrary angle.
Here is the code:
- (CGImageRef)CGImageRotatedByAngle:(CGImageRef)imgRef angle:(CGFloat)angle
{
CGFloat angleInRadians = angle * (M_PI / 180);
CGFloat width = CGImageGetWidth(imgRef);
CGFloat height = CGImageGetHeight(imgRef);
CGRect imgRect = CGRectMake(0, 0, width, height);
...
Posted in cocoa, iPhone | 2 Comments »