To use Trikot.kword
swift extensions, you must export kword
module in your exported framework. See Trikot.patron build.gradle file for a sample use case.
ENV['TRIKOT_FRAMEWORK_NAME']='ReplaceMeByTheFrameworkNameImportedByCocoaPods'
pod 'Trikot/kword', :git => '[email protected]:mirego/trikot.git', :tag => properties['trikot_version']
Then, run pod install
.
import Trikot
...
TrikotKWord.shared.setCurrentLanguage("en")