- Notifications
You must be signed in to change notification settings - Fork1
Chromium tabs for cocoa applications. Developed as part of Kod (rsms/kod)
License
Unknown, BSD-3-Clause licenses found
Licenses found
KOed/chromium-tabs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Chromium Tabs is aCocoa framework for building applications that works likeChromium's window system.
- Anapplication has multiplewindows
- Eachwindow represents a unit oftabs
- Eachtab represents a stateful view
- Eachtab can be freely dragged betweenwindows
Important: This is currently work in progress and the framework API will change often.
Requirements: OS X 10.5 or later.
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.
Then you need to do at least two things:
#import <ChromiumTabs/ChromiumTabs.h>
[CTBrowser openEmptyWindow]
when your application has started (e.g. in the application delegates'applicationDidFinishLaunching:
)
The example application (inexamples/simple-app/
) illustrates basic usage and likes to be inspected while you drink coffee. It looks like this:
When building a "real" application you will need to sublcass at least theCTBrowser
class which factorises tabs and their content. The example application do this at a very basic level (provides custom tab content).
Visit thedownload section on GitHub to download the latest release of the framework and the example application.
- Check out (or download) the source code
- Open
chromium-tabs.xcodeproj
inXcode - 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.
See the LICENSE file for details.
About
Chromium tabs for cocoa applications. Developed as part of Kod (rsms/kod)
Resources
License
Unknown, BSD-3-Clause licenses found
Licenses found
Stars
Watchers
Forks
Packages0
Languages
- Objective-C96.3%
- C3.7%