design - Should I subclass UIControl or UIView to implement a canvas to handle touch events? -


I have another entry editor that lets users add postits to them (a view with a UItextView in them) and move them allows for. / P>

I am working on handling touch events: By creating this, only one postit is selected at a time, and deselects the postit if the user touch is outside any postit. I have implemented handling the touch of postit, and I am using the notification to tell the Entry Editor controller that the postit has been selected, and it resets the selection property as per the requirement of postit and Sets Ned's Display Calls It all works well: I can move around the postit and only one is selected at a time.

Handling touch outside any postit is my design problem. I am either considering overriding all touch events in the Postit Supervisor, or I can control a button to the entry editor. I'm adding an action for TouchUp Inside. The input on which understanding makes more sense?

Thanks for any input.


Comments