MacGap

用于 HTML/CSS/JS 应用程序的桌面 WebKit 包装器。(Desktop WebKit wrapper for HTML/CSS/JS applications.)

  • 所有者: MacGapProject/MacGap1
  • 平台: Mac
  • 許可證: Other
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

MacGap

MacGap 项目为 HTML/JS/CSS 开发者提供了一个 Xcode 项目,用于开发在 OSX 的 WebView 中运行的 Native OSX 应用程序,并利用 WebKit 技术。

该项目公开了用于 OS X 集成的 JavaScript API,例如显示本机 OS X 10.9 通知。 MacGap 项目非常轻巧灵活,一个空白的应用程序大约是 980KB。

特性:

  • 小编译的应用程序大小
  • Mac App Store兼容
  • 访问许多 Mac OS X 专用功能

先决条件

MacGap 适用于 OSX 10.6 及更高版本。

macgap generator 生成应用程序,不需要编译。

gem install macgap
macgap new myapp
macgap build myapp

API

MacGap 在 JavaScript 中公开了一个名为 macgap 的对象。您可以使用它来改变 Dock 图标并显示 Growl 通知等等。该 API 在 GitHub 上的 WIKI 中有文档记录:https://github.com/maccman/macgap/wiki

属性

MacGap 是从 Phonegap-mac 派生出来的。它具有相同的许可证(MIT)。

自定义生成

要构建,请确保您已安装最新的Mac OSX Core Library。从 http://developer.apple.com/ 下载。 只需克隆存储库并在 Xcode 中构建。文件public/index.html 在启动时加载。

概覽

名稱與所有者MacGapProject/MacGap1
主編程語言Objective-C
編程語言Objective-C (語言數: 3)
平台Mac
許可證Other
發布數0
創建於2012-01-09 02:49:22
推送於2020-03-26 14:47:58
最后一次提交2017-06-11 16:30:05
星數3.5k
關注者數95
派生數208
提交數117
已啟用問題?
問題數105
打開的問題數52
拉請求數29
打開的拉請求數4
關閉的拉請求數9
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

MacGap

The MacGap project provides HTML/JS/CSS developers an Xcode project for developing Native OSX Apps that run in OSX's WebView and take advantage of WebKit technologies.

The project exposes a JavaScript API for OS X integration, such as displaying native OS X 10.9 notifications. The MacGap project is extremely lightweight and nimble; a blank application is about 980KB.

Features:

  • tiny compiled app sizes
  • Mac App Store compatible
  • access to many Mac OS X-specific features

Pre-requisites

MacGap works on OSX 10.6 and later.

Generate apps with the macgap generator, no compile necessary.

gem install macgap

macgap new myapp
macgap build myapp

API

MacGap exposes an object called macgap inside JavaScript. You can use it to alter the Dock icon and display Growl notifications, amongst other things. The API is documented in the WIKI on GitHub: https://github.com/maccman/macgap/wiki

Attributes

MacGap was forked/ported from Phonegap-mac. It's under the same license (MIT).

Custom Build

To build, make sure you have installed the latest Mac OSX Core Library. Download at http://developer.apple.com/.

Just clone the repository and build in Xcode. The file public/index.html is loaded on startup.

去到頂部