例文を組み込んだAlfred Workflowを作りました: Alfred Git Commit Message Example
以下転載:
| // | |
| // ContentView.swift | |
| // MetalSwiftUI | |
| // | |
| // Created by Zach Eriksen on 9/8/20. | |
| // Copyright © 2020 oneleif. All rights reserved. | |
| // | |
| // Inspired [MetalUI](https://github.com/0xLeif/MetalUI) | |
| import SwiftUI |
| const mongoose = require('mongoose') | |
| mongoose.Promise = Promise | |
| mongoose.connection.on('connected', () => { | |
| console.log('Connection Established') | |
| }) | |
| mongoose.connection.on('reconnected', () => { | |
| console.log('Connection Reestablished') |
| + (UIImage*) detectWithImage: (UIImage*) inputImage | |
| { | |
| cv::Mat src = [inputImage CVMat3]; | |
| // Extract channels to be processed individually | |
| std::vector<cv::Mat> channels; | |
| cv::text::computeNMChannels(src, channels); | |
| int cn = (int)channels.size(); |
| import Cocoa | |
| import AVFoundation | |
| import CoreMediaIO | |
| import XCPlayground | |
| var currentDevice: AVCaptureDevice! | |
| var currentName: String! | |
| var currentUUID: String! | |
| var window = NSWindow(contentRect: NSRect(x: 30, y: 30, width: 375, height: 667), |
以下転載:
のメモです。
Some applications are required to display a large number of locations or markers. Despite the v3 JavaScript API's significant improvement to performance, naively plotting thousands of markers on a map can quickly lead to a degraded user experience. Too many markers on the map cause both visual overload and sluggish interaction with the map.
| Create a file in your lib folder, like **rootproject**/lib/routes.map.js | |
| load the module in your file and initialize with the data: | |
| var jsonCoordinates = { | |
| 'destination': dest.latitude + ',' + dest.longitude, | |
| 'origin': origin.latitude + ',' + origin.longitude, | |
| }; | |
| var routes = require("routes.map")(jsonCoordinates, mapview); |
全体的に簡略化し、必要と思われる部分を抜粋しました。
Not running
アプリは起動されていないか、実行されていたけれどもシステムによって終了されています。
Inactive