uitableview - iOS 5.1 Drag&Drop from text view to table view -
i've developing ipad app , have been wondering if it's possible select text text view , drag , dropping paste uitableview. if can tell bit can start working on it?
one way might work use touch events , detect when dragging textview , if so, put text inside textview private property , detect when dragging ends , see if in area of tableview (you need know boundaries of tableview (cgrect). if in area, add text whatever datasource have populates tableview , reload tableview.
this take lots of trial , error make sure touch locations right.
Comments
Post a Comment