Post 1805477 by kosinus@mastodon.social
(DIR) More posts by kosinus@mastodon.social
(DIR) Post #1805477 by kosinus@mastodon.social
2018-12-07T16:08:51Z
0 likes, 1 repeats
Tried writing a little browser using Swift and WebKit. Pretty easy to get started, but you quickly discover Safari uses a whole bunch of private interfaces to do actual browsery stuff: https://trac.webkit.org/browser/webkit/trunk/Source/WebKit/UIProcess/API/Cocoa/WKUIDelegatePrivate.h
(DIR) Post #1805478 by alcinnz@floss.social
2018-12-07T17:02:40Z
0 likes, 0 repeats
@kosinus I'm using WebKitGTK, but in my experience it's something slightly different. To do browsery stuff like bookmarks and history, you have to implement it yourself.I'm finding SQLite very helpful for that.
(DIR) Post #1806571 by kosinus@mastodon.social
2018-12-07T17:47:44Z
0 likes, 0 repeats
@alcinnz Ah, I meant stuff like fullscreen, media and permissions. Those are all private interfaces for which headers don't even ship in Xcode. Now trying to get things to build with a copy of the headers from the WebKit source tree. :)
(DIR) Post #1806596 by alcinnz@floss.social
2018-12-07T17:48:58Z
0 likes, 0 repeats
@kosinus Ah that stuff. It's not lacking in WebKitGTK.