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:

@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.


@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. :)

· · Web · 1 · 0 · 0
Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!