How to Add New Keyboards With iPhone?

I was very helpful on this website.

If I add a new keyboard to the iPhone, is it necessary to connect with Swift?