Hi All
I want to draw bar chart using Xcode 10.5.
I am using Cocoa Touch Application for it. I am confused about how to use NSBezier, as the default framework bundle (iPhone OS2.0sdk) does not contain AppKit framework.
Maybe a new Forum makes sense: "iPhone Programming for Noobs" or better "iPhone Programming for the lazy ones" or "iPhone Programming Self-Help Group"... There all noobs can ask questions and other noobs may answer them.
Please stop asking questions like "how do I enter text in the Xcode editor" or "How do I start Xcode"? ... Aaah!!!!
context variable not initializing.
As i am drawing it on view i haven't pushed CGContext.
I think there would be any other way to initialise context variable.
I am using following statement to initialize.
CGContextRef context = UIGraphicsGetCurrentContext();
I am adding new view in nib file and displaying that view on some event of previous view's control. Its goes fine up to displaying that newly added view but control does not enters into view's drawrect: method.
When i tried it with default view it displays all lines.
I am displaying a view on one view.
When click event occurs on first view i am replacing existing view with another view and i want to draw some lines on newly appeared view.
i called setNeedsDisplay, but its not reaching there in drawRect method.