This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <title>Typeform Title</title> <style type="text/css"> html{ margin: 0; height: 100%; overflow: hidden; } iframe{ position: absolute; left:0; right:0; bottom:0; top:0; border:0; } </style> </head> <body> <iframe id="typeform-full" width="100%" height="100%" frameborder="0" src="yourTypeformUrl"></iframe> <script type="text/javascript" src="https://embed.typeform.com/embed.js"></script> </body> </html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
class TypeFormHelper: NSObject { | |
struct Constants { | |
static let typeFormUrl = "yourTypeformUrl" | |
static let formSubmissionHandler = "formSubmitted" | |
static let TypeForm = "TypeForm" | |
static let html = "html" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
import WebKit | |
class TypeFormVC: UIViewController { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
loadHtml() | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
import WebKit | |
class TypeFormVC: UIViewController { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
loadHtml() | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
class TypeFormHelper: NSObject { | |
struct Constants { | |
static let TypeForm = "TypeForm" | |
static let html = "html" | |
} | |
static func getTypeFormHtml() -> String? { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
changeNodeColor(nodeTag: "AR-B") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func changeNodeColor(nodeTag : String) { | |
let nodeShape = self.svgView.node.nodeBy(tag: nodeTag) as! Shape | |
nodeShape.fill = Color.red | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func changeNodeColor(nodeTag : String) { | |
svgView.node.nodeBy(tag: nodeId)?.onTouchPressed({ (touch) in | |
//Add an action to execute when specific node was touched | |
//Change node color | |
self.changeNodeColor(nodeTag: nodeId) | |
}) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!-- (c) ammap.com | SVG map of Argentina - High --> | |
<svg xmlns="http://www.w3.org/2000/svg" xmlns:amcharts="http://amcharts.com/ammap" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"> | |
<defs> | |
<style type="text/css"> | |
.land | |
{ | |
fill: #CCCCCC; | |
fill-opacity: 1; | |
stroke:white; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func addEventToCalendar() { | |
eventsCalendarManager.presentEventCalendarDetailModal(event: event) | |
} |
NewerOlder