In my application I have to read data from a file or core data and draw a bar graph using that data.Can any one help me in d开发者_运维技巧rawing the bar graph in a simple way?I have used the Core Plo
I have a view in which I paint a dotted line when the user moves their finger across the screen of the iPad/iPhone. I draw the line between a point stored as LastLocation, and the point that is the Cu
I am trying to read a PDF on iPhone, I got to know that we can get the info about PDF from CGPDFDocumentGetCatalog metho开发者_Go百科d. But, this method returns a CGPDFDictionaryRef. I have browsed th
I have a custom view with a layerClass override like: + (Class) layerClass { return [CAShapeLayer class];
I need a line that changes color along the path (which could be approximated by a linear gradient in one direction, if that is easier).
Is it possible to smoothly animate a changed width property of CGContextFillRect over say 5 seconds? CGContextFillRect(context, CGRectMake(x, y, width, height));
I\'m working with CGContext to create a simple square with four given points (the points should make a perfect square). However, instead of a 200px x 200px square, the iPad app makes, what looks like,
I\'m trying to figure out if there is any way to mirror an image. For example, take a picture of someone\'s face and then cut it in half and show what their face l开发者_开发技巧ooks like with each si
I use the following code to getting images from the sprite. And it works fine everywhere except the iPhone 4 (HD version).
I\'d like to create a fade out affect with one of my bitmap contexts that I use to draw a static image in one of my views.What\'s an easy way to adjust the overall opacity of the bitmap context on the