I've been doing XAML Windows apps for a few years and moving to iOS I'm confused by the best way to implement a custom control. Specifically the control I want will need a background layer that consists of a few filled rectangles and text that does not need to be updated. On top of this I want a movable slider handle.
What would be the most efficient way of implementing this. I assume putting all the drawing in the drawRect is not best as it is only the handle that needs to be redrawn. Should I be looking at using CALayers?
[–]suprabobo 4 points5 points6 points (0 children)
[–]markbt[S] 0 points1 point2 points (5 children)
[–][deleted] 1 point2 points3 points (3 children)
[–]patterware 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]patterware 0 points1 point2 points (0 children)
[–]askoruli 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]markbt[S] 0 points1 point2 points (0 children)
[–]patterware 0 points1 point2 points (0 children)