Hi all
In my iphone application, I have to implement a feature as given below:
When user taps a point on the screen and start dragging then I have to show a line that is starting from the initial point of tap and will continue upto where the user releases the finger.
The line should continuously track the finger movement. At first sight it seems to be a drawing app but no it is a connector kind of application. By connector I mean to say the feature in Interface Builder when we bind a Referencing Outlet to a UIView element than a blue line appears temporarily upto the time when user keeps pressing the mouse button and the line disappears when the mouse button is released.
Using CoreGraphics, I think we can draw the line but how can I erase the previous drawn line
THanks
Arnieterm
In my iphone application, I have to implement a feature as given below:
When user taps a point on the screen and start dragging then I have to show a line that is starting from the initial point of tap and will continue upto where the user releases the finger.
The line should continuously track the finger movement. At first sight it seems to be a drawing app but no it is a connector kind of application. By connector I mean to say the feature in Interface Builder when we bind a Referencing Outlet to a UIView element than a blue line appears temporarily upto the time when user keeps pressing the mouse button and the line disappears when the mouse button is released.
Using CoreGraphics, I think we can draw the line but how can I erase the previous drawn line
THanks
Arnieterm