objective c - iPad development: Circular and Linear Gauges -


i have created desktop (winforms) , web based (asp.net) dashboard application uses dundas circular , linear gauges.

e.g. enter image description here

i need recreate these gauges using xcode ui , objective c (or can imported view based project)

are there frameworks available can create these types of gauges? had @ core plot, doesn't have type of functionality.

they not difficult seem. need graphic assets distinguish static vs animatable graphics assets.

the animation can done using core animation. let's have first gadget (though quartz2d more performant - start make using simple uiviews).

the first gadget has needle animates (or rotates based on given value). rest of image can simple uiimageview.

do like:

needleview.layer.anchorpoint = bottom_right_point;//to not rotate @ center bottom right or whatever  ... [uiview beginanimations:nil context:null]; [uiview setanimationduration:1.0]; cgaffinetransform transform = cgaffinetransformmakerotation(angle_in_radians); needleview.transform = transform; [uiview commitanimations]; 

this rotate needle.

similarly 2 needles in second gauge. horizontal bars, same using frame set size of bars relative min_value , max_value.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -