One file for each domain, both www.example.com and example.com need separate files:
{
"applinks": {
"apps": [],
"details": {
"9JA89QQLNQ.com.apple.wwdc": {| import Darwin | |
| import Foundation | |
| // known good: Swift 5 | |
| // runs on macOS, probably works on iOS (but haven't tried) | |
| /// Wraps `host_statistics64`, and provides info on virtual memory | |
| /// | |
| /// - Returns: a `vm_statistics64`, or nil if the kernel reported an error | |
| /// |
| class MulticastDelegate <T> { | |
| private let delegates: NSHashTable<AnyObject> = NSHashTable.weakObjects() | |
| func add(delegate: T) { | |
| delegates.add(delegate as AnyObject) | |
| } | |
| func remove(delegate: T) { | |
| for oneDelegate in delegates.allObjects.reversed() { | |
| if oneDelegate === delegate as AnyObject { |
One file for each domain, both www.example.com and example.com need separate files:
{
"applinks": {
"apps": [],
"details": {
"9JA89QQLNQ.com.apple.wwdc": {caffemodel: age_net.caffemodel
caffemodel_url: https://github.com/GilLevi/AgeGenderDeepLearning/raw/master/models/age_net.caffemodel