Skip to content

Instantly share code, notes, and snippets.

@twilly86
twilly86 / MyViewController.swift
Last active September 5, 2021 07:25
Load WKWebView in Background Process
var start = NSDate()
for i in 0...9
{
self.webViews.append(WKWebView())
}
let end = NSDate();
NSLog("creating webviews \(end.timeIntervalSinceDate(start))")
@turowicz
turowicz / swift-json-class.md
Last active February 21, 2017 07:00
Apple Swift strong type object serialization to JSON