Giter Site home page Giter Site logo

learning / chromium-tabs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rsms/chromium-tabs

0.0 2.0 0.0 1.57 MB

[historical] Chromium tabs for cocoa applications (project no longer maintained)

License: Other

Objective-C 98.30% C 0.78% C++ 0.92%

chromium-tabs's Introduction

Chromium Tabs

Chromium Tabs is a Cocoa framework for building applications that works like Chromium's window system.

  • An application has multiple windows
  • Each window represents a unit of tabs
  • Each tab represents a stateful view
  • Each tab can be freely dragged between windows

Important: This is currently work in progress and the framework API will change often.

Requirements: OS X 10.5 or later.

Usage

The framework is distributed with an @rpath which means it should be embedded into your applications' Contents/Frameworks directory. In Xcode you can add a new "Copy Files" action with the "Frameworks" destination to your target.

As an alternative, with Xcode4, you can create a new workspace which includes your project and chromium-tabs.xcodeproj. Once this is done, ChromiumTabs.framework will be available for linking like any other built-in library.

Then you need to do at least two things:

  1. #import <ChromiumTabs/ChromiumTabs.h>
  2. [[CTBrowser browser] newWindow] when your application has started (e.g. in the application delegates' applicationDidFinishLaunching:)

The example application (in examples/simple-app/) illustrates basic usage and likes to be inspected while you drink coffee. It looks like this:

A slightly boring screenshot of the example application

When building a "real" application you will need to sublcass at least the CTBrowser class which factorises tabs and their content. The example application do this at a very basic level (provides custom tab content).

Download

Visit the download section on GitHub to download the latest release of the framework and the example application.

Building

  1. Check out (or download) the source code
  2. Open chromium-tabs.xcodeproj in Xcode
  3. Choose your target and hit "Build"

There is also an optional example application in the Xcode project. You build it by selecting the "Chromium Tabs" target.

License

See the LICENSE file for details.

chromium-tabs's People

Contributors

agos avatar dparnell avatar eklipse2k8 avatar elklein avatar kc5nra avatar koed avatar robertkrimen avatar rsms avatar sbillig avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.