Make sure that Mac Firewall allows incoming connection
cd <dir>
# Start WebDAV server
sudo wfsctl start
# Check status
sudo wfsctl start
# Share current directory
sudo wfsctl share $PWD
| // | |
| // ContentView.swift | |
| // Airdrop Demo | |
| // | |
| // Created by Daniel Kuntz on 7/30/23. | |
| // | |
| import SwiftUI | |
| struct ContentView: View { |
| // | |
| // UIView+Tooltips.h | |
| // Crossword | |
| // | |
| // Created by Steven Troughton-Smith on 13/09/2019. | |
| // Copyright © 2019 Steven Troughton-Smith. All rights reserved. | |
| // | |
| #import <UIKit/UIKit.h> |
| import Foundation | |
| public indirect enum JSON: Equatable { | |
| case null | |
| case string(String) | |
| case number(String) | |
| case bool(Bool) | |
| case dictionary([String: JSON]) | |
| case array([JSON]) | |
| } |
| // | |
| // MobileProvision.swift | |
| // Fluux.io | |
| // | |
| // Created by Mickaël Rémond on 03/11/2018. | |
| // Copyright © 2018 ProcessOne. | |
| // Distributed under Apache License v2 | |
| // | |
| import Foundation |
Make sure that Mac Firewall allows incoming connection
cd <dir>
# Start WebDAV server
sudo wfsctl start
# Check status
sudo wfsctl start
# Share current directory
sudo wfsctl share $PWD
A collection of information about accessing raw MultiTouch events on MacOS.
Compiled while building mtif (a MultiTouch interface for common lisp).
| import Foundation | |
| class MyService: NSObject, MyServiceProtocol { | |
| func upperCaseString(_ string: String, withReply reply: @escaping (String) -> Void) { | |
| let response = string.uppercased() | |
| reply(response) | |
| } | |
| } |
| // | |
| // Generate EXIF GPS metadata | |
| // Swift 3 | |
| // Exif Version 2.2.0.0 supports decimal degrees | |
| import Foundation | |
| import CoreLocation | |
| import ImageIO | |
| extension CLLocation { |