rbergman / CEF.swift

Swift bindings for the Chromium Embedded Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CEF.swift

Swift bindings for the Chromium Embedded Framework.

Requirements

Xcode 7, Swift 2.0

tools: cmake, jq, p7zip

How to build

  1. fetch this repo
  2. switch to the appropriate branch in CEF.swift to match the CEF distribution (see notes below)
  3. run scripts/setup.sh from the repo root
  4. now you are ready to compile the CEF.swift framework

CEF branches

CEF is developed on multiple branches simultaneously, which differ in API and functionality (see cefbuilds.com). CEF.swift aims at supporting the current stable and dev release branches; supporting dev trunk is out of scope for now, however. For any CEF branch NNNN, the corresponding CEF.swift branch is named cef_NNNN.

Currently supported branches:

  • 2357 Build Status
  • 2454 Build Status
  • 2526 Build Status

Getting started

Check out the (pretty skinny) CEFDemo app under Samples/CEFDemo to get the basic idea of how a CEF-based app should look like. For more inspiration, take a look at the cefsimple and cefclient apps shipped with the CEF binary distribution.

Disclaimer

This project is incomplete, untested, and most likely unstable, so use it at your own risk. Bug reports and suggestions are welcome though.

About

Swift bindings for the Chromium Embedded Framework


Languages

Language:Swift 86.8%Language:Python 12.8%Language:Shell 0.2%Language:C 0.1%Language:Objective-C 0.1%