One file for each domain, both www.example.com and example.com need separate files:
{
"applinks": {
"apps": [],
"details": {
"9JA89QQLNQ.com.apple.wwdc": {| import Foundation | |
| import WebKit | |
| // See https://developer.apple.com/library/content/documentation/Swift/Conceptual/BuildingCocoaApps/AdoptingCocoaDesignPatterns.html for more details. | |
| private var observerContext = 0 | |
| class StackableWebView: WKWebView { | |
| // Keep track of height which will change when the view is loaded. | |
| var webViewHeight: CGFloat = 0.0 |
| #!/bin/bash | |
| # | |
| # hook script for swiftlint. It will triggered when you make a commit. | |
| # | |
| # If you want to use, type commands in your console. | |
| # $ ln -s ../../pre-commit-swiftlint.sh .git/hooks/pre-commit | |
| # $ chmod +x .git/hooks/pre-commit | |
| LINT=$(which swiftlint) |
| #import <Foundation/Foundation.h> | |
| #import <objc/runtime.h> | |
| @interface Person : NSObject | |
| @property (strong) NSString *name; | |
| @end | |
| @interface Observer : NSObject |
One file for each domain, both www.example.com and example.com need separate files:
{
"applinks": {
"apps": [],
"details": {
"9JA89QQLNQ.com.apple.wwdc": {##Adding Swift Build System
Preferences > Browse Packages...Swift.sublime-build inside Packages directory.Swift.sublime-build file.{
"shell_cmd": "xcrun swift $file",
| /* ~/Library/KeyBindings/DefaultKeyBinding.Dict | |
| This file remaps the key bindings of a single user on Mac OS X 10.5 to more | |
| closely match default behavior on Windows systems. This makes the Command key | |
| behave like Windows Control key. To use Control instead of Command, either swap | |
| Control and Command in Apple->System Preferences->Keyboard->Modifier Keys... | |
| or replace @ with ^ in this file. | |
| Here is a rough cheatsheet for syntax. | |
| Key Modifiers |
| osascript -e 'tell application "iOS Simulator" to quit' | |
| osascript -e 'tell application "Simulator" to quit' | |
| xcrun simctl erase all |
| #import <UIKit/UIKit.h> | |
| @interface NumberPadDoneBtn : UIView | |
| @end | |
| @interface NumberPadButton : UIButton | |
| @end |
| " Don't try to be vi compatible | |
| set nocompatible | |
| " Helps force plugins to load correctly when it is turned back on below | |
| filetype off | |
| " TODO: Load plugins here (pathogen or vundle) | |
| " Turn on syntax highlighting | |
| syntax on |