[sword-svn] r3668 - trunk/bindings/cordova/cordova-plugin-crosswire-sword/src/ios

scribe at crosswire.org scribe at crosswire.org
Sun Jun 30 18:46:40 MST 2019


Author: scribe
Date: 2019-06-30 18:46:40 -0700 (Sun, 30 Jun 2019)
New Revision: 3668

Modified:
   trunk/bindings/cordova/cordova-plugin-crosswire-sword/src/ios/SWORD.swift
Log:
Added Footnotes and Cross-references to swift bindings support


Modified: trunk/bindings/cordova/cordova-plugin-crosswire-sword/src/ios/SWORD.swift
===================================================================
--- trunk/bindings/cordova/cordova-plugin-crosswire-sword/src/ios/SWORD.swift	2019-06-27 15:06:54 UTC (rev 3667)
+++ trunk/bindings/cordova/cordova-plugin-crosswire-sword/src/ios/SWORD.swift	2019-07-01 01:46:40 UTC (rev 3668)
@@ -55,6 +55,8 @@
 		if (mgr == 0) {
 			let baseDir = (FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first?.path)! + "/sword";
 			mgr = org_crosswire_sword_SWMgr_newWithPath(baseDir)
+            org_crosswire_sword_SWMgr_setGlobalOption(mgr, "Footnotes", "On")
+            org_crosswire_sword_SWMgr_setGlobalOption(mgr, "Cross-references", "On")
 debugPrint("initMgr, mgr: " + String(describing: mgr))
 		}
 	}




More information about the sword-cvs mailing list