
iFans points us to a Reddit AMA with Swype Vice President Aaron Sheedy where the executive confirms discussions with Apple have taken place:

The best 4K & 5K displays for Mac
Q: I was curious as to whether you’ve ever had any contact with Apple. Any conversations to see if they might have been interested in licensing your technology?
A: Hah. The million (ok billion) $ questions. Yes, we have chatted with them, they are very smart and nice.
While this is far from confirmation that Swype could wind up in iOS one day, it could be a clue that Apple is at least interested in the technology and looking to make some big improvements to its built-in iOS keyboard. Gesture Typing has been a big hit among many users on the Android platform, and the iOS keyboard is certainly one area where’s Apple’s default, stock experience is starting to feel stale.
