Closed devladinci closed 9 years ago
Overwriting - (NSArray *)gestures in SLKTextView can cause crash. - (NSArray *)gestures is called when super is being dealloc-ed.
- (NSArray *)gestures
SLKTextView
dealloc
Possible fix: Add self as target during initialisation. See -> https://github.com/devladinci/SlackTextViewController/commit/5abf17a027fa8e6412255df43620fb145fecc7ec
self
That doesn't work on iOS 9. The gestures are recreated over and over. Couldn't find a better solution. Didn't realised that it was causing a crash tho, thanks for the heads up!
Overwriting
- (NSArray *)gestures
inSLKTextView
can cause crash.- (NSArray *)gestures
is called when super is beingdealloc
-ed.Possible fix: Add
self
as target during initialisation. See -> https://github.com/devladinci/SlackTextViewController/commit/5abf17a027fa8e6412255df43620fb145fecc7ec