One file for each domain, both www.example.com and example.com need separate files:
{
"applinks": {
"apps": [],
"details": {
"9JA89QQLNQ.com.apple.wwdc": {| @IBAction func viewDragged(sender: UIPanGestureRecognizer) { | |
| let yTranslation = sender.translationInView(view).y | |
| if (hasExceededVerticalLimit(topViewConstraint.constant)){ | |
| totalTranslation += yTranslation | |
| topViewConstraint.constant = logConstraintValueForYPoisition(totalTranslation) | |
| if(sender.state == UIGestureRecognizerState.Ended ){ | |
| animateViewBackToLimit() | |
| } | |
| } else { | |
| topViewConstraint.constant += yTranslation |
| import CoreData | |
| protocol Fetchable | |
| { | |
| typealias FetchableType: NSManagedObject | |
| static func entityName() -> String | |
| static func objectsInContext(context: NSManagedObjectContext, predicate: NSPredicate?, sortedBy: String?, ascending: Bool) throws -> [FetchableType] | |
| static func singleObjectInContext(context: NSManagedObjectContext, predicate: NSPredicate?, sortedBy: String?, ascending: Bool) throws -> FetchableType? | |
| static func objectCountInContext(context: NSManagedObjectContext, predicate: NSPredicate?) -> Int |
One file for each domain, both www.example.com and example.com need separate files:
{
"applinks": {
"apps": [],
"details": {
"9JA89QQLNQ.com.apple.wwdc": {| func combineDateWithTime(date: NSDate, time: NSDate) -> NSDate? { | |
| let calendar = NSCalendar.currentCalendar() | |
| let dateComponents = calendar.components([.Year, .Month, .Day], fromDate: date) | |
| let timeComponents = calendar.components([.Hour, .Minute, .Second], fromDate: time) | |
| let mergedComponments = NSDateComponents() | |
| mergedComponments.year = dateComponents.year | |
| mergedComponments.month = dateComponents.month | |
| mergedComponments.day = dateComponents.day |
| using UnityEngine; | |
| using System.Collections; | |
| using UnityEngine.VR; // you always need this to use special VR functions | |
| public class VRUtility : MonoBehaviour { | |
| // Use this for initialization | |
| public void Start () { | |
| // set render quality to 50%, sacrificing visual quality for higher FPS |
| @IBDesignable | |
| class UIPaddedLabel:UILabel { | |
| @IBInspectable var topPadding:CGFloat = 0 { | |
| didSet { | |
| updatePadding() | |
| } | |
| } | |
| @IBInspectable var leftPadding:CGFloat = 0 { | |
| didSet { |
| import RxSwift | |
| import Action | |
| enum SceneStateOutput { | |
| case idle | |
| case sendingNoRecipient | |
| case sendingSomeRecipients(sendingList: [String: String]) | |
| case sending | |
| } |
| import UIKit | |
| import RxSwift | |
| import RxCocoa | |
| final class SceneCoordinator: SceneCoordinatorType { | |
| fileprivate var window: UIWindow | |
| var currentViewController: UIViewController | |
| required init(window: UIWindow) { |
| /// Every view interacting with a `SayHelloViewModel` instance can conform to this. | |
| protocol SayHelloViewModelBindable { | |
| var disposeBag: DisposeBag? { get } | |
| func bind(to viewModel: SayHelloViewModel) | |
| } | |
| /// TableViewCells | |
| final class TextFieldCell: UITableViewCell, SayHelloViewModelBindable { | |
| @IBOutlet weak var nameTextField: UITextField! | |
| var disposeBag: DisposeBag? |
| import FirebaseFirestore | |
| private struct Property { | |
| let label: String | |
| let value: Any | |
| } | |
| struct FirestoreModelData { | |
| let snapshot: DocumentSnapshot |