3 ms·
We use this in our app, it's very US-heavy though I think. NSDataDetector can do a lot of cool stuff, very ugly API to use and is confusingly similar but not th
by jamil7 4y ago
We use this in our app, it's very US-heavy though I think. NSDataDetector can do a lot of cool stuff, very ugly API to use and is confusingly similar but not the same to what's available through dataDetectorTypes on a UITextView.
- pjot 4y agoThis appears to be the struct[0] [0]: https://developer.apple.com/documentation/uikit/uidatadetectortypes https://developer.apple.com/documentation/uikit/uidatadetect...
- LeoNatan25 4y agoIt’s actually a C enum. https://developer.apple.com/documentation/uikit/uidatadetectortypes?language=objc https://developer.apple.com/documentation/uikit/uidatadetect...
- jamil7 4y agoRight, would be nice for them to unify these.
- square0ne 4y ago