summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2014-11-25 15:43:52 +0100
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>2014-12-02 10:56:54 +0100
commit44e9e7fe199f197fe1e639e5fbcf858f4775d31b (patch)
tree07477f5629352867f0a68031a803afa793f244a2 /doc
parentc59c8ddf1f98938441925e01d9931c3c1eb3f5cc (diff)
iOS: Simplify view management in QIOSKeyboardListener
We don't need to keep track of the view-controller or add ourselves as a gesture recognizer inside QIOSKeyboardListener. In fact, leaving the call to removeGestureRecognizer in [QIOSKeyboardListener dealloc] will result in QIOSKeyboardListener never being released, as the view that we add the recognizer to will keep a strong reference to the recognizer, so dealloc is never called unless the view is also released, which is unlikely to happen. We now fully control the lifetime of the recognizer. Change-Id: I6755e8cdfcc8f1062314db51aa54a2b7ecd1b967 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions