Skip to content

Releases: phimage/Erik

Swift PM

28 Oct 08:25
Compare
Choose a tag to compare

update Package.swift to latest standard

swift 5

28 Oct 08:24
Compare
Choose a tag to compare
5.0.0

2.0.0

12 Oct 11:53
Compare
Choose a tag to compare

Update to swift 3

1.1.1

06 Sep 13:19
Compare
Choose a tag to compare

Fix #15
By default detect page loading end using the webkit navigationDeletage instead of loading boolean
If you use your own instance of WKView in Erikinstance, and have already set a delegate, you can make it implement the protocol Navigable

Other algorithm could be chosen to detect page loading
(myErikInstance.layoutEngine as? WebKitLayoutEngine)?.pageLoadedPolicy =.loading // the loading boolean
(myErikInstance.layoutEngine as? WebKitLayoutEngine)?.pageLoadedPolicy =.estimatedProgress // the estimatedProgress value (must be 1.0 except when starting 0.0)

If no page loaded, NoContent is thrown when asking for currentContent
An empty page is detected using pattern Erik.noContentPattern
You can set to nil if you want to keep previous code state

1.1.0

06 Sep 12:57
Compare
Choose a tag to compare

Allow to get title, load url request, go back and forward, reload page
Rename currentURL to url

1.0.2

27 Nov 16:15
Compare
Choose a tag to compare