Perhaps the most important thing you can learn to be a better coder is to keep things simple. In the context of identifiers, that means that a single identifier should only be used to represent a single concept. Sometimes it’s tempting to create an identifier to represent some data and then use that identifier as a temporary place to store values in transition from one representation to another. F
Perhaps the most important thing you can learn to be a better coder is to keep things simple. In the context of identifiers, that means that a single identifier should only be used to represent a single concept. Sometimes it’s tempting to create an identifier to represent some data and then use that identifier as a temporary place to store values in transition from one representation to another. F
ざっくり見て行きましょう。 ローカルファイルの読み込みがやっと可能に iOS 8ではwebViewへ表示できるコンテンツはネット上のもの、もしくはインラインのHTMLのみでした。 iOS 9になりようやくローカルのファイルを読むことが可能になりました。 - (nullable WKNavigation *)loadFileURL:(NSURL *)URL allowingReadAccessToURL:(NSURL *)readAccessURL; // WKWebView.h:101 データとしても読み込めます。 - (nullable WKNavigation *)loadData:(NSData *)data MIMEType:(NSString *)MIMEType characterEncodingName:(NSString *)characterEncodingName ba
/* * @title Google検索の結果にFacebookのシェア数を表示するブックマークレット * @description 同上 * @include https://www.google.* * @license MIT License */ (function(global){ var document = global.document; var nodes = Array.from(document.querySelectorAll('.r > a:first-child')); var ids = nodes.map(n=>n.href).join(','); var script = document.createElement('SCRIPT'); script.src = 'https://graph.facebook.com/?fields=og_object{
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く