lucky-orange / blackhawk Goto Github PK
View Code? Open in Web Editor NEWHigh performance Cordova compatible javascript-native reflection bridge based on fast and sexy WKWebView written in pure Swift.
License: MIT License
High performance Cordova compatible javascript-native reflection bridge based on fast and sexy WKWebView written in pure Swift.
License: MIT License
注意到js部分
Queue = [];
Task = {
id: 0,
callback: function(){},
errorCallback: function(){},
init: function(id, callback, errorCallback) {
this.id = id;
this.callback = callback;
this.errorCallback = errorCallback;
return this
}
};
每次调用任何插件函数Queue就会push ,但是没有机制何时释放,大程序是否会存在内存隐患?
我在10.10上用xcode6.4打开swift好多错误,不知道这个swift是基于哪个版本的swift
GCDWebServer[4423:360794] *** Assertion failure in -[UIApplication _runWithMainScene:transitionContext:completion:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3512.29.5/UIApplication.m:3299
Wow, looks interesting! Can you tell me if there's any overlap here with MacGap? Obviously this is iOS and MacGap is OS X but ignoring that...
WKWebView 的运行机制是把 web content 的内容放到另外的进程,所以性能,至少是内存占用和 CPU 不是这么比的..希望能多了解一下运行机制,然后有个合理的比较,不要误导。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.